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