aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-11-28 03:57:21 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-11-28 03:57:21 +0000
commitd78109501b6b323f7ee848cd1357cae83fa06ca3 (patch)
tree4f416a2eac68f612a966a2b02c6d982075862571 /pop3.c
parentb15b8a36340456a6c75fa07cb4233b06f3f0fe75 (diff)
downloadfetchmail-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.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/pop3.c b/pop3.c
index a8808836..152d86c3 100644
--- a/pop3.c
+++ b/pop3.c
@@ -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 */