From 629050dcc6ba98ca711132a9eda0da8d370888d1 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 9 Mar 2002 12:22:44 +0000 Subject: Fallback to maildrop enabled. svn path=/trunk/; revision=3588 --- NEWS | 2 ++ configure.in | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/NEWS b/NEWS index bf882dcf..157ae865 100644 --- a/NEWS +++ b/NEWS @@ -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 ). 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 -- cgit v1.2.3