From 06093ccd700f061429f6c5f5118ae36a14b40f7d Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 26 Apr 2001 03:24:47 +0000 Subject: Now let's try to resolve the authentication problem. svn path=/trunk/; revision=3297 --- NEWS | 5 +++-- fetchmail-FAQ.html | 15 ++++++++++++--- fetchmail.c | 6 ++++-- 3 files changed, 19 insertions(+), 7 deletions(-) diff --git a/NEWS b/NEWS index 15c436d4..fdf63a75 100644 --- a/NEWS +++ b/NEWS @@ -2,16 +2,17 @@ (The `lines' figures total .c, .h, .l, and .y files under version control.) -* HH's patch fixing Debian bug #90966. +* HH's patches fixing Debian bug #90966 and addressing Debian bug #92554. * GSSAPI portability patch by Peter Fales. * Updated cs.po by Jiri Pavlovsky. * Michael Kjorling's patch to add server ID to authantication success/failure bugmail. * Kerberos build patch by HH. +* Don't cough and die from failure to resolve a skipped host. fetchmail-5.8.1 (Tue Apr 10 09:32:04 EDT 2001), 20511 lines: -* Nalin Dahyabai's password parse and authentication fixe. +* Nalin Dahyabai's password parse and authentication fixes. * Vitezslav Samel's patch to Makefile.in to make parallel makes work. There are 314 people on fetchmail-friends and 569 on fetchmail-announce. diff --git a/fetchmail-FAQ.html b/fetchmail-FAQ.html index 612bb6d0..b086e59f 100644 --- a/fetchmail-FAQ.html +++ b/fetchmail-FAQ.html @@ -10,7 +10,7 @@
Back to Fetchmail Home Page To Site Map -$Date: 2001/04/10 12:45:53 $ +$Date: 2001/04/26 03:24:46 $

Frequently Asked Questions About Fetchmail

@@ -1340,7 +1340,16 @@ for details. The solution is to upgrade your fetchmail.

S2. How can I use fetchmail with Microsoft Exchange?

-Fetchmail now supports the proprietary NTLM mode used with M$ Exchange +

It's been reliably reported that Exchange 2000's POP3 support is so +broken that it's unusable. One symptom is that messages without +a terminating newline get the POP3 message termination dot emitted -- +you guessed it -- right after the last character of the message, with +no terminating newline added. This will hang fetchmail or any other +RFC-compliant server. IMAP is alleged to work OK, though. + +

Older versions of Exchange are semi-usable. + +

Fetchmail supports the proprietary NTLM mode used with M$ Exchange servers. To enable this, configure fetchmail with the --enable-NTLM option and recompile it. Note: if you specify a user option value that looks like `user@domain', the part to the left of the @ will @@ -2941,7 +2950,7 @@ switching to IMAP and using a short expunge interval.
Back to Fetchmail Home Page To Site Map -$Date: 2001/04/10 12:45:53 $ +$Date: 2001/04/26 03:24:46 $

Eric S. Raymond <esr@snark.thyrsus.com>
diff --git a/fetchmail.c b/fetchmail.c index a62103d1..cbddf07b 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -1078,7 +1078,9 @@ static int load_params(int argc, char **argv, int optind) * We're going to assume the via name is true unless it's * localhost. */ - if (ctl->server.via && strcmp(ctl->server.via, "localhost")) + if ((ctl->server.via) && + (!(ctl->localnames && ctl->localnames->next) || + strcmp(ctl->server.via, "localhost"))) ctl->server.queryname = xstrdup(ctl->server.via); else ctl->server.queryname = xstrdup(ctl->server.pollname); @@ -1146,7 +1148,7 @@ static int load_params(int argc, char **argv, int optind) ctl->server.truename=xstrdup((char *)namerec->h_name); } #endif /* HAVE_GETHOSTBYNAME */ - else + else if (ctl->active) { #ifdef HAVE_GETHOSTBYNAME struct hostent *namerec; -- cgit v1.2.3