]> Pileus Git - ~andy/fetchmail/commitdiff
Make IMAP preauth work.
authorEric S. Raymond <esr@thyrsus.com>
Mon, 13 Mar 2000 16:44:58 +0000 (16:44 -0000)
committerEric S. Raymond <esr@thyrsus.com>
Mon, 13 Mar 2000 16:44:58 +0000 (16:44 -0000)
svn path=/trunk/; revision=2816

NEWS
fetchmail-FAQ.html
imap.c

diff --git a/NEWS b/NEWS
index ea902dae1423c46666cabdfc3d5f28383595e4bb..663e01df6185ec2e43d2a61ec5929b8565d594be 100644 (file)
--- 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:
 
index 0aa9c81f5a472eff7f5416b379919758598f9f42..c856386aa1a8f3a3b9eb41ddd5b536b4d89aad83 100644 (file)
@@ -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 948807d2998ed4bca042ca22d77c9a266fb3e27f..c9df435e2ddcadf323b9a5937c92491f0a43834d 100644 (file)
--- 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 */