ispCP - Board - Support
[HowTo] Activate Amavis & Clamav on CentOS 5.4 - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Contributions Area (/forum-40.html)
+--- Forum: Howtos (/forum-41.html)
+--- Thread: [HowTo] Activate Amavis & Clamav on CentOS 5.4 (/thread-10686.html)



[HowTo] Activate Amavis & Clamav on CentOS 5.4 - dropslack - 05-14-2010 12:47 PM

by default, if you are installing ispCP Omega 1.0.5 on CentOS 5.4, amavis and clamav daemon will not working. so, to make that services alive just follow this step:

edit /etc/clamd.d/amavisd.conf file and find this line

Code:
LogSyslog
FixStaleSocket

replace that line to this one:

Code:
#LogSyslog
#FixStaleSocket

now, you should edit /etc/postfix/main.cf and /etc/ispcp/postfix/working/main.cf and find this line:

Code:
#content_filter               = amavis:[127.0.0.1]:10024

and replace to this one:

Code:
content_filter               = amavis:[127.0.0.1]:10024

then do some command:

Code:
# usermod -G amavis clamav
# chkconfig --level 235 amavisd on
# chkconfig --level 235 clamd.amavisd on
# /etc/init.d/amavisd start
# /etc/init.d/clamd.amavisd start
# /etc/init.d/postfix reload