Ebrahim Abrahams wrote:
> Hi
> 
> I am having trouble getting the clamav-milter to log what has been scanned
> or infected to the maillog.
> 
> I have enable the following settings in clamav-milter.conf
> 
> AddHeader yes
> LogSyslog yes
> LogFacility LOG_MAIL
> LogVerbose yes
> 
> Can someone please assist.
> 
> Regards

Hi Ebrahim,

What's the problem?
It works fine here:
1337ness:/home/acab# grep clamav-milter /var/log/mail.log
Apr  6 15:28:13 1337ness clamav-milter[3546]: Local socket
unix:/tmp/clamd.socket added to the pool (slot 1)
Apr  6 15:28:13 1337ness clamav-milter[3546]: Remote socket
tcp:192.168.0.105:3310 added to the pool (slot 2)
Apr  6 15:28:13 1337ness clamav-milter[3546]: Remote socket
tcp:192.168.0.107:44203 added to the pool (slot 3)
Apr  6 15:28:13 1337ness clamav-milter[3546]: Probe for slot 1 returned:
success
Apr  6 15:28:13 1337ness clamav-milter[3546]: Failed to establish a
connection to clamd
Apr  6 15:28:13 1337ness clamav-milter[3546]: Probe for slot 2 returned:
failed
Apr  6 15:28:13 1337ness clamav-milter[3546]: Failed to establish a
connection to clamd
Apr  6 15:28:13 1337ness clamav-milter[3546]: Probe for slot 3 returned:
failed
Apr  6 15:29:09 1337ness clamav-milter[3546]: Message D3BC2126B54 from
<a...@darqness> to <a...@1337tness> with subject 'eicar' message-id
'<20090406132909.ga4...@darqness>' date 'Mon, 6 Apr 2009 15:29:09 +0200'
infected by ClamAV-Test-File

Cheers,
-acab
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to