Hello All,
I'd like to send an email with virus notification for recipients internally (NOT for Senders) as we have had a few instances where something important was stripped.
Right now, I use this in filter_begin:
if ($FoundVirus) {
md_graphdefang_log('virus', $VirusName, $RelayAddr);
md_syslog('warning', "Discarding because of virus $VirusName");
return action_discard();
}I'm thinking about changing action_discard() to action_replace_with_warning($msg) with $msg something like "This email was discarded because it contained the virus $VirusName".
My hopes is that this will essentially just send a simple note to a user that they would have received a virus but now they are just receiving this little email. Can anyone confirm or recommend a better solution?
Regards,
KAM
_______________________________________________ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [email protected] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

