From 91cb14ea0d7b341982fa9644fa296369e0d70bf4 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" <esr@thyrsus.com> Date: Wed, 14 Feb 2001 17:23:42 +0000 Subject: Don't issue AUTH between USER and PASS, some servers choke on this. svn path=/trunk/; revision=3096 --- pop3.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pop3.c b/pop3.c index cab714cb..0b23e8cf 100644 --- a/pop3.c +++ b/pop3.c @@ -169,9 +169,7 @@ int pop3_getauth(int sock, struct query *ctl, char *greeting) return(PS_AUTHFAIL); } - else /* not a CompuServe account */ #endif /* RPA_ENABLE */ - ok = gen_transact(sock, "USER %s", ctl->remotename); #if OPIE_ENABLE /* see RFC1938: A One-Time Password System */ @@ -261,6 +259,7 @@ int pop3_getauth(int sock, struct query *ctl, char *greeting) } /* ordinary validation, no one-time password or RPA */ + gen_transact(sock, "USER %s", ctl->remotename); ok = gen_transact(sock, "PASS %s", ctl->password); break; -- cgit v1.2.3