[plug] sendmail config oddities

James Devenish devenish at guild.uwa.edu.au
Thu May 15 16:21:04 WST 2003


In message <1052986052.1296.33.camel at vaio>
on Thu, May 15, 2003 at 04:07:32PM +0800, Ryan wrote:
> Notice the *_PARMS ones have nothing assigned?  Thus anything defined to
> them in /etc/mail/sendmail.conf is ignored until you edit them and make
> it read for example:
> 
> DAEMON_PARMS="$DAEMON_PARMS";

The file is just a bash script, so considering the following lines:
      29     DAEMON_PARMS='';
      ...
      62     # Pull in any user modified variables
      63     if [ -f /etc/mail/sendmail.conf ]; then
      64         . /etc/mail/sendmail.conf;
      65         fi;

Line 64 will allow the redefinition of DAEMON_PARMS (if /etc/mail/sendmail.conf
contains such an assignment) since it occurs later in the script than line 29.

> I was just setting up mailscanner/sendmail on a new box and had this
> problem of it ignoring PARMS lines in the sendmail.conf file - it was
> sendmail 8.12.6-7 on Debian.

Sounds odd.




More information about the plug mailing list