[Mailman-Users] Disable attachment scrubbing?
Mark Sapiro
mark at msapiro.net
Fri Jul 31 23:23:11 CEST 2009
Edward Harvey wrote:
>Sometimes people post messages with attachments. They get archived with the
>message "attachment was scrubbed..." and renamed simply "attachment" and if
>the mime type wasnt recognized, also the file extension is changed.
>
>
>
>Is there some way to completely disable scrubbing? Just allow the
>attachments to come through as-is? No renaming.
If you mean include an arbitrary binary attachment (say an executable
file) displayed inline in the archived message rather that removed and
replaced by a link, then no, there is no way to do that.
If you mean replace the attachment with a link that preserves the
original attachment file name and extension, put the following in
mm_cfg.py
SCRUBBER_DONT_USE_ATTACHMENT_FILENAME = False
SCRUBBER_USE_ATTACHMENT_FILENAME_EXTENSION = True
See the documentation of these settings in Defaults.py for more info.
--
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