diff options
-rw-r--r-- | configure.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.in b/configure.in index c69d4d76..d8544126 100644 --- a/configure.in +++ b/configure.in @@ -206,6 +206,15 @@ done AC_MSG_RESULT(root-mode pid file will go in $dir) AC_DEFINE_UNQUOTED(PID_DIR, "$dir") +# We may have a fallback MDA available in case the socket open to the +# local SMTP listener fails... +AC_PATH_PROG(procmail, procmail, "", $PATH:/usr/sbin) +if test "$procmail" +then + echo "Found procmail, will use it as a fallback MDA." + AC_DEFINE(FALLBACK_MDA, "$procmail -d %T") +fi + AC_CHECK_SIZEOF(short) AC_CHECK_SIZEOF(int) AC_CHECK_SIZEOF(long) |