John Peacock wrote: > Robin Bowes wrote: > >> (whoops - to the list this time, witg debug level=9) >> >> Two things: >> >> 1. where is back_compat set? > > > Like every other option, on the config/plugins line: > >> virus/clamav clamscan_path=/usr/local/bin/clamdscan action=reject >> back_compat
Thanks.
> Though if you are running clamd 0.83, you would just leave off that option.
I am indeed, and I do indeed.
>> 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 > > > clamd needs access to the file in order to scan it. You can either run > clamd as the same user as qpsmtpd, or you can play with the rights. I > chose the former, so it may be that I'll need to tweak the code to set > the file permissions differently.
OK, I've changed to "User smtpd" in /etc/clamd/conf.
It seems to work OK now.
I'm actually migrating to a new server, and on the old server I was running clamd as root (User line commented out). smtpd is better than root!
Thanks. I can therefore report that the latest CVS version is working OL for me.
R. -- http://robinbowes.com
