Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Clamd not scanning
PostPosted: Thu Aug 21, 2008 10:23 am 
Offline
Newbie

Joined: Thu Aug 14, 2008 4:00 am
Posts: 4
I'm using CentOS 5 with Exim, Spamassassin and Clamav however Clamav is not working. I have confirmed this by using the eicar test.

/etc/exim/exim.conf

av_scanner = /var/run/clamav/clamd.socket <-- yep the socket exists

acl_check_data:

deny malware = *
message = This message contains a virus ($malware_name).

/etc/clamd.conf

SocketFile = /var/run/clamav/clamd.socket

I've also added clamd to the Exim group.

Not sure what the problem could be.


Top
   
 Post subject:
PostPosted: Thu Aug 21, 2008 12:57 pm 
Offline
Junior Member

Joined: Tue Jul 20, 2004 11:32 am
Posts: 41
Website: http://www.insanum.com
My setup is the same as yours except my av_scanner is:

av_scanner = clamd:/var/lib/clamav/clamd.sock

And I also have the following in clamd.conf:

AllowSupplementaryGroups yes

Is there anything out of the ordinary in your clamd.log or exim/mainlog files? Normally when clamd is acting up, exim complains heavily.


Top
   
 Post subject:
PostPosted: Thu Aug 21, 2008 1:00 pm 
Offline
Junior Member

Joined: Tue Jul 20, 2004 11:32 am
Posts: 41
Website: http://www.insanum.com
edavis wrote:
My setup is the same as yours except my av_scanner is:

av_scanner = clamd:/var/lib/clamav/clamd.sock

And I also have the following in clamd.conf:

AllowSupplementaryGroups yes

Is there anything out of the ordinary in your clamd.log or exim/mainlog files? Normally when clamd is acting up, exim complains heavily.


Also, I'm using Arch Linux and my clamd user is clamav (not clamd). Make sure that is right for your group file.


Top
   
 Post subject:
PostPosted: Thu Aug 21, 2008 2:36 pm 
Offline
Newbie

Joined: Thu Aug 14, 2008 4:00 am
Posts: 4
edavis wrote:
edavis wrote:
My setup is the same as yours except my av_scanner is:

av_scanner = clamd:/var/lib/clamav/clamd.sock

And I also have the following in clamd.conf:

AllowSupplementaryGroups yes

Is there anything out of the ordinary in your clamd.log or exim/mainlog files? Normally when clamd is acting up, exim complains heavily.


Also, I'm using Arch Linux and my clamd user is clamav (not clamd). Make sure that is right for your group file.


My mistake - the user/group is clamav.

I did "usermod -G exim clamav"

Nothing in my logs. No mention of it in clamd.log or exim main.log.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group