Matt Gourley wrote:
I've just installed ClamAV 0.80 onto a new mail server. It's running well through daemontools, as the test EICAR virus I send it through qmail-scanner is caught, marked and quarantined. However, I cannot get it to log to /var/log/clamd.

/service/clamd/run:

#!/bin/sh
exec 2>&1
exec /usr/local/bin/softlimit -a 40000000 \ /usr/local/bin/setuidgid qscand /usr/local/sbin/clamd



/service/clamd/log/run:

#!/bin/sh
exec /usr/local/bin/setuidgid qscand \ /usr/local/bin/multilog t s1000000 n20 /var/log/clamd



clamd.conf:

FixStaleSocket
Foreground
LocalSocket /tmp/clamd
LogVerbose
MaxThreads 20
ScanArchive
ScanHTML
ScanMail
User qscand

Hi,

Logfile /dev/stdout (or stderr) in clamd.conf

Regards,

Rick
_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Reply via email to