[Mailman-Users] Question on Digest E-mails

Mark Sapiro mark at msapiro.net
Tue Feb 3 20:13:58 CET 2009


Grant Taylor wrote:
>
>Question:  If a message is passed as a message/rfc822 attachment, what 
>happens to it's MIME sub-parts?  Are they filtered too?


Yes. Content filtering works recursively. If any content type part is
filtered, it is removed along with all its sub-parts. If a content
type part is not filtered, we recursively examine its sub-parts to see
if they should pe passed or filtered.

Thus, the intent of my

DEFAULT_PASS_MIME_TYPES = ['multipart',
                           'message/rfc822',
                           'text/plain']

is to accept only text/plain parts, but to accept them no matter how
deeply they may be nested in the original MIME structure. Content
filtering will leave higer level multipart/* and message/rfc822 parts
in the message, but only those which ultimately contain a text/plain
part.

-- 
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