configure: sendmail search path

James Ralston qralston+ml.inn-workers at
Thu Mar 1 22:55:26 UTC 2001


The FHS dictates that a default system sendmail binary should be
located in /usr/sbin, not /usr/lib, and an optional symbolic link
should be made from /usr/lib/sendmail to /usr/sbin/sendmail for
backwards compatibility.

For that reason, I suggest switching the order of directories in which
configure looks for a sendmail binary to put /usr/sbin before
/usr/lib; if a sendmail binary exists in both, then /usr/sbin is
probably the correct path to use (and therefore to suggest)...

James Ralston, Information Technology
Software Engineering Institute
Carnegie Mellon University, Pittsburgh, PA, USA

-- Attached file included as plaintext by Listar --
-- File: inn-CURRENT-20010228-sendmail-search-path.patch

--- inn-CURRENT-20010228/	Wed Feb 28 05:00:03 2001
+++ inn-CURRENT-20010228/	Thu Mar  1 17:52:44 2001
@@ -586,7 +586,7 @@
         echo 'No sendmail in path.  Looking in likely places....'
         echo ''
         AC_PATH_PROG(SENDMAIL, sendmail, ,
-            $PATH:/usr/lib:/usr/sbin:/usr/ucblib)
+            $PATH:/usr/sbin:/usr/lib:/usr/ucblib)
         echo ''
         if test -n "$SENDMAIL" ; then
             echo "sendmail was found at $SENDMAIL.  If this is correct, re-run"

More information about the inn-workers mailing list