Let us Read for you. In all businesses, knowledge plays a very important vital role. Hence, the security of your data or information is essential. The solution to protecting your knowledge lies in backing up the server and conducting periodic server hardening assessment. It keeps an exact copy of each version of a file, each time […]
How to install ClamAV and SpamAssassin on an RHEL or CentOS
Let us Read for you.
|
How to install ClamAV and SpamAssassin on an RHEL or CentOS
ClamAV installation
yum install clamd
wget http://c.vestacp.com/0.9.8/rhel/clamd.conf -O /etc/clamd.conf
wget http://c.vestacp.com/0.9.8/rhel/freshclam.conf -O /etc/freshclam.conf
gpasswd -a clam exim
gpasswd -a clam mail
freshclam
chkconfig clamd on
service clamd start
SpamAssassin installation
yum install spamassassin
chkconfig spamassassin on
service spamassassin start
Exim configuration
sed -i “s/^#SPAMASSASSIN/SPAMASSASSIN/g” /etc/exim/exim.conf
sed -i “s/^#CLAMD/CLAMD/g” /etc/exim/exim.conf
sed -i “s/^#SPAM_SCORE/SPAM_SCORE/g” /etc/exim/exim.conf
service exim restart
Vesta configuration
sed -i “s/ANTIVIRUS.*/ANTIVIRUS_SYSTEM=’clamav’/” /usr/local/vesta/conf/vesta.conf
sed -i “s/ANTISPAM.*/ANTISPAM_SYSTEM=’spamassassin’/” /usr/local/vesta/conf/vesta.conf
Comments (0)