Hi all, I have a special case in a 3.3.0 Mailman3 instance.
One of our users uses AppleMail and sends a mail with PDF attachment to a mailing list with the following settings in Postorius:
[x] filter content [x] collapse alternatives [x] convert html to plaintextHowever, the PDF is not getting delivered to the mailing list recipients. It gets stripped off.
The mail structure of the original mail is this: ``` [...] From: [...] Content-Type: multipart/alternative; boundary="Apple-Mail=_F2665084-9FD9-4017-B8F0-8E6ABE6D424C" Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Fwd: [...] Message-Id: [...] References: [...] To: Mike Gabriel <[...]> Date: Tue, 21 Apr 2020 06:35:52 +0200 X-Mailer: Apple Mail (2.3273) [... headers ...] --Apple-Mail=_F2665084-9FD9-4017-B8F0-8E6ABE6D424C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 [... quoted printable text ...] --Apple-Mail=_F2665084-9FD9-4017-B8F0-8E6ABE6D424C Content-Type: multipart/mixed; boundary="Apple-Mail=_702BD6D5-BCE8-42D9-83D4-5F316F5F607B" --Apple-Mail=_702BD6D5-BCE8-42D9-83D4-5F316F5F607B Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 [... html coded text ...] --Apple-Mail=_702BD6D5-BCE8-42D9-83D4-5F316F5F607B Content-Disposition: inline; filename="<filename>.pdf" Content-Type: application/pdf; x-unix-mode=0644; name="<filename>.pdf" Content-Transfer-Encoding: base64 [ ... base64 encoded PDF ...] --Apple-Mail=_702BD6D5-BCE8-42D9-83D4-5F316F5F607B Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 [... html coded text ...] --Apple-Mail=_702BD6D5-BCE8-42D9-83D4-5F316F5F607B-- --Apple-Mail=_F2665084-9FD9-4017-B8F0-8E6ABE6D424C-- ```When such a (forwarded mail) arrives at the mailing list server, it is held back for moderation. In the moderation dialog box (Postorius) I can see the attachment and can also open it locally for review. I then accept the mail for list delivery and when delivered the PDF attachment is gone.
The resulting mail structure looks like this: ``` [...] From: [...] Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Message-Id: [...] References: [...] To: <test-mailman3-list> Date: Mon, 20 Apr 2020 09:33:12 +0200 X-Mailer: Apple Mail (2.3273) [...] X-MailFrom: [...] X-Mailman-Rule-Hits: nonmember-moderationX-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation
Message-ID-Hash: [...] X-Message-ID-Hash: [...] X-Mailman-Approved-At: Mon, 20 Apr 2020 17:09:31 +0200 X-Content-Filtered-By: Mailman/MimeDel 3.3.0 X-Mailman-Version: 3.3.0 Precedence: list Subject: =?utf-8?q?=5BTest-Klasse=5D_?= Fwd: [...] List-Id: [...] Archived-At: [...] List-Archive: [...] List-Help: [...] List-Post: NO List-Subscribe: [...] List-Unsubscribe: [...] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 [...] [... base64 encoded utf8 text ...] ```Does this ring a bell for someone? Is it a known issue that has been fixed after 3.3.0 was released? Or is it a new phenomenon that needs to be tracked down?
light+love Mike -- DAS-NETZWERKTEAM c\o Technik- und Ökologiezentrum Eckernförde Mike Gabriel, Marienthaler Str. 17, 24340 Eckernförde mobile: +49 (1520) 1976 148 landline: +49 (4351) 850 8940 GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31 mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de
pgpSsi4yTschJ.pgp
Description: Digitale PGP-Signatur
_______________________________________________ Mailman-Developers mailing list -- mailman-developers@python.org To unsubscribe send an email to mailman-developers-le...@python.org https://mail.python.org/mailman3/lists/mailman-developers.python.org/ Mailman FAQ: https://wiki.list.org/x/AgA3 Security Policy: https://wiki.list.org/x/QIA9