SRAR Mail Administrator wrote:
A PHB has decided he wants to attach an HTML file to an email. While I don't like it, I do like being paid... So I must accomodate. Nowhere in my list of bad extensions are htm or html listed, but when the email is scanned, MIMEDefang is stripping the file, and giving this message in the email:

An attachment named www.example.com/blastmail/white0512.htm was removed from this document as it constituted a security hazard. If you require this document, please contact the sender and arrange an alternate means of receiving it.

I cannot find any reference in my filter to why it's doing this.

Search through your mimedefang-filter for the text "An attachment named". You'll probably find it near a call to filter_bad_filename. (That's where I found it in my filters; all of which have quite a few defaults commented out.)

Stick in some unique md_syslog statements before whichever statement includes that text, (the default filter includes several IIRC), so you can identify which piece of code is causing your problem.

-kgd
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to