From 493bdbd8dbfb82f9689984498abc0ccb72e3baba Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 30 Jun 1998 16:05:55 +0000 Subject: Enable CompuServe users to suppress RPA. svn path=/trunk/; revision=1952 --- NEWS | 4 ++++ fetchmail-FAQ.html | 7 ++++--- pop3.c | 4 +++- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index 9b144619..6052f24f 100644 --- a/NEWS +++ b/NEWS @@ -12,8 +12,12 @@ fetchmail-4.5.1 (): * Checkalias option from Enrico Musio . * Discard Unix From_ lines in headers (copes with Debian bug report #23808. * Tell fetchmailconf not to care if the attempt to create an icon window fails. +* All fetchmailconf windows now iconify with an image. * obituary@freshmeat's enhancements to hook fetchmail into the Red Hat control panel. +* Even if RPA is enabled, it won't be done unless your remotename ends in + `@compuserve.com' as CompuServe requires. Thus CompuServe users may now + choose ordinary authentication at runtime. fetchmail-4.5.0bis (Sat Jun 20 10:55:52 EDT 1998): diff --git a/fetchmail-FAQ.html b/fetchmail-FAQ.html index 9d487487..3aa4da76 100644 --- a/fetchmail-FAQ.html +++ b/fetchmail-FAQ.html @@ -10,7 +10,7 @@
Back to Fetchmail Home Page To Site Map -$Date: 1998/06/05 18:43:20 $ +$Date: 1998/06/30 16:05:54 $

Frequently Asked Questions About Fetchmail

@@ -1168,7 +1168,8 @@ Give your CompuServe pass-phrase in lower case as your password. Add <UserID>@compuserve.com', where <UserID> can be either your numerical userID or your E-mail nickname. An RPA-enabled fetchmail will automatically check for csi.com in the POP server's -greeting line. If that's found, it will query the server to see if it +greeting line. If that's found, and your user ID ends with +`@compuserve.com', it will query the server to see if it is RPA-capable, and if so do an RPA transaction rather than a plain-text password handshake.

@@ -1954,7 +1955,7 @@ Re-ordering messages is a user-agent function, anyway.

Back to Fetchmail Home Page To Site Map -$Date: 1998/06/05 18:43:20 $ +$Date: 1998/06/30 16:05:54 $

Eric S. Raymond <esr@snark.thyrsus.com>
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"); -- cgit v1.2.3