3 messages in net.sourceforge.lists.courier-maildrop[maildropl] Critical bug: configure p...
FromSent OnAttachments
Matthias AndreeJan 29, 2003 6:55 am 
Sam VarshavchikJan 29, 2003 3:06 pm 
Matthias AndreeJan 30, 2003 2:21 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] Critical bug: configure prefers /var/qmail/bin/sendmailActions...
From:Matthias Andree (ma@dt.e-technik.uni-dortmund.de)
Date:Jan 29, 2003 6:55:41 am
List:net.sourceforge.lists.courier-maildrop

Hi,

I found out the hard way (mail forwarded by maildrop bounced) that maildrop's configure script assumes that qmail's /var/qmail/bin/sendmail should be used instead of /usr/sbin/sendmail if "test -x /var/qmail/bin/sendmail" yields true.

This assumption is bogus and brain-dead and may cause mail-loss on 1. systems that replaced qmail but did not deinstall the old qmail software, or 2. on systems that use some other MTA and use qmail only for purposes of qmail-local, for example to drive ezmlm or ezmlm-idx.

The qmail INSTALL procedure has the administrator symlink /var/qmail/bin/sendmail to /usr/sbin or /usr/lib, so checking these locations is sufficient for qmail -- no need for special treatment for an unmaintained MTA:

"15. Make qmail's ``sendmail'' wrapper available to MUAs: # ln -s /var/qmail/bin/sendmail /usr/lib/sendmail # ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail /usr/sbin might not exist on your system." (qmail-1.03/INSTALL)

Please remove that bogus test for /var/qmail/bin/sendmail and release 1.5.3 ASAP.

Suggested patch against maildrop-1.5.2:

--- ./maildrop/configure.in.orig 2003-01-29 15:30:55.000000000 +0100 +++ ./maildrop/configure.in 2003-01-29 15:40:14.000000000 +0100 @@ -336,7 +336,7 @@ else maildrop_cv_SYS_MTA="/bin/sendmail -oi"

- for f in /var/qmail/bin/sendmail /usr/bin/sendmail /usr/sbin/sendmail
/lib/sendmail /usr/lib/sendmail /etc/sendmail /sbin/sendmail + for f in /usr/bin/sendmail /usr/sbin/sendmail /lib/sendmail /usr/lib/sendmail
/etc/sendmail /sbin/sendmail do if test -x $f then