Growing sendmail proccesses

Brady A. Tucker batucker at ICNET.NET
Tue Oct 7 06:48:20 IST 2003


I'm getting an additional queue runner on start and restart,  with
/var/spool/clientmqueue as the queue.   The only cf file that references
clientmqueue is the submit.cf -- this started a version or two ago...  now
running 4.24-5   <-- What have I broken   Where is MailScanner
starting/restarting with submit.cf if that's whats in fact causing this ?

MailScanner and everything else works perfectly,  but I can't seem to train
the other boys here to do a stop, killall sendmail, start.  It's PID file
does not exist in the

Redhat 9
MailScanner 4.24-5
SA 2.6
Sendmail 8.12.8, recompiled with SASL/AUTH support
Using separate sendmail_in.cf in /etc/init.d/MailScanner to split messages
to multiple recipients to singlers, included at very bottom.


Capture below Begins Directly after a fresh  /etc/init.d/Mailscanner stop,
killall sendmail,  /etc/init.d/MailScanner start :

[root at MailGW unit.d]# ps aSux | grep sendmail
root     12259  0.0  0.2  5964 2508 ?        S    00:21   0:00 sendmail:
accepting connections
smmsp    12264  0.0  0.2  5752 2260 ?        S    00:21   0:00 sendmail:
Queue runner at 00:15:00 for /var/spool/clientmqueue
root     12270  0.0  0.2  5856 2368 ?        S    00:21   0:00 sendmail:
Queue runner at 00:15:00 for /var/spool/mqueue
root     12373  0.0  0.0  3576  644 pts/0    S    00:25   0:00 grep sendmail
[root at MailGW init.d]# /etc/init.d/MailScanner restart
Shutting down MailScanner daemons:
         MailScanner:       [  OK  ]
         incoming sendmail: [  OK  ]
         outgoing sendmail: [  OK  ]
Starting MailScanner daemons:
         incoming sendmail: [  OK  ]
         outgoing sendmail: [  OK  ]
         MailScanner:       [  OK  ]
[root at MailGW init.d]# ps aSux | grep sendmail
smmsp    12264  0.0  0.2  5752 2260 ?        S    00:21   0:00 sendmail:
Queue runner at 00:15:00 for /var/spool/clientmqueue
root     12425  0.1  0.2  5968 2532 ?        S    00:26   0:00 sendmail:
accepting connections
smmsp    12430  0.0  0.2  5756 2264 ?        S    00:26   0:00 sendmail:
Queue runner at 00:15:00 for /var/spool/clientmqueue
root     12436  0.0  0.2  5860 2372 ?        S    00:26   0:00 sendmail:
Queue runner at 00:15:00 for /var/spool/mqueue
root     12469  0.0  0.0   208  112 pts/0    R    00:26   0:00 grep sendmail
[root at MailGW init.d]# /etc/init.d/MailScanner restart
Shutting down MailScanner daemons:
         MailScanner:       [  OK  ]
         incoming sendmail: [  OK  ]
         outgoing sendmail: [  OK  ]
Starting MailScanner daemons:
         incoming sendmail: [  OK  ]
         outgoing sendmail: [  OK  ]
         MailScanner:       [  OK  ]
[root at MailGW init.d]# ps aSux | grep sendmail
smmsp    12264  0.0  0.2  5752 2260 ?        S    00:21   0:00 sendmail:
Queue runner at 00:15:00 for /var/spool/clientmqueue
smmsp    12430  0.0  0.2  5756 2264 ?        S    00:26   0:00 sendmail:
Queue runner at 00:15:00 for /var/spool/clientmqueue
root     12534  0.0  0.2  5964 2508 ?        S    00:27   0:00 sendmail:
accepting connections
smmsp    12539  0.0  0.2  5752 2256 ?        S    00:27   0:00 sendmail:
Queue runner at 00:15:00 for /var/spool/clientmqueue
root     12545  0.0  0.2  5856 2368 ?        S    00:27   0:00 sendmail:
Queue runner at 00:15:00 for /var/spool/mqueue
root     12569  0.0  0.0  1456  280 pts/0    R    00:27   0:00 grep sendmail
[root at MailGW init.d]#
--- end of capture


>From /etc/mail
  [root at MailGW mail]# grep clientmqueue *
  submit.cf:O QueueDirectory=/var/spool/clientmqueue
  submit.cf:O StatusFile=/var/spool/clientmqueue/sm-client.st
  submit.cf:O PidFile=/var/spool/clientmqueue/sm-client.pid


from /etc/init.d
  [root at MailGW init.d]# grep submit.cf *
  [root at MailGW init.d]#
  nothing references submit.cf

sendmail start section from /etc/init.d/MailScanner
<!-- snip --->
      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
        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
        $SENDMAIL -bd -OPrivacyOptions=noetrn \
                      -ODeliveryMode=queueonly \
                      -OQueueDirectory=$INQDIR \
                      -OPidFile=$INPID \
                      -C/etc/mail/sendmail_in.cf       <--- only change here
        touch /var/run/sm-client.pid
        chown smmsp:smmsp /var/run/sm-client.pid 2>/dev/null
        $SENDMAIL -L sm-msp-queue -Ac -q15m 2>/dev/null
        success
        echo
<!--- snip ---->



More information about the MailScanner mailing list