I'm attempting to convert a Debian mail server from using Amavis-new with
uvscan, to use Amavis-new with clamd. I've done the basic install from
tarball, and have followed all the directions I can find. I checked the
list archives for this list and some helpful info, especially the page at
http://www200.pair.com/mecham/spam/clamav-amavisd-new.html mentioned in an
earlier message.

I installed from tarball, edited amavis.conf, clamd.conf, and
freshclam.conf to all point to the same dirs and use the "amavis" user,
and changed ownership of appropriate files/dirs to amavis:amavis.  When I
start amavis I get:

After configuring all the requisite files, I'm still getting " WARN: all
primary virus scanners failed, considering backups" in amavis.log when I
start it up.

/etc/amavis/amavis.conf calls for clamAV via:
  ['Clam Antivirus-clamd',
    \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.ctl"],
    qr/\bOK$/, qr/\bFOUND$/,
    qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],

When I start Amavis, I get the message referenced above.  Amavis does find
clamscan, even though I've got it commented out of amavis.conf, from
@av_scanners and from @av_scanners_backup.

UPDATE:
In order to maybe minimize config issues, I removed clamav and reinstalled
via apt-get. I've edited amavis.conf, clamav.conf, and freshclam.conf to
all point to the same places and all use user "amavis", and have changed
ownership of the required files and dirs.

My question is, what have I overlooked? I need to use clamd, as this
server will be so heavily loaded that processing everything through
clamscan would bring it to it's knees. Ideas?




_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to