Re: [Mimedefang] Feature / SOP Request

2004-04-29 Thread Paul Whittney
Already using it... Its works for me, but it's no way optimized: (Sorry, word wrapping may cause some issues...) --- code --- sub filter_bad_filename_paw ($) { my($entity) = @_; my($bad_exts, $re, $result, $quar, $qre, $quar_exts); $bad_exts = '(ade|adp|app|asd|asf|asx|

[Mimedefang] Feature / SOP Request

2004-04-28 Thread Kevin A. McGrail
Split the bad_exts into two lists: bad_exts and REALLY_bad_exts. Add things are NEVER legitimate mail (like .scr and .pif) to really_bad_exts. Have this really_bad_exts checked during the virus routine so that those mails can be silently discarded. False positives are nil and the users are alway