[Mimedefang] suggested mimedefang-filter
Wladyslaw Pietraszek
wap at cs.auc.dk
Tue May 14 12:39:34 EDT 2002
The example mimedefang-filter file in MIMEDefang v2.11 distribution
(examples/suggested-minimum-filter-for-windows-clients) has a small
omission which may result in incorrect quarantine on rare occasions
(fx. attachmet with the file name ".htaccess" :-).
The "return re_match ..." line in the "sub filter_bad_filename" should
read:
return re_match($entity,'\.(bat|chm|...|vbe|vbs?|vxd|wsf|wsh)$');
^
"The MIMEDefang HOWTO" has the correct example in chapter 9.6 (filter)
and mising "$" in the chapter 10.1 (mimedefang-filter.example).
Regards,
W. A. Pietraszek email: wap at cs.auc.dk
Computer Science Dept. phone: (+45) 96 35 89 07
Aalborg University fax: (+45) 98 15 98 89
Fredrik Bajers Vej 7E , DK-9220 Aalborg, Denmark
More information about the MIMEDefang
mailing list