From 2cbdef3efbe733325aea934ed3ffab9e9ba6175e Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 13 May 1997 15:36:42 +0000 Subject: Better exim caveats. svn path=/trunk/; revision=991 --- fetchmail-FAQ.html | 41 ++++++++++++++++++++++++++++++++--------- 1 file changed, 32 insertions(+), 9 deletions(-) diff --git a/fetchmail-FAQ.html b/fetchmail-FAQ.html index 6923ad05..bc61da64 100644 --- a/fetchmail-FAQ.html +++ b/fetchmail-FAQ.html @@ -9,8 +9,8 @@

Frequently Asked Questions About Fetchmail

-The current version of fetchmail is 3.9.3. New in the FAQ: T3 on using fetchmail with smail.

+The current version of fetchmail is 3.9.3. New in the FAQ: improved +version of T2 on using fetchmail with exim.

Before reporting any bug, please read G3 for advice on how to include diagnostic information that will get your bug fixed @@ -650,15 +650,38 @@ in the alias directory (normally /var/qmail/alias) with the contents:

Note this does require a modern /bin/sh.


-

T2. How can I use fetchmail with exim?

+

T2. How can I use fetchmail with exim?

-There is a switch somewhere in exim's configuration files that allows -it to accept domainless MAIL FROM addresses; you may have to flip that -if you're running a fetchmail version prior to 3.9.3. Otherwise -you're all set.

+By default, the exim listener enforces the the RFC1123 requirement +that MAIL FROM addresses you pass to it have to be canonical +(e.g. with a fully qualified hostname part).

+ +This is a potential problem if the MTAs upstream from your fetchmail +don't necessarily pass canonicalized From and Return-Path addresses, +and fetchmail's rewrite option is off. The specific case +where this has come up involves bounce messages generated by sendmail +on your mailer host, which have the (un-canonicalized) origin address +MAILER-DAEMON.

+ +The right way to fix this is to enable the rewrite option and +have fetchmail canonicalize From and Return-Path addresses with the +mailserver hostname before exim sees them.

+ +If you must run with rewrite off, there is a switch in exim's +configuration files that allows it to accept domainless MAIL FROM +addresses; you will have to flip it by putting the line

+ +

+        sender_unqualified_hosts = localhost
+
+ +in the main section of the exim configuration file. Note that this +will result in such messages having an incorrect domain name attached +to their return address (your SMTP listener's hostname rather than +that of the remote mail server).


-

T3. How can I use fetchmail with smail?

+

T3. How can I use fetchmail with smail?

Smail 3.2 is very nearly plug-compatible with sendmail, and will work fine out of the box.

@@ -961,7 +984,7 @@ without hacking potentially fragile startup scripts. To get around it, just touch(1) the logfile before you run fetchmail (this will have no effect on the contents of the logfile if it already exists).

-$Id: fetchmail-FAQ.html,v 1.13 1997/05/11 04:35:35 esr Exp $

+$Id: fetchmail-FAQ.html,v 1.14 1997/05/13 15:36:42 esr Exp $


Eric S. Raymond <esr@snark.thyrsus.com>
-- cgit v1.2.3