Setup Clam Antivirus & SpamAssassin

July 23, 2007 on 11:45 am | In Linux Admin, command, Qmail |

I followed the original setup guide (part 14) and will make some modifications here

—————————————————————–

vi /etc/clamd.conf

"Example" - should already be commented out. However, if it is not, make sure that it is commented out (#)
"LogFile" - should be set to /var/log/clamav/clamd.log
"LogTime" - should be uncommmented.
"LogSyslog" - should be uncommented.
"User" - should be set to qscand

"ScanMail" - should be uncommented.

—————————————————————–

Because the user is set to qscand, I have to change the owner and group of /var/log/clamav to qscand. the commands as follow:

chgrp -R qscand /var/log/clamav
chown -R qscand /var/log/clamav

otherwise, it won’t start.

And

I need grant write permission to others, otherwise the virus definition update can’t proceed. the command is:

chmond -R o=rwx /var/log/clamav   (the original permission is rx)

Furthermore, here is the good place to download the latest version of Clamav

http://dag.wieers.com/rpm/packages/clamav/

 

 


No Comments yet »

RSS feed for comments on this post. TrackBack URI

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

Since May 6,2007 We have Visitors
dog ramps

Powered by WordPress with Pool theme design by Borja Fernandez.
Entries and comments feeds. Valid XHTML and CSS. ^Top^