MailScanner Configure

1. apt-get install gcc g++ cpp libgmp3-dev zip file tnef make patch


2.
apt-get install clamav-base clamav-daemon


3.
freshclam -v

For Spamassassin

4. apt-get install spamassassin  


[
If show spamassassin Mail Filter Demon : Disabled; then

# vim /etc/default/spamassassin

 ENABLED= 0 ( default )
 ENABLED= 1 ( Changed to 1 )
]


5.
wget http://www.mailscanner.info/files/4/tar/MailScanner-install-4.84.3-1.tar.gz

[
-> http://www.mailscanner.info
-> Downloads
-> Stable:
-> Version 4.84.5-3 for Solaris / BSD / Other Linux / Other Unix
]

6. tar -zxvf MailScanner-install-4.84.3-1


7. cd MailScanner-install-4.84.3-1


8. ./install.sh           

[
to run the installer scrip .
After completion: 
pkill -9 MailScanner
(Stop) and
/opt/MailScanner/bin/check_mailscanner (Start)
]


9.
vim rc.local  #  [ /opt/MailScanner/bin/check_mailscanner (add this line) ]


10. vim /opt/MailScanner/etc/MailScanner.conf

   ->   Run As User = postfix
   ->   Run As Group = postfix
   ->   Incoming Queue Dir = /var/spool/postfix/hold
   ->   Outgoing Queue Dir = /var/spool/postfix/incoming
   ->   MTA = postfix

   ->   And keep all the Log "Yes" and all reports "No".

Comments

Popular posts from this blog

Squid Configuration

Squint Configure

Postfix SASL authentication with SMTP port 465:

How to Change the Logo from Zimbra Admin Console