Hi, Carlos-- On Aug 12, 2008, at 5:30 AM, Carlos Williams wrote: > Now once I have that installed, I am confused as to where to get > guidance to start getting Clamav to work with Amavisd. Anyone have any > tips on how this works with my distribution?
Look in your amavisd.conf for the "@av_scanners" section; you should check that you have a section like this: # ### http://www.clamav.net/ ['ClamAV-clamd', \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd"], qr/\bOK$/, qr/\bFOUND$/, qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ], # # NOTE: run clamd under the same user as amavisd, or run it under its own # # uid such as clamav, add user clamav to the amavis group, and then add # # AllowSupplementaryGroups to clamd.conf; # # NOTE: match socket name (LocalSocket) in clamav.conf to the socket name in # # this entry; when running chrooted one may prefer socket "$MYHOME/ clamd". ...where the socket path matches what you are using in your clamd.conf, and you should either run clamd and amavisd as the same user (perhaps "vscan" or "clamav"), or else use the AllowSupplementaryGroups option as documented above. -- -Chuck _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml