masqmail
diff src/pop3_in.c @ 189:dc89737b27aa
removed the pop-before-smtp (smtp-after-pop) function
this kind of authentication is superseded by SMTP AUTH today
removing it is a step towards removing the POP stuff completely
If you still rely on pop-before-smtp, stay with 0.2.x
or run an arbitrary pop client before
author | meillo@marmaro.de |
---|---|
date | Thu, 15 Jul 2010 10:33:53 +0200 |
parents | 2685e59f6f43 |
children |
line diff
1.1 --- a/src/pop3_in.c Thu Jul 15 00:33:09 2010 +0200 1.2 +++ b/src/pop3_in.c Thu Jul 15 10:33:53 2010 +0200 1.3 @@ -780,28 +780,4 @@ 1.4 return ok; 1.5 } 1.6 1.7 -/* function just to log into a pop server, 1.8 - for pop_before_smtp (or is it smtp_after_pop?) 1.9 -*/ 1.10 - 1.11 -gboolean 1.12 -pop3_login(gchar * host, gint port, GList * resolve_list, gchar * user, gchar * pass, guint flags) 1.13 -{ 1.14 - gboolean ok = FALSE; 1.15 - pop3_base *popb; 1.16 - 1.17 - signal(SIGCHLD, SIG_IGN); 1.18 - 1.19 - if ((popb = pop3_in_open(host, port, resolve_list, flags))) { 1.20 - if (pop3_in_init(popb)) { 1.21 - if (pop3_in_login(popb, user, pass)) 1.22 - ok = TRUE; 1.23 - else 1.24 - logwrite(LOG_ALERT | LOG_VERBOSE, "pop3 login failed for user %s, host = %s\n", user, host); 1.25 - } 1.26 - pop3_in_close(popb); 1.27 - } 1.28 - return ok; 1.29 -} 1.30 - 1.31 #endif