Hi,
I try to integrate clamav in my exim configuration.
as av_scanner I could not manage using clamd and always got the error "
clamd: unable to read from socket (No such file or directory)", even
though the files and directories existed (pid and ctl files).
Then I swicthed to commanline version and defined av_scanner as follows:
av_scanner = cmdline:/usr/local/bin/clamscan --disable-summary
--max-files=100 --threads=5 --stdout %s: FOUND:.*::(.+)FOUND$
and the exim ACL:
# Reject virus infested messages.
deny message = This message contains malware ($malware_name)
demime = *
malware = *
I send eicar sample viruses, but they are not caught by clamav. :-(
My spam ACLs with spamassassin work fine.
What can be the problem, any idea?
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html