« Return to Thread: Problems with amavis and clamav

Re: Problems with amavis and clamav

by coolzone :: Rate this Message:

Reply to Author | View in Thread

On Fri, 16 May 2008 15:42:25 +0100
kj <koffiejunkielistlurker@...> wrote:

> Rico Secada wrote:
> > # Default antivirus checking mode
> > # Uncomment the two lines below to enable it back
> > #
> >
> > #@bypass_virus_checks_maps = (
> > #   \%bypass_virus_checks, \@bypass_virus_checks_acl, \
> > # $bypass_virus_checks_re);
>
> You could also comment the clam-av sections in
> /etc/amavis/conf.d/15-av_scanners

Yes, but is this "the Debian" way to do it? I mean if later the package
gets upgraded, and I forget that I have commented that part out-

>  > ClamAV-clamd: Can't connect to UNIX
>  > socket /var/run/clamav/clamd.ctl WARN: all primary virus scanners
>  > failed, considering backups: 344 Time (s) (!!) ClamAV-clamd
>  > av-scanner FAILED: Too many retries to talk
>  > to /var/run/clamav/clamd.ctl TROUBLE in check_mail: virus_scan
>  > FAILED: virus_scan: ALL VIRUS SCANNERS FAILED: ClamAV-clamd
>  > av-scanner FAILED: Too many retries to talk
>  > to /var/run/clamav/clamd.ctl
>
> It's possible that this isn't caused by amavisd-new.  Are you sure
> nothing of Clam is installed?  "ClamAV-clamd" at the beginning of
> that line suggests to me that clamd is doing the logging.

dpkg -l | grep clam shows nothing, so I am pretty sure its amavis doing
this.

> --kj
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@...
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@...
>
>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...

 « Return to Thread: Problems with amavis and clamav