aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2000-03-13 16:44:58 +0000
committerEric S. Raymond <esr@thyrsus.com>2000-03-13 16:44:58 +0000
commit074d0f372bb1300e135a4884c500ae719b8706d7 (patch)
treec59fe67815459d891b47a62da973abf6bcb2b96e
parent788d69daa64652cd382aa58a2c8ac3cbdea9b6b1 (diff)
downloadfetchmail-074d0f372bb1300e135a4884c500ae719b8706d7.tar.gz
fetchmail-074d0f372bb1300e135a4884c500ae719b8706d7.tar.bz2
fetchmail-074d0f372bb1300e135a4884c500ae719b8706d7.zip
Make IMAP preauth work.
svn path=/trunk/; revision=2816
-rw-r--r--NEWS2
-rw-r--r--fetchmail-FAQ.html10
-rw-r--r--imap.c1
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
+ <boquist@crt.se>.
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 @@
<table width="100%" cellpadding=0><tr>
<td width="30%">Back to <a href="index.html">Fetchmail Home Page</a>
<td width="30%" align=center>To <a href="/~esr/sitemap.html">Site Map</a>
-<td width="30%" align=right>$Date: 2000/03/11 00:59:57 $
+<td width="30%" align=right>$Date: 2000/03/13 16:44:57 $
</table>
<HR>
<H1>Frequently Asked Questions About Fetchmail</H1>
@@ -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.<p>
+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.<p>
+
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.<p>
<table width="100%" cellpadding=0><tr>
<td width="30%">Back to <a href="index.html">Fetchmail Home Page</a>
<td width="30%" align=center>To <a href="/~esr/sitemap.html">Site Map</a>
-<td width="30%" align=right>$Date: 2000/03/11 00:59:57 $
+<td width="30%" align=right>$Date: 2000/03/13 16:44:57 $
</table>
<P><ADDRESS>Eric S. Raymond <A HREF="mailto:esr@thyrsus.com">&lt;esr@snark.thyrsus.com&gt;</A></ADDRESS>
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 */