Skip clamd scanning when daemon did not respond

david touzeau david.touzeau at fr.kaspersky.com
Wed Oct 12 09:50:54 CEST 2011


After set the modification in amavisd.conf i still receive errors : 

Oct 11 19:48:32 ns1 postfix-mail2.mydomain.org/smtpd[21664]: timeout
after EN
D-OF-MESSAGE from localhost.localdomain[127.0.0.1]


Oct 11 20:03:07 ns1 l/sbin/amavisd (ch2-11525-02)[11525]: (11525-02)
(!)ClamAV-c
lamd: All attempts (1) failed connecting to /var/run/clamav/clamav.sock,
retryin
g (2)


Oct 11 20:03:07 ns1 l/sbin/amavisd (ch2-11525-02)[11525]: (11525-02)
(!)connect
to /var/run/clamav/clamav.sock failed, attempt #1: Can't connect to UNIX
socket
/var/run/clamav/clamav.sock: No such file or directory





Le mardi 11 octobre 2011 à 06:27 -0500, Noel Jones a écrit :
> 
> In your amavisd.conf file, find the section for @av_scanners_backup
> and uncomment the always-clean entry (or add if it's not there)
> 
> # always succeeds (uncomment to consider mail clean if all other
> scanners fail)
>  ['always-clean', sub {0}],
> 
> 
> 
-- 




More information about the amavis-users mailing list