[Mimedefang] odd filename

David F. Skoll dfs at roaringpenguin.com
Tue Jul 1 17:14:10 EDT 2003


On Tue, 1 Jul 2003, Joseph Brennan wrote:

> --M8Wq579211
> Content-Type: audio/x-wav;
> 	name=search_spanel;kw=;sz=120x60;tile=1;ord=10477246[1].exe

This comes up every 6 months or so on the list.  I won't be "fixing" this
any time soon.  Any MUA that interprets the above header as naming a
file ending in .exe is completely broken.

There's no sane way to fix the interpretation of bad MIME like that.
For maximum safety, you may consider unconditionally regenerating each and
every mail message using action_rebuild().  The canonifies the MIME and
limits the damage caused by stupid mail readers, but it can also sometimes
mess up messages.  Caveat emptor...

--
David.



More information about the MIMEDefang mailing list