I've got an issue I'm trying to resolve and to be honest I'm at a loss.

What I'm trying to do is log message virus statistics either to a database or log file to be parsed for inclusion into a database. The information we are interested in is the detected malware/virus, and the destination email address (envelope recipient).

Using Clamav-milter (0.95.3) I've noticed that when a virus is found the destination address is resolved to the local user or forward destination via (more than likely) the virtusertable

I can't use the maillog because the destination isn't logged

So my question is this.

Is it possible to get clamav to log the "envelope recipient"?

If not

Is the message data accessible after clamav detects a virus for further processing? (to capture virus name and other desired information through script or other)
If so, what is the best method/mechanism for achieving this

Any insight is greatly appreciated

Ken



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

Reply via email to