Confused about Queues

Julian Field mailscanner at ecs.soton.ac.uk
Fri Dec 20 18:10:44 GMT 2002


At 17:28 20/12/2002, you wrote:
> >From /etc/init.d/MailScanner :
>
>INQDIR=/var/spool/mqueue.in
>
>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
>         else
>             for i in virtusertable access domaintable mailertable ; do
>                 if [ -f /etc/mail/$i ] ; then
>                     makemap hash /etc/mail/$i < /etc/mail/$i
>                 fi
>             done
>         fi
>         /usr/sbin/sendmail -bd -ODeliveryMode=queueonly \
>         success
>         echo

There should be another like after the line with -bd in it. Ideally there
should be 2 more lines. The command should ideally read
         /usr/sbin/sendmail -bd -OPrivacyOptions=noetrn \
                 -ODeliverMode=queueonly \
                 -OQueueDirectory=$INQDIR

>}
>
>StartOutSendmail() {
>         /usr/sbin/sendmail $([ -n "$QUEUETIME" ] && echo -q$QUEUETIME)
>         success
>
>Sorry, I am not sure what to look for in the /var/log/maillog file.
>
>
>
>Steve Dawes
>PH:  (403) 268-5527.
>Mailto:  sdawes at calgary.ca
>
>
>
>NOTICE::
>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
> > To: MAILSCANNER at JISCMAIL.AC.UK
> > Subject: Re: Confused about Queues
> >
> >
> > > According to /etc/MailScanner/MailScanner.conf
> > > Incoming Queue Dir = /var/spool/mqueue.in
> > > 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.
> >

--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list