On 7/26/22 03:44, Stephan Krinetzki wrote:
Victoriano Giralt wrote:
Hi, Hi, i tried now with a Postfix 3.x -> Mailman Postfix has en extremely useful setting called debug_peer_list where you can list addresses of machines whose messages you are interested in and the level of detail can be set with debug_peer_level. this will result on very detailed logging of the SMTP conversation. But, before resorting to this very invasive method, I'd put messages on
On mar, 2022-07-26 at 10:09 +0000, Stephan Krinetzki wrote: the HOLD queue and inspect them with postcat, before releasing them to be passed to Mailman. this way, you will be able to see if the subjects are cur "before" reaching Mailman.
Original to Mailman: https://pastebin.com/c4BHeEkJ Subject: =?utf-8?q?=5BJaninsliste=5D_=5BSAV- LINUX=5D_Notice_from_Sophos_Anti-Virus_on_server=2Eexample=2Ecom?= After Recieving: https://pastebin.com/JG0NKbjq Subject: =?utf-8?q?=5BJaninsliste=5D_=5BSAV- LINUX=5D_Notice_from_Sophos_Anti-Virus_on_server=2Eexample=2Ecom?= Both of then show the same Subject: header.
In https://pastebin.com/c4BHeEkJ, Line 79+80 it says
Subject: [SAV-LINUX] Notice from Sophos Anti-Virus on server.example.com [DEMO1]
In the original message you posted at https://pastebin.com/c4BHeEkJ, the
continuation line [DEMO1]
is not indented and is thus not a
continuation of the Subject: header but is a separate line. It appears
that several other continuation lines are also not indented, so I can't
tell what the original message to Mailman actually looked like.
However, I did a test injecting directly to Mailman a message with
Subject: [SAV-LINUX] Notice from Sophos_Anti-Virus on server.example.com
[DEMO1]
on a German language test list with subject prefix [Janinsliste] and I get the same result, I.e. the RFC 2047 encoded
Subject:
=?utf-8?q?=5BJaninsliste=5D=5BSAV-LINUX=5D_Notice_from_Sophos=5FAnti-Virus_on_server=2Eexample=2Ecom?=
so this is definitely a Mailman bug (or a bug in the underlying Python email package.
Thank you for the report. I have created https://gitlab.com/mailman/mailman/-/issues/1021 for this issue.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan