Changing Commands That Start Sendmail

Peter Bonivart peter at UCGBOOK.COM
Sun Nov 23 23:08:05 GMT 2003

Don't change the -Ac line, it's for local delivery and does not matter
to MS. I run Solaris and they have one line with -bd and -q, since it's
different queues with MS I have to split it into two lines looking like

/usr/lib/sendmail $MODE -OPrivacyOptions=noetrn -ODeliveryMode=queueonly
-OQueueDirectory=/var/spool/ &
/usr/lib/sendmail -q$QUEUEINTERVAL -OQueueDirectory=/var/spool/mqueue &

In the start script for Sendmail on Solaris MODE is -bd and

These lines should work for you:

/usr/sbin/sendmail -L sm-mta -bd -OPrivacyOptions=noetrn
-ODeliveryMode=queueonly -OQueueDirectory=/var/spool/
/usr/sbin/sendmail -L sm-mta -q15m -OQueueDirectory=/var/spool/mqueue
/usr/sbin/sendmail -L sm-msp-queue -Ac -q15m

/Peter Bonivart

--Unix lovers do it in the Sun

Sun Fire V210, Solaris 9, Sendmail 8.12.10, MailScanner 4.23-11,
SpamAssassin 2.60 + DCC 1.2.9, ClamAV 20030829

Robert Harpham wrote:
> ok but which part do i need to edit? the MTA deamon or MSP queue runner?
> would my new edit look like this from just chanignt he MTA values or should
> i edit the MSP as well to
> /usr/sbin/sendmail -L
> sm-msp-queue  -bd -OPrivacyOptions=noetrn -ODeliveryMode=queueonly
> -OQueueDirectory=/var/spool/
> /usr/sbin/sendmail -Ac -q15m
> #!/bin/sh
> # Start/stop/restart sendmail.
> # Start sendmail:
> sendmail_start() {
>   if [ -x /usr/sbin/sendmail ]; then
>     echo "Starting sendmail MTA daemon:  /usr/sbin/sendmail -L
> sm-mta -bd -q15m"
>     /usr/sbin/sendmail -L
> sm-mta -bd -OPrivacyOptions=noetrn -ODeliveryMode=queueonly
> -OQueueDirectory=/var/spool/
>     /usr/sbin/sendmail -q15m
>     echo "Starting sendmail MSP queue runner:  /usr/sbin/sendmail -L
> sm-msp-queue -Ac
> -q15m"
>     /usr/sbin/sendmail -L sm-msp-queue -Ac -q15m
>   fi
> }
> thanks
> robert

More information about the MailScanner mailing list