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 wrap: on
line diff
--- a/src/pop3_in.c	Thu Jul 15 00:33:09 2010 +0200
+++ b/src/pop3_in.c	Thu Jul 15 10:33:53 2010 +0200
@@ -780,28 +780,4 @@
 	return ok;
 }
 
-/* function just to log into a pop server,
-   for pop_before_smtp (or is it smtp_after_pop?)
-*/
-
-gboolean
-pop3_login(gchar * host, gint port, GList * resolve_list, gchar * user, gchar * pass, guint flags)
-{
-	gboolean ok = FALSE;
-	pop3_base *popb;
-
-	signal(SIGCHLD, SIG_IGN);
-
-	if ((popb = pop3_in_open(host, port, resolve_list, flags))) {
-		if (pop3_in_init(popb)) {
-			if (pop3_in_login(popb, user, pass))
-				ok = TRUE;
-			else
-				logwrite(LOG_ALERT | LOG_VERBOSE, "pop3 login failed for user %s, host = %s\n", user, host);
-		}
-		pop3_in_close(popb);
-	}
-	return ok;
-}
-
 #endif