Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Mar 2007 08:25:14 +0100
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        Carlos Fernando Assis Paniago <Carlos.Paniago@cnptia.embrapa.br>
Cc:        ports@freebsd.org, Mark Martinec <Mark.Martinec@ijs.si>, garga@freebsd.org
Subject:   Re: [Fwd: Clamav and Amavisd]
Message-ID:  <45E7D15A.6040207@FreeBSD.org>
In-Reply-To: <45E75CB8.5000405@cnptia.embrapa.br>
References:  <45E75CB8.5000405@cnptia.embrapa.br>

next in thread | previous in thread | raw e-mail | index | archive | help
Carlos Fernando Assis Paniago schrieb:
> Hi: I was running clamav and amavisd with postfix... With the recent
> change in clamav (0.90), I was receiving this error:
> Mar  1 19:08:55 norma amavisd[75399]: Virus scanner failure:
> /usr/local/bin/clamscan (error code: 40)
>
> Looking this error I find out:
>
> in amavisd I find the following line: (363 in /usr/local/sbin/amavisd)
>
>     chop($output = `$clamscan --stdout -r -w --one-virus 
> $TEMPDIR/parts`);
>
> And trying to use the clamscan with this options I find that:
> "-w --one-virus" is deprecated.
>
> What is the solution? (for now I changed the amavisd stuff), but is this
> the correct solution? Is someone finding this error (in this case the
> clamscan is not working) also?
>
> The other solution is to come back this options in clamav.
>
>
> Carlos Paniago 
Hello,

thanks for pointing this issue out. I think the best solution is to 
contact the developer of amavisd-new and ask him to check it. I put him 
to the CC list. Mark, could you take a look, please?

Thanks in advance,
Gabor



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45E7D15A.6040207>