diff options
-rw-r--r-- | INSTALL | 5 | ||||
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | driver.c | 5 | ||||
-rw-r--r-- | fetchmail-FAQ.html | 19 | ||||
-rw-r--r-- | pop3.c | 4 |
5 files changed, 25 insertions, 12 deletions
@@ -109,8 +109,9 @@ This software is known to work with the qpop/popper series of freeware POP3 servers; also with the IMAP2bis and IMAP4 servers that are distributed with Pine from the University of Washington; also with the Cyrus IMAP server from CMU. This covers all the servers normally -hosted on Linux and *BSD systems. Note that this software does *not* -work with Microsoft Exchange, because Microsoft Exchange is broken. +hosted on Linux and *BSD systems. It also works with Microsoft Exchange, +despiite the fact that Microsoft Exchange is extremely broken (returns +incorrect message lengths in LIST responses). 7. REPORTING BUGS @@ -12,6 +12,10 @@ Release Notes: ------------------------------------------------------------------------------ +fetchmail-4.2 () +* Driver code changed so delimited protocols don't rely on message lengths + being correct (this means #@!%^# brain-dead Microsoft Exchange will work). + fetchmail-4.1.8 (Thu Sep 11 16:20:15 EDT 1997) * Fix nasty single-char-adddress bug in multidrop mode. * Fixed cosmetic bug in ETRN mode -v output! @@ -435,6 +435,9 @@ static int smtp_open(struct query *ctl) } } + if (outlevel >= O_VERBOSE && ctl->smtp_socket != -1) + error(0, 0, "forwarding to SMTP port on %s", ctl->smtphost); + return(ctl->smtp_socket); } @@ -526,7 +529,7 @@ int num; /* index of message */ headers = received_for = NULL; from_offs = ctt_offs = env_offs = -1; oldlen = 0; - for (remaining = len; remaining > 0; remaining -= linelen) + for (remaining = len; remaining > 0 || protocol->delimited; remaining -= linelen) { char *line; diff --git a/fetchmail-FAQ.html b/fetchmail-FAQ.html index 80bbc680..21eaa089 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: 1997/09/11 20:17:57 $ +<td width="30%" align=right>$Date: 1997/09/14 19:28:00 $ </table> <HR> <H1>Frequently Asked Questions About Fetchmail</H1> @@ -56,7 +56,6 @@ when I may have multiple login sessions going?</a><br> <a href="#T2">T2. How can I use fetchmail with exim?</a><br> <a href="#T3">T3. How can I use fetchmail with smail?</a><br> <a href="#T4">T4. How can I use fetchmail with Lotus Notes?</a><br> -<a href="#T5">T5. How can I use fetchmail with Microsoft Exchange?</a><br> <h1>Runtime fatal errors:</h1> @@ -230,11 +229,11 @@ on the Web with a search for that title.<p> <h2><a name="G7">G7. What is the best server to use with fetchmail?</a></h2> Fetchmail will work with any POP, IMAP, or ESMTP/ETRN server that -conforms to the relevant RFCs (this excludes oughtright broken ones -like Microsoft Exchange, see <a href="#T5">T5</a>). This doesn't mean -it works equally well with all, however. POP2 servers, and POP3 -servers without LAST, limit fetchmail's capabilities in various ways -described on the manual page.<P> +conforms to the relevant RFCs (and even some oughtright broken ones +like Microsoft Exchange). This doesn't mean it works equally well +with all, however. POP2 servers, and POP3 servers without LAST, limit +fetchmail's capabilities in various ways described on the manual +page.<P> Most modern Unixes (and effectively all Linux/*BSD systems) come with POP3 support preconfigured. An increasing minority also feature IMAP @@ -824,7 +823,9 @@ to \r\n, but its rules are not intuitive. Use `forcecr'.<P> <hr> <h2><a name="T5">T5. How can I use fetchmail with Microsoft Exchange?</a></h2><p> -You can't. Microft exchange is broken. Guido Van Rooij explains:<P> +Fetchmail works with M$ Exchange, despite the latter's braindamage. +Guido Van Rooij explains a bug found by his colleague Arjan de Vet (we +reprintthis as a public service):<P> We're having problems using fetchmail to etch mail from an Exchange server with POP3. The bug is actually in the Exchange site however it seems possible @@ -1311,7 +1312,7 @@ are downloaded.<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: 1997/09/11 20:17:57 $ +<td width="30%" align=right>$Date: 1997/09/14 19:28:00 $ </table> <P><ADDRESS>Eric S. Raymond <A HREF="mailto:esr@thyrsus.com"><esr@snark.thyrsus.com></A></ADDRESS> @@ -430,6 +430,7 @@ static int pop3_fetch(int sock, struct query *ctl, int number, int *lenp) if ((ok = pop3_ok(sock, buf)) != 0) return(ok); +#ifdef __UNUSED__ /* * Look for "nnn octets" -- there may or may not be preceding cruft. * It's OK to punt and pass back -1 as a failure indication here, as @@ -443,6 +444,9 @@ static int pop3_fetch(int sock, struct query *ctl, int number, int *lenp) continue; *lenp = atoi(++cp); } +#endif /* __UNUSED__ */ + + *lenp = -1; /* POP3 is delimited, we don't care about lengths */ return(0); } |