<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16588"></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Segoe UI">
<DIV>I'm building a new MailScanner system on Centos 5.5-64bit and this time I'm wanting to use Sendmail instead of Postfix. My experience base has been with Postfix, so I've been doing abit of reading for the archives.</DIV>
<DIV> </DIV>
<DIV>I read the "Configure Sendmail" notes on <A href="http://mailscanner.info/other.html">http://mailscanner.info/other.html</A> and looked at the sendmail startup script. I could insert the recommended sendmail start lines into the script, but I'm not so sure about how it will effect the "sm-msp-queue" code just below it.</DIV>
<DIV> </DIV>
<DIV>Since I'm a newbie at Sendmail, I wanted to ask for input for those of you who have more sendmail experience. </DIV>
<DIV> </DIV>
<DIV>Here are the recommend start lines from the mailscanner.info website and the "start" code section from the sendmail start script.</DIV>
<DIV> </DIV>
<DIV>How are you sendmail folks configuring your systems?</DIV>
<DIV> </DIV>
<DIV>- thank you</DIV>
<DIV> </DIV>
<DIV>Brad</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> sendmail -bd -q15m</DIV>
<DIV> </DIV>
<DIV>You should change this to the following two lines:</DIV>
<DIV> </DIV>
<DIV> sendmail -bd -OPrivacyOptions=noetrn -ODeliveryMode=queueonly -OQueueDirectory=/var/spool/mqueue.in<BR> sendmail -q15m<BR>
<DIV> </DIV>
<DIV> </DIV>
<DIV>start() {<BR> # Start daemons.</DIV>
<DIV> </DIV>
<DIV> echo -n $"Starting $prog: "<BR> if test -x /usr/bin/make -a -f /etc/mail/Makefile ; then<BR> make all -C /etc/mail -s > /dev/null<BR> else<BR> for i in virtusertable access domaintable mailertable ; do<BR> if [ -f /etc/mail/$i ] ; then<BR> makemap hash /etc/mail/$i < /etc/mail/$i<BR> fi<BR> done<BR> fi<BR> /usr/bin/newaliases > /dev/null 2>&1<BR> daemon /usr/sbin/sendmail $([ "x$DAEMON" = xyes ] && echo -bd) \<BR> $([ -n "$QUEUE" ] && echo -q$QUEUE) $SENDMAIL_OPTARG<BR> RETVAL=$?<BR> echo<BR> [ $RETVAL -eq 0 ] && touch /var/lock/subsys/sendmail</DIV>
<DIV> </DIV>
<DIV> if ! test -f /var/run/sm-client.pid ; then<BR> echo -n $"Starting sm-client: "<BR> touch /var/run/sm-client.pid<BR> chown smmsp:smmsp /var/run/sm-client.pid<BR> if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then<BR> /sbin/restorecon /var/run/sm-client.pid<BR> fi<BR> daemon --check sm-client /usr/sbin/sendmail -L sm-msp-queue -Ac \<BR> -q$SMQUEUE $SENDMAIL_OPTARG<BR> RETVAL=$?<BR> echo<BR> [ $RETVAL -eq 0 ] && touch /var/lock/subsys/sm-client<BR> fi</DIV>
<DIV> </DIV>
<DIV> return $RETVAL<BR>}<BR></DIV>
<DIV> </DIV>
<DIV> </DIV></DIV></BODY></HTML>