Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Mar 2007 19:42:26 -0300
From:      Carlos Fernando Assis Paniago <Carlos.Paniago@cnptia.embrapa.br>
To:        freebsd-ports-bugs@freebsd.org
Subject:   Clamav and Amavisd
Message-ID:  <45E756D2.9000601@cnptia.embrapa.br>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------060707000509060807000907
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

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? SOmeone is finding this error (in this case the 
clamscan is not working).

Carlos Paniago


--------------060707000509060807000907--



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