[Mailman-Users] digest mode links

Mark Sapiro mark at msapiro.net
Sun Feb 28 19:03:26 CET 2010


John Griessen wrote:

>Why do digest mode links rename a .jpg file?  A Mac OS X user can't see attachments.
>
>
>URL: <http://lists.metalartists.org/mailman/private/sandbox/attachments/20100219/9e05e1cf/attachment.obj>
>-------------- next part --------------
>A non-text attachment was scrubbed...
>Name: DSC04246.JPG
>Type: application/octet-stream
>Size: 153072 bytes
>Desc: not available


Because in your installation, the scrubber generates the extension from
the Content-Type which in this case is application/octet-stream and
not image/jpeg as it should be for a JPEG file.

This is really an issue with the MUA that composed the message, but if
you want Mailman to use the extension from the file name rather than
one appropriate for the Content-Type, you can set

SCRUBBER_USE_ATTACHMENT_FILENAME_EXTENSION = True

in mm_cfg.py.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list