MIMEDefang installation Step 1 [root@local ~]# yum install mimedefang Install mimedefang via yum.Step 2 [root@local ~]# vi /etc/mail/sendmail.mc If it is exist clamav-milter in 'INPUT_MAIL_FILTER', comment it, we dont need clamav-milter in mimedefang Step 3 [root@local ~]# vi /usr/bin/mimedefang.pl P.S. Remember install the new version of clamav first (clamav,clamd,clamav-devel,clamav-db) Step 4 Edit mimedefang filter config file to set subject [SPAM] in header for spamassassin which is called by mimedefang Step 5
[root@local ~]# chkconfig mimedefang on P.S. If you use mimedefang for sendmail scan agent, it will help to call clamd and spamassassin during in mimedefang processing. Therefore, you need to stop clamav-milter and spamassassin (/etc/procmailrc) that avoid the duplicate service processing. Server is hosted by Alanstudio Linux Operating System Recommend screen resolution 1024 x 768 / IE / FireFox Alan Studio © 2007 by Alan Cheung Hin Lun. All rights reserved. |