diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2002-06-07 16:00:51 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2002-06-07 16:00:51 +0000 |
commit | c105f00c2fa8dc70c598b215c39e6467690a4cbe (patch) | |
tree | 954fb02310b7b8740fc25d75b2bd4920798b492b /configure.in | |
parent | 1555960c55f61a23586fe31db9ce1ea1b96fdb10 (diff) | |
download | fetchmail-c105f00c2fa8dc70c598b215c39e6467690a4cbe.tar.gz fetchmail-c105f00c2fa8dc70c598b215c39e6467690a4cbe.tar.bz2 fetchmail-c105f00c2fa8dc70c598b215c39e6467690a4cbe.zip |
Turn off fallback by default.
svn path=/trunk/; revision=3640
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 31 |
1 files changed, 27 insertions, 4 deletions
diff --git a/configure.in b/configure.in index 05a37097..37f5eb00 100644 --- a/configure.in +++ b/configure.in @@ -221,10 +221,33 @@ AC_DEFINE_UNQUOTED(PID_DIR, "$dir") # # Note2: it would be a very bad idea to use any MDA that doesn't return # a refuse-to-deliver status on disk- or process-table-full -# conditions; mail could get lost that way. Both procmail and -# sendmail (and all of the MDAs like exim that might be lurking under -# a sendmail alias) do the right thing in this circumstance. +# conditions; mail could get lost that way. Sendmail and all of the MDAs +# like exim that might be lurking under a sendmail alias) do the right +# thing in this circumstance. Matthias Andree warns that procmail does +# not. # +# Note3: Defalt value of fallback is now off. Matthias writes: +# +# 1. there is no way to predict when the fallback is used. With some MTAs +# (such as those limiting load average), outer circumstances can cause +# the fallback to kick in. +# +# 2. the fallback changes fetchmail behaviour in unpredictable ways. It's +# not only about alias expansion, .forwards to special filters won't +# work, mail may end up in a different place (users claim "mail loss" +# for that). +# +# 3. The claim procmail did the right thing with its exit codes is plain +# wrong. I've seen procmail exit with code 1 when it should have exited +# with code 75, like, configuration errors. Procmail is a dangerous +# beast and is best replaced by maildrop. +# +# 4. if multiple choices exist (like procmail and maildrop), fetchmail +# cannot tell which one it should choose. Say, your MTA is configured +# to use maildrop to deliver to user's mailboxes, if fetchmail then +# chooses procmail, this is plain wrong. +# + AC_PATH_PROG(procmail, procmail, "", $PATH:/usr/sbin) AC_PATH_PROG(sendmail, sendmail, "", $PATH:/usr/sbin:/usr/lib) AC_PATH_PROG(maildrop, maildrop, "", $PATH:/usr/local/bin) @@ -236,7 +259,7 @@ AC_ARG_ENABLE(fallback, [ --enable-fallback=procmail enable procmail as fallback (default) --enable-fallback=sendmail enable /usr/sbin/sendmail as fallback --enable-fallback=maildrop enable maildrop as fallback - --enable-fallback=no disable fallback],,[enable_fallback=auto]) + --enable-fallback=no disable fallback],,[enable_fallback=no]) case "$enable_fallback" in sendmail) if test -z "$sendmail" ; then |