[Mimedefang] suggested mimedefang-filter
David F. Skoll
dfs at roaringpenguin.com
Tue May 14 13:32:54 EDT 2002
On Tue, 14 May 2002, Wladyslaw Pietraszek wrote:
> 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 trailing "$" was omitted on purpose to (try) to cope sensibly with
malformed MIME headers which could be misinterpreted one way by MIMEDefang
and a different way by e-mail clients.
Yes, .htaccess files will be blocked. No, it's not a problem in the real
world. :-)
Regards,
Davud.
More information about the MIMEDefang
mailing list