Very simple content filtering
Hi,
We are using Mailman 2.1.9. I'd like to be able to strip potentially dangerous attachments, exe, bat, scr and the like, while leaving virtually everything else about the message intact so that readers see the messages as the composers intended them, often in html with inline graphics and so forth. No combination of settings I have tried seems to accomplish this. What content filtering settings would you recommend?
Thanks so much,
John
BBands wrote:
We are using Mailman 2.1.9. I'd like to be able to strip potentially dangerous attachments, exe, bat, scr and the like, while leaving virtually everything else about the message intact so that readers see the messages as the composers intended them, often in html with inline graphics and so forth. No combination of settings I have tried seems to accomplish this. What content filtering settings would you recommend?
If you want to filter only based on attachment file name extension, set
filter_content = Yes
filter_mime_types Empty
pass_mime_types Empty
filter_filename_extensions exe bat cmd com pif scr vbs cpl
(or what ever list you want)
pass_filename_extensions Empty
collapse_alternatives = No
convert_html_to_plaintext = No
filter_action As desired for messages that consist entirely of parts with file names with the unwanted extension (it is not likely there will be such messages and almost all messages have a text body with no filename).
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On Wed, Nov 10, 2010 at 4:58 PM, Mark Sapiro <mark@msapiro.net> wrote:
If you want to filter only based on attachment file name extension, set <snip>
Thanks Mark, that's what I came too as well. Maybe I am barking up the wrong tree? I thought that my problem was my filtering settings, but maybe not. Messages transmitted by the list are arriving with the footer as an extension. (I am using the default footer text, which serves my purpose well.)
John
BBands wrote:
Messages transmitted by the list are arriving with the footer as an extension. (I am using the default footer text, which serves my purpose well.)
See the FAQ at <http://wiki.list.org/x/84A9>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On Thu, Nov 11, 2010 at 8:37 AM, Mark Sapiro <mark@msapiro.net> wrote:
See the FAQ at <http://wiki.list.org/x/84A9>.
Ah, the FAQ to the rescue, much to my embarrassment.
Thanks for a wonderful tool.
John
participants (2)
-
BBands
-
Mark Sapiro