New Server, same old problem

Alden Levy alden at
Mon Mar 2 03:00:05 GMT 2009

Alex Neuman alex at 
Mon Mar 2 01:16:26 GMT 2009 

>You probably didn't remove the "listen only on localhost" line common to
>most CentOS/RedHat systems. You probably don't remember doing it on the old
>system. Look for:
>dnl # The following causes sendmail to only listen on the IPv4 loopback
>dnl # and not on any other network devices. Remove the loopback
>dnl # address restriction to accept email from the internet or intranet.
>dnl #
>DAEMON_OPTIONS(`Port=smtp, Addr=, Name=MTA')dnl
>Remove "Addr=, " from that line and sendmail should listen on all

AUTH seems to be set up correctly, as I can run sendmail without MailScanner
and I can send and receive.  

I don't have this option, and sendmail does work.  

Is it possible that:
A) My MailScanner_app_init is wrong?  I believe this happened to me once
B) MS is picking up a different or doing something to it that it
doesn't "like"?  I'd be surprised, but I'm kind of grasping at straws if the
above isn't an issue.

The relevant (to me!) sections of MailScanner are:
 from StartinSendmail:
     elif [ $MTA = 'sendmail' ]; then
        /usr/bin/newaliases > /dev/null 2>&1
        if test -x /usr/bin/make -a -f /etc/mail/Makefile ; then
            make -C /etc/mail -s
            for i in virtusertable access domaintable mailertable ; do
                if [ -f /etc/mail/$i ] ; then
                    makemap hash /etc/mail/$i < /etc/mail/$i
        $SENDMAIL -bd -OPrivacyOptions=noetrn \
                      -ODeliveryMode=queueonly \
                      -OQueueDirectory=$INQDIR \
        touch /var/run/
        chown $MSPUSER:$MSPGROUP /var/run/ 2>/dev/null
        $SENDMAIL -L sm-msp-queue -Ac -q15m -OPidFile=$SMPID 2>/dev/null

>From StartOutSendmail:
      elif [ $MTA = 'sendmail' ]; then
        $SENDMAIL $([ -n "$QUEUETIME" ] && echo -q$QUEUETIME) \

The only other thing I've changed from my old servers is that I know use
clamd instead of clamav.  Is it possible this is all due to a permissions
issue? Or, perhaps my  MS.conf settings are off?


More information about the MailScanner mailing list