[Mimedefang] Dropping Files
schmaus
schmaus at ties2.net
Mon Oct 27 13:10:07 EST 2003
I had this snippet of code in my filter sub routine. And
while it matches on the 3 attachments listed in $drop_exts,
it also drops other files, like doc and xls. Can anyone
explain why this would be happening?
$drop_exts = '(pif|scr|bat)';
if (re_match($entity, $drop_exts)) {
md_graphdefang_log("VIRUS: dropping file $fname from
$RelayAddr");
return action_discard();
}
Benjamin Schmaus
More information about the MIMEDefang
mailing list