[Alpine-info] [PATCH] Attachment export extension handling

Werner Scheinast W.Scheinast at web.de
Sat Jul 23 08:49:25 PDT 2011


On 23.07.11 David Forrest wrote:


> I do not think it's a bug when alpine uses the mime type

> (http://en.wikipedia.org/wiki/MIME) as defined by the vendor and the sender

> misidentifies when they send it.


It is okay to use the MIME type to decide which application to launch -
but there is no sufficient reason (except in Windows) to change the file
name. Since this is intentional, one may not call it a bug, but it is
wrong. IMO the file extension is more likely to be correctly related to
the content than the MIME type, but even if not: It is a problem of the
application program, not the e-mail software. It is not Alpine's task to
care about file naming conventions if the sender has already decided it
and because the sender _might_ be wrong.


> folks have problems configuring their systems and some nefarious senders have

> seen opportunities to get the receivers to execute unfriendly macros to their

> detriment. Alpine lets the user figure out how to use attachments and I

> consider that a feature.


My complaint is exactly that Alpine does _not_ merely let the user figure
out how to use attachments but meddles where it shouldn't. At least this
should be configurable: [X] Rename attached files to match MIME type
(And it should even be unset in the default configuration!)

Regards,
Werner


More information about the Alpine-info mailing list