Confused about Queues

Dawes, Stephen Stephen.Dawes at GOV.CALGARY.AB.CA
Fri Dec 20 17:28:18 GMT 2002

>From /etc/init.d/MailScanner :


StartInSendmail() {
        /usr/bin/newaliases > /dev/null 2>&1
        if test -x /usr/bin/make -a -f /etc/mail/Makefile ; then
            make -C /etc/mail -q
            for i in virtusertable access domaintable mailertable ; do
                if [ -f /etc/mail/$i ] ; then
                    makemap hash /etc/mail/$i < /etc/mail/$i
        /usr/sbin/sendmail -bd -ODeliveryMode=queueonly \

StartOutSendmail() {
        /usr/sbin/sendmail $([ -n "$QUEUETIME" ] && echo -q$QUEUETIME)

Sorry, I am not sure what to look for in the /var/log/maillog file.

Steve Dawes
PH:  (403) 268-5527. 
Mailto:  sdawes at 

This communication is intended ONLY for the use of the person or entity named above and may contain information that is confidential or legally privileged. If you are not the intended recipient named above or a person responsible for delivering messages or communications to the intended recipient, YOU ARE HEREBY NOTIFIED that any use, distribution, or copying of this communication or any of the information contained in it is strictly prohibited. If you have received this communication in error, please notify us immediately by telephone and then destroy or delete this communication, or return it to us by mail if requested by us. The City of Calgary thanks you for your attention and cooperation.

> -----Original Message-----
> From: Spicer, Kevin [mailto:Kevin.Spicer at BMRB.CO.UK]
> Sent: 2002 December 20 9:57 AM
> Subject: Re: Confused about Queues
> > According to /etc/MailScanner/MailScanner.conf
> > Incoming Queue Dir = /var/spool/
> > Outgoing Queue Dir = /var/spool/mqueue
> > 
> > So, does this mean that MailScanner is some how not picking 
> > up these settings?
> No - MailScanner is probably fine, those are the correct 
> settings.  It looks like some sendmail weirdness, check what 
> queue the incoming sendmail points to in 
> /etc/init.d/MailScanner  (also make sure the sendmail process 
> doesn't have a -Ac flag on the command line).  Check the 
> message headers to see if they are getting into clientmqueue 
> from the incoming sendmail.  Check the mail logs to see if 
> theres any clues there.

More information about the MailScanner mailing list