I have a working postfix + clamav installation. How can I configure this to not just quarantene infected emails but if this happens also send a copy of the email to the sysadmins address?
What I found in clamav-milter.conf is:
VirusAction /usr/local/bin/virus.pl
RejectMsg "REJECT - AntiVirus detected: %v"
But virus.pl only generates a virus warning message what's sent back to the client. The script does not get the infected letters message body.
I could easily modify this just to get an alert with the virus-es name to the sysadmins but what I want is that the actual message to be forwarded to us.
Thanks