diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2002-03-09 12:22:44 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2002-03-09 12:22:44 +0000 |
commit | 629050dcc6ba98ca711132a9eda0da8d370888d1 (patch) | |
tree | 237ec11d7d9a0e508faf165fc9004b65e646e086 | |
parent | 3c221afeb309143eb07b52db4cadf7bf8f8c8936 (diff) | |
download | fetchmail-629050dcc6ba98ca711132a9eda0da8d370888d1.tar.gz fetchmail-629050dcc6ba98ca711132a9eda0da8d370888d1.tar.bz2 fetchmail-629050dcc6ba98ca711132a9eda0da8d370888d1.zip |
Fallback to maildrop enabled.
svn path=/trunk/; revision=3588
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | configure.in | 9 |
2 files changed, 11 insertions, 0 deletions
@@ -7,6 +7,8 @@ * Matt Kraai's patch for supporting STLS over POP3. * French translation updated. * Debian fixes merged. +* Added maildrop (MDA shipped with courier) as fallback after procmail + and sendmail (thanks to Alexander Lazic <al-fetchmail@none.at>). fetchmail-5.9.8 (Thu Feb 14 23:47:31 EST 2002), 21358 lines: diff --git a/configure.in b/configure.in index ced05eef..3b4d11dc 100644 --- a/configure.in +++ b/configure.in @@ -228,6 +228,7 @@ AC_DEFINE_UNQUOTED(PID_DIR, "$dir") # 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) ### use option --disable-fallback to disable fallback MDA ### use option --enable-fallback=procmail or @@ -235,6 +236,7 @@ AC_PATH_PROG(sendmail, sendmail, "", $PATH:/usr/sbin:/usr/lib) 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]) case "$enable_fallback" in @@ -252,6 +254,13 @@ case "$enable_fallback" in AC_DEFINE_UNQUOTED(FALLBACK_MDA, "$procmail -d %T") echo "Will use $procmail as fallback MDA." ;; + maildrop) if test -z "$maildrop" ; then + AC_ERROR([maildrop selected as fallback, but not found]) + #not reached + fi + AC_DEFINE_UNQUOTED(FALLBACK_MDA, "$maildrop -d %T") + echo "Will use $maildrop as fallback MDA." + ;; no|unset) echo "Will not use a fallback MDA" ;; auto|yes|set) if test -n "$procmail" ; then |