Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
amavisd-new and calmav
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
mxc
Guru
Guru


Joined: 05 Mar 2003
Posts: 442
Location: South Africa

PostPosted: Mon Feb 20, 2006 5:06 am    Post subject: amavisd-new and calmav Reply with quote

Hi all,

Just thought I would let others know. If you install amavisd-new and enable clamav virus scanning then you will need to enable the following in the amavid.conf file

Quote:
# ### http://www.clamav.net/
['ClamAV-clamd',
\&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd"],#******
qr/\bOK$/, qr/\bFOUND$/,
qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],
# NOTE: the easiest is to run clamd under the same user as amavisd; match the
# socket name (LocalSocket) in clamav.conf to the socket name in this entry
# When running chrooted one may prefer: ["CONTSCAN {}\n","$MYHOME/clamd"],


You will need to change the line marked ****** to

Quote:
\&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.sock"],


ie add the .sock part to the /var/run/clamav
_________________
http://www.CyberDesigns.co.za
http://www.Jumpingbean.co.za
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum