diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-11-28 03:57:21 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-11-28 03:57:21 +0000 |
commit | d78109501b6b323f7ee848cd1357cae83fa06ca3 (patch) | |
tree | 4f416a2eac68f612a966a2b02c6d982075862571 /pop3.c | |
parent | b15b8a36340456a6c75fa07cb4233b06f3f0fe75 (diff) | |
download | fetchmail-d78109501b6b323f7ee848cd1357cae83fa06ca3.tar.gz fetchmail-d78109501b6b323f7ee848cd1357cae83fa06ca3.tar.bz2 fetchmail-d78109501b6b323f7ee848cd1357cae83fa06ca3.zip |
Sent this to Gunther Leber.
svn path=/trunk/; revision=1541
Diffstat (limited to 'pop3.c')
-rw-r--r-- | pop3.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -107,10 +107,13 @@ int pop3_getauth(int sock, struct query *ctl, char *greeting) #ifdef RPA_ENABLE /* * CompuServe has changed its RPA behavior. Used to be they didn't - * accept USER, but I'm told this changed in mid-November. + * accept PASS, but I'm told this changed in mid-November. */ if (strstr(greeting, "csi.com")) { + /* temporary fix to get back out of cleartext authentication */ + gen_transact(sock, "PASS %s", "dummypass"); + /* AUTH command should return a list of available mechanisms */ if (gen_transact(sock, "AUTH") == 0) { @@ -128,6 +131,8 @@ int pop3_getauth(int sock, struct query *ctl, char *greeting) ctl->password, sock)) return(PS_SUCCESS); } + + return(PS_AUTHFAIL); } #endif /* RPA_ENABLE */ |