[Mailman-Users] Question on Digest E-mails

Mark Sapiro mark at msapiro.net
Tue Feb 3 22:34:59 CET 2009

Grant Taylor wrote:

>On 02/03/09 13:13, Mark Sapiro wrote:
>> 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.
>So basically any and all parts that are passed through (and not 
>scrubbed) have to be in the DEFAULT_PASS_MIME_TYPES list.  If the 
>part(s) in question, no matter where they are in the message, are not in 
>the list they are scrubbed.

I think you may be confusing things here, and I may have contributed.
DEFAULT_PASS_MIME_TYPES only sets the default for pass_mime_types when
the list is created. When the list is in use, it is the content of the
list's pass_mime_types that determines what happens.

Also, scrubbed is something different. There are two processes going
on. One is content filtering which determines which parts of a message
are filtered out entirely and which parts are retained for subsequent
processing. The other is 'scrubbing' which processes the content
filtered message for the plain format digest and the archive (and
possibly for all purposes if the list's scrub_nondigest is true).

Scrubbing removes message parts and stores them aside and replaces them
with links to the stored part. Scrubbing will scrub anything which
isn't text/plain. It will examine the contents of multipart/* parts
for elemental sub-parts which will be retained if they are text/plain
with a known character set and otherwise stored aside, but if it
encounters a message/rfc822 part, it scrubs that in it's entirety.

Also, pass_mime_types only comes into play if it is non-empty and the
lists filter_content setting is true. So the correct statement is:

So basically, if content filtering is on and if pass_mime_types is
non-empty, any and all parts that are passed through (and not
filtered) have to be in the pass_mime_types list.  If the part(s) in
question, no matter where they are in the message, are not in the list
they are filtered.

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