On 9/15/22 10:20, Mark Sapiro wrote:
On 9/15/22 01:22, Kimmo L wrote:
Hi Mark!
I forwarded the same shunted file to you as well, which i sent to Steve.
Thanks. I got it and will look further.
This is very strange. The message object in the shunted pickle is missing several important headers. In particular, there is no Message-ID: and no MIME-Version: and no Content-Type: while the body contains subpart headers like
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
and
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
but no boundaries.
This apparently confuses the Python email package so that the get_payload() method returns a list of strings rather than a list of message objects.
The question is how did this happen.
What does
mailman conf -k anonymous_list_keep_headers
show, and what is the content of mailman/handlers/cleanse.py?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan