aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-06-30 16:05:55 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-06-30 16:05:55 +0000
commit493bdbd8dbfb82f9689984498abc0ccb72e3baba (patch)
tree22d847fe1afbb7a38663731581c3c14570a7a722 /pop3.c
parent528319ee63f91b4e1e282850c888a9fff2e394e4 (diff)
downloadfetchmail-493bdbd8dbfb82f9689984498abc0ccb72e3baba.tar.gz
fetchmail-493bdbd8dbfb82f9689984498abc0ccb72e3baba.tar.bz2
fetchmail-493bdbd8dbfb82f9689984498abc0ccb72e3baba.zip
Enable CompuServe users to suppress RPA.
svn path=/trunk/; revision=1952
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");