From 074d0f372bb1300e135a4884c500ae719b8706d7 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 13 Mar 2000 16:44:58 +0000 Subject: [PATCH] Make IMAP preauth work. svn path=/trunk/; revision=2816 --- NEWS | 2 ++ fetchmail-FAQ.html | 10 ++++++++-- imap.c | 1 + 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index ea902dae..663e01df 100644 --- a/NEWS +++ b/NEWS @@ -4,6 +4,8 @@ * Fixed reporting of listener timeouts. * Configure now supports SOCKS5, thanks to Alan Schmitt. +* Fix a minor bug in preauthenticated IMAP, thanks to Urban Boquist + . fetchmail-5.3.2 (Mon Mar 6 21:41:23 EST 2000), 18695 lines: diff --git a/fetchmail-FAQ.html b/fetchmail-FAQ.html index 0aa9c81f..c856386a 100644 --- a/fetchmail-FAQ.html +++ b/fetchmail-FAQ.html @@ -10,7 +10,7 @@
Back to Fetchmail Home Page To Site Map -$Date: 2000/03/11 00:59:57 $ +$Date: 2000/03/13 16:44:57 $

Frequently Asked Questions About Fetchmail

@@ -2498,6 +2498,12 @@ prone to mangle attachments. If you are running one of these, replacing your server with a Unix machine is probably the only effective solution.

+We've also had a report that Lotus Notes sometimes trashes the +MIME type of messages. In particular, it seems to modify MIME +headers introducing type application/pdf, mangling the type +to application/octet-stream. It may corrupt other MIME types +as well.

+ Rob Funk explains: Unfortunately there also remain many mail user agents that don't write correct MIME messages. One big offender is Sun MailTool attachments, which are formatted enough like MIME that some @@ -2741,7 +2747,7 @@ terminate it.

Back to Fetchmail Home Page To Site Map -$Date: 2000/03/11 00:59:57 $ +$Date: 2000/03/13 16:44:57 $

Eric S. Raymond <esr@snark.thyrsus.com>
diff --git a/imap.c b/imap.c index 948807d2..c9df435e 100644 --- a/imap.c +++ b/imap.c @@ -873,6 +873,7 @@ int imap_getauth(int sock, struct query *ctl, char *greeting) /* probe to see if we're running IMAP4 and can use RFC822.PEEK */ capabilities[0] = '\0'; + preauth = FALSE; if ((ok = gen_transact(sock, "CAPABILITY")) == PS_SUCCESS) { /* UW-IMAP server 10.173 notifies in all caps */ -- 2.43.2