diff options
-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 |