[Mimedefang] MD 2.40 and clamd setup
Muhammad Talha
talha at worldcall.net.pk
Sun Mar 14 17:45:22 EST 2004
MD 2.40 default behavior the that it will discard mail when virus is found
rather than bouncing it .
i have MD-2.39 installed and my mimedefang-filter
# Virus scan
if ($FoundVirus) {
my($code, $category, $action);
$VirusScannerMessages = "";
($code, $category, $action) = entity_contains_virus($entity);
# If you are more paranoid, change to: if ($action eq "quarantine") {
if ($category eq "virus") {
md_graphdefang_log('virus',$VirusName, $RelayAddr);
# Bounce the mail!
action_bounce("Virus $VirusName found in mail - rejected");
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
your must be action_discard change it action_bounce
Regards
Muhammad. Talha
> _______________________________________________
> Visit http://www.mimedefang.org and http://www.canit.ca
> MIMEDefang mailing list
> MIMEDefang at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
>
More information about the MIMEDefang
mailing list