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 <[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
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Security Policy: http://wiki.list.org/x/QIA9