Mark Sapiro wrote:
I don't understand the question? Are you asking why the log contains "invalid FilterAction: discard. Treating as discard"? If so, that's a
No, that was just log messages I thought would help explain the problem.
If you are asking why the message is empty after filtering and discarded, It is presumably because it is a text/html message as opposed to a multipart/alternative message with text/plain and text/html alternative parts.
The Content-Type of the mail sent to the list is multipart/mixed
From: SENDER <sender@senderdep.example.com> To: "LISTNAME@lists.example.com" <LISTNAME@lists.example.com> Subject: =?utf-8?B?QW50cm9wb2xvZ2VyIGkgcHJha3NpczogVGlsbWVsZGluZyDDpWJlbg==?= Thread-Topic: =?utf-8?B?QW50cm9wb2xvZ2VyIGkgcHJha3NpczogVGlsbWVsZGluZyDDpWJlbg==?= Thread-Index: AdT/QIb18JA+6hcSTYycFCI+5NuYoQEwPZ/Q Date: Mon, 6 May 2019 13:53:23 +0200 Message-ID: <250E794B36C1E646AF3D81E1F15348C79DA8CA83@P2KITMBX06WC03.unicph.domain> Content-Language: en-US X-MS-Has-Attach: yes X-MS-Exchange-Organization-SCL: -1 X-MS-TNEF-Correlator: Content-Type: multipart/mixed; boundary="_006_250E794B36C1E646AF3D81E1F15348C79DA8CA83P2KITMBX06WC03u_" MIME-Version: 1.0
There are list attributes filter_types and pass_types (also filter_extensions and pass_extensions, but those probably aren't
My Python isn't that great, but this looks like i'm missing something
m.filter_content True m.pass_types <generator object pass_types at 0x7f66d407bba0> m.filter_extensions <generator object filter_extensions at 0x7f66d407bdb0> m.pass_extensions <generator object pass_extensions at 0x7f66d407be08>
Presumably, the combination of filter_types and pass_types is not allowing text/html.
I am thinking that as the "Filter content" (postorius) refers to "the settings below", this setting is needed in case list admin wants an explicit reply-to address or change other switches in Alter Messages. But this shouldn't affect the content, even it is text/html, I think, at least not emptying the mail, I think.
You need to examine these settings in mailman shell, e.g.
list(m.pass_types)
list(m.pass_types) ['multipart/mixed', 'multipart/alternative', 'text/plain']
-- Henrik Rasmussen