Troy Campbell wrote: > >In the Content Filtering ->"Details for pass_mime_types" field >I show the following: > >multipart/mixed >multipart/alternative >text/plain > >Would that be sufficient to do what you are suggesting if I >turn "Edit filter_content" on?
I suggest the following in pass_mime_types multipart message/rfc822 text/html text/plain plus collapse_alternatives and convert_html_to_plaintext = Yes This will allow the sub-parts of any multipart message including multipart/related and multipart/signed to be examined. It will also allow plain text (and HTML) from attached messages and will ultimately discard all but the first alternative from multipart/alternative and convert any remaining HTML to plain text. This will allow very little that will ultimately be scrubbed. Only text/plain attachments with unspecified character sets. >Could I then remove the "attachments" subdirectories? You can remove the attachments directories anyway. They will be recreated if needed. The problem with removal is there are messages in the HTML archive with links to scrubbed attachments and if you remove the directory or files, you break the links. Whether or not this is important is up to you. -- Mark Sapiro <[email protected]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list [email protected] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
