Sendmail is evil!!!!.... just kidding ;) Hey thanks.. interesting... ;) "Li, Chi (Contractor)" <chi.li-eds at eds.com> wrote: I have got MailScanner working with Sendmail on my Debian 3.1 R4, would like to share with everyone. Identify user and group # ls âld /var/spool/mqueue drwxrâsâââ 2 smmta smmsp 4096 2007â01â29 14:29 /var/spool/mqueue Create the 2nd queue and set it to the same ownership and permission as /var/spool/mqueue # mkdir /var/spool/mqueue.in # chown âR smmta:smmsp /var/spool/mqueue.in Configure Sendmail to run in a separate listener/queue runner mode # vi /etc/mail/sendmail.conf Change DAEMON=ââ; To DAEMON_PARMS="âOPrivacyOptions=noetrn âODeliveryMode=queueonly âOQueueDirectory=/var/spool/mqueue.in"; Regenerate /etc/mail/sendmail.cf # sendmailconfig Install ClamAV Install SpamAssassin Enable SpammAssassin # vi /etc/default/spamassassin Change or uncomment ENABLE = 1 Install MailScanner Configure MailScanner # vi /etc/MailScanner/MailScanner.conf Change %orgâname% to your name Change %orgâlongâname% to your organization name Change %webâsite% to your FQDN Run As User = smmta Run As Group = smmsp Incoming Queue Dir = /var/spool/mqueue.in Outgoing Queue Dir = /var/spool/mqueue MTA = sendmail Virus Scanner = clamav Enable MailScanner # vi /etc/default/mailscanner Uncomment run_mailscanner=1 Set the following folders the same ownership and permission as /var/spool/mqueue # chown âR smmta:smmsp /var/spool/MailScanner # chown âR smmta:smmsp /var/lib/MailScanner # chown âR smmta:smmsp /var/run/MailScanner #chown âR smmta:smmsp /var/lock/subsys/MailScanner Start MailScanner # /etc/init.d/mailscanner start Regards Chi _______________________________________________ AuckLUG mailing list AuckLUG at linux.net.nz http://www.linux.net.nz/cgi-bin/mailman/listinfo/aucklug --------------------------------- Need a quick answer? Get one in minutes from people who know. Ask your question on Yahoo! Answers.
| More information about the AuckLUG mailing list |
If you have any questions or comments about this page, email the
Webmaster Design Copyright © 1998-2005 Linux.net.nz |