[Exim] Exiscan + ClamAV: Notifications?

Top Page
Delete this message
Reply to this message
Author: Jae Chang
Date:  
To: exim-users
Subject: [Exim] Exiscan + ClamAV: Notifications?
This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
I just recently setup Exiscan with ClamAV. I would like to be notified if an
infected email is received, but am having trouble determining the best way
of going about this. My relevant ACL section contains:

   deny message = This message contains a virus or other harmful content
($malware_name)
      demime = *
      malware = *



The only indication that a virus was received, is an entry in a log file.
It'd be great to receive an alert email or even continue sending the mail
but with a rewritten subject?

The example config file gives an example of redirecting the flagged mail to
a specific email address:

warn message = X-Redirect-To: spambox@???
     demime = *
     malware = *


However, where would I place this line - before or after the above "deny
message" line?

Any information will be greatly appreciated!

Jay
--