mahoneyf wrote:

> I'm running an rather old version of Amavis (not able to upgrade it at
> this time). I've been using amavis with uvscan, but am now trying to
> integrate clamav to replace uvscan.

> I've been very careful to verify that the amavis stanza in
> amavisd.conf points to the same socket file as clamd.conf specifies,
> I've configured clamav to run as user amavis, and I've set ownership
> of the clamav files to amavis.

> When I start amavis I get the following in amavis.log:
> Jul 10 10:02:16 pd.iowatelecom.net amavisd[7280]: (07280-01) WARN: all
> primary virus scanners failed, considering backups

> The appropriate section of amavisd.conf looks like:
>   ['Clam Antivirus-clamd',
>     \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.ctl"],
>     qr/\bOK$/, qr/\bFOUND$/,
>     qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],

> clamd.conf contains:
> LocalSocket /var/run/clamav/clamd.ctl

> so you can see that both clamav and amavis are looking at the same
> socket. Any clues as to why amavis isn't recognizing the existence of
> clamd running on the specified socket?

This error message does not tell us much. This looks like Debian. See
this post:

http://marc.info/?l=amavis-user&m=117906726021005

If your version of sed does not support 'in place' editing, manually
edit the files in question.

Gary V



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to