Skip clamd scanning when daemon did not respond

david touzeau david.touzeau at fr.kaspersky.com
Thu Oct 13 16:02:39 CEST 2011


Le mercredi 12 octobre 2011 à 12:15 +0200, Tomas Macek a écrit :
> I think you still will receive errors, but the message should be 
> delivered. Is the message delivered or not?
> 
> Tomas
> 
> On Wed, 12 Oct 2011, david touzeau wrote:
> 
> > 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}],
> >>
> >>
> >>
> > -- 
> >
> >
> >

No the error is returned to postfix and postfix reject messages

-- 





More information about the amavis-users mailing list