On 3/4/21 8:36 PM, Mark Dale via Mailman-Users wrote:
> 
> Reading Steve's reply just now makes me look suspiciously at the Perl
> X-Mailer: MIME::Lite that is sending the email to the list. My
> understanding is the list owner has scheduled a Perl script to export
> from a database and post the resulting export.


I've looked at the code more carefully, and I see there are two
conditions for the text/plain part to be scrubbed. One is the lack of a
charset= parameter, but the other is that the part is not the only body
part or maybe the first part of a multipart body.

However, the way the code determines if the part is the body vs. being
an attachment is the presence of a Content-Disposition: header. Your
message has a Content-Disposition: inline header and while this is
explicitly allowed by RFC 2183, it is unusual for a single part
text/plain message.

If the perl script that generates this message can not include that
header, I don't thing the part will be scrubbed.

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
    https://mail.python.org/archives/list/mailman-users@python.org/

Reply via email to