Confused about Queues

Julian Field mailscanner at ecs.soton.ac.uk
Fri Dec 20 15:58:48 GMT 2002


As far as I can remember, your clientmqueue is configured by submit.cf. If
you invoke the sendmail binary directly, it writes it into the clientmqueue
and then immediately attempts to send it to mqueue.in, where it is scanned
and moved to mqueue.

You may have a 3rd sendmail process running as a regular "Queue runner" for
the clientmqueue-->mqueue.in movement. Though as long as your mqueue.in is
accepting messages this extra process won't actually do anything for you.

At 15:54 20/12/2002, you wrote:
>As requested:
>
>ps -elf |grep ail
>140 S root      1645     1  0  69   0    -  1240 do_sel Dec17
>?        00:00:00 sendmail: accepting
>connections
>040 S root      1650     1  0  69   0    -  1217 pause  Dec17
>?        00:00:00 sendmail: Queue runner at 00:15:00 for /var/spool/mqueue
>040 S root      1659     1  0  69   0    -  3740 wait4  Dec17
>?        00:00:00 /usr/bin/perl -I/usr/lib/MailScanner
>/usr/sbin/MailScanner /etc/MailScanner/Mail
>040 S root      1662  1659  0  69   0    -  3764 nanosl Dec17
>?        00:00:01 /usr/bin/perl -I/usr/lib/MailScanner
>/usr/sbin/MailScanner /etc/MailScanner/Mail
>000 S root      7508  7362  0  70   0    -   911 pipe_w 08:35
>pts/2    00:00:00 grep ail
>#
>
>grep mqueue /etc/mail/sendmail.cf
>O QueueDirectory=/var/spool/mqueue
>#O ControlSocketName=/var/spool/mqueue/.control
>#
>
>grep X-Mail /var/spool/clientmqueue/qf*
>#
>returns nothing. From this, am I to assume that the mail is not being scanned?
>
>
>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:KevinS at BMRB.CO.UK]
> > Sent: 2002 December 20 8:30 AM
> > To: MAILSCANNER at JISCMAIL.AC.UK
> > Subject: Re: Confused about Queues
> >
> >
> > > ps -e -l |grep ail
> > > 140 S     0  1645     1  0  69   0    -  1240 do_sel ?
> > > 00:00:00 sendmail
> > > 040 S     0  1650     1  0  69   0    -  1217 pause  ?
> > > 00:00:00 sendmail
> > > 040 S     0  1659     1  0  69   0    -  3740 wait4  ?
> > > 00:00:00 MailScann
> > > 040 S     0  1662  1659  0  69   0    -  3764 nanosl ?
> > > 00:00:01 MailScann
> > >
> > > Does this shead any light?
> > Not really - you've got the right number of sendmails, can
> > you post the following
> >
> > ps -elf | grep sendmail   [so we can see the arguments too]
> >
> > Whether the mail in the clientmqueue has been scanned (look
> > for X-MailScanner in the qf files)
> >
> > grep mqueue /etc/mail/sendmail.cf   [or wherever your sendmail.cf is]
> >

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



More information about the MailScanner mailing list