Peter Eisch wrote:
The newer clamav (0.80 I think) changed the way some things are done. Here's my line for how it's called which works quite nicely:
my $cmd = $self->{_clamscan_loc}." --stdout --disable-summary $filename 2>&1";
The -i has been deprecated.
FWIW, I just committed a change to CVS which adds a new "back_compat" option which only includes the deprecated options when set.
(whoops - to the list this time, witg debug level=9)
Two things:
Two things:
1. where is back_compat set?
2. I'm getting the following error:
2005-02-24 18:09:00.348993500 1509 virus::clamav plugin: Running: /usr/bin/clamd
scan --stdout --disable-summary /home/smtpd/tmp/qpsmtpd.clamav.1509.G0u3Y7 2>&1
2005-02-24 18:09:00.357616500 1509 virus::clamav plugin: clamscan results: /home
/smtpd/tmp/qpsmtpd.clamav.1509.G0u3Y7: Access denied. ERROR
2005-02-24 18:09:00.357761500 1509 virus::clamav plugin: ClamAV error: /usr/bin/
clamdscan --stdout --disable-summary /home/smtpd/tmp/qpsmtpd.clamav.1509.G0u3Y7
2>&1: 2
Mail still gets delivered but obviously so do viri!
R. -- http://robinbowes.com
