aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
Diffstat (limited to 'pop3.c')
-rw-r--r--pop3.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pop3.c b/pop3.c
index f13386d8..4ad5bdf2 100644
--- a/pop3.c
+++ b/pop3.c
@@ -119,7 +119,9 @@ int pop3_getauth(int sock, struct query *ctl, char *greeting)
* CompuServe has changed its RPA behavior. Used to be they didn't
* accept PASS, but I'm told this changed in mid-November 1997.
*/
- if (strstr(greeting, "csi.com"))
+ if (strstr(greeting, "csi.com")
+ && (start = strchr(ctl->remotename, '@'))
+ && !strcmp("@compuserve.com", start))
{
/* temporary fix to get back out of cleartext authentication */
gen_transact(sock, "PASS %s", "dummypass");