Article View: linux.debian.bugs.dist
Article #3358Bug#1153100: mairix: incorrect parsing of multipart MIME messages due to Content-Transfer-Encoding in the main headers
From: Benj. Mako Hill
Date: Thu, 05 Nov 2026 18:10
Date: Thu, 05 Nov 2026 18:10
67 lines
4904 bytes
4904 bytes
--qrvep5erdkalbnnk
Content-Type: text/plain; protected-headers=v1; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Subject: Re: Bug#1153100: mairix: incorrect parsing of multipart MIME
messages due to Content-Transfer-Encoding in the main headers
MIME-Version: 1.0
Greetings!
Thanks for reporting this and for the work to debug this and provide
more detail. I have built a working patch based on your fix
here. I'm going to try to integrate it into a couple of other things
and will push out a test soon.
Thanks for your help and support in the project of maintaining mairix
in Debian!
Later,
Mako
{"quotation": {"who": "Vincent Lefevre", "date": "Thu, Nov 05, 2026 at 05:0=
7:47PM +0100"}}
> Control: retitle -1 mairix: incorrect parsing of multipart MIME messages =
due to Content-Transfer-Encoding in the main headers
> Control: tags -1 upstream
> Control: forwarded -1 https://github.com/vandry/mairix/issues/43
>=20
> I've reported the bug upstream, with a testcase as a shell script
> (so it is easier to test), also attached here.
>=20
> As I've said there, the "Content-Transfer-Encoding: quoted-printable"
> header is invalid. However, it occurs in practice, and a user who
> receives such mail is not responsible. So mairix should be robust and
> handle this case gracefully by ignoring this useless/misleading header.
> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
> Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)
--=20
Benjamin Mako Hill
https://mako.cc/
--qrvep5erdkalbnnk
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEfGsMgrD+o7iQi1uRu+m/omm+WTUFAmrsxIcACgkQu+m/omm+
WTUxrxAAizFcm+1Grv/SPtRMr60soIsr9ko4RKJm48NqHNlnsm0AwWXWAooP1K/j
P2veLWI+uUZtsgXA4BMbCN5TLMywrlESMqN9QoJtkaZFl+G+pagHINzfTsVKNI3Y
3RiwU+w5nobga8YmLTBw6EqnzmzOE/OMS0OEgWDzCdcQvr+utl0R3V5woTBgP2nn
u7fWD+faRnSc59DLwN0R4zW9LCVxCN5e1MO2EXAZSrWGx/Mz0ob79Yysmh3niMNb
LYj3QvysornBzJNuCInhgzPJKgw10isEKhiZIq3XjddJ0oxGCa0tnPV5GfNjNifs
V5Cy9YnSJOL+l84OooJPd3FhefTbWcpH9QFFGG0cwhhTTeVrD4brRUREbkvtGI0J
xku+lYDG0Da/AP47BVLVK2xy/91QjE2o1END7+irIy5iwBt/2mhy+tIAbfJ4zljo
F3xcdgz0EXC+8Rs01i/qgp5tMiZ/X2YbMW1ly4qq/NldH1RI8gO+wAFFZlOoGZoh
aGft7ZdKUrXOnrPTXveISQiK3ioylfgJtkmSwL12k8Yu7UyLMz1H4CVLZ2akBtsV
K9vFuS6AM6//TCKNHFMq6I/YJjo5XrUK5yAW2KV53OQXKLqL8EhWAXOSKCsJVbhC
8wd25bvRxhQV7GAhZ9K339H6iHY/pAn8bcJ5Z0Hzo/l7d6Tamzc=
=JmxO
-----END PGP SIGNATURE-----
--qrvep5erdkalbnnk--
Technical Details
Message-ID:
<NWa4q-a2c6-9@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomodReferences:
<NW4BH-9Zkf-9@gated-at.bofh.it> <NW4V3-9Zr5-7@gated-at.bofh.it> <NW6tP-a0gE-1@gated-at.bofh.it> <NW4BH-9Zkf-9@gated-at.bofh.it> <NW8ch-a1df-7@gated-at.bofh.it> <NW4BH-9Zkf-9@gated-at.bofh.it> <NW8ch-a1df-7@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod From: "Benj. Mako Hill" <mako@atdot.cc> Newsgroups: linux.debian.bugs.dist Subject: Bug#1153100: mairix: incorrect parsing of multipart MIME messages due to Content-Transfer-Encoding in the main headers Date: Thu, 05 Nov 2026 19:10:02 +0100 Message-ID: <NWa4q-a2c6-9@gated-at.bofh.it> References: <NW4BH-9Zkf-9@gated-at.bofh.it> <NW4V3-9Zr5-7@gated-at.bofh.it> <NW6tP-a0gE-1@gated-at.bofh.it> <NW4BH-9Zkf-9@gated-at.bofh.it> <NW8ch-a1df-7@gated-at.bofh.it> <NW4BH-9Zkf-9@gated-at.bofh.it> <NW8ch-a1df-7@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Thu Nov 5 18:09:07 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.45 Reply-To: "Benj. Mako Hill" <mako@atdot.cc>, 1153100@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: mako@debian.org X-Debian-Pr-Message: followup 1153100 X-Debian-Pr-Package: mairix X-Debian-Pr-Keywords: upstream X-Debian-Pr-Source: mairix MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="qrvep5erdkalbnnk" Content-Disposition: inline X-Greylist: delayed 365 seconds by postgrey-1.37 at buxtehude; Thu, 05 Nov 2026 18:07:55 UTC X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2000847 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 67 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: 1153100@bugs.debian.org X-Original-Date: Thu, 5 Nov 2026 10:01:48 -0800 X-Original-Message-ID: <dkdlvc6zl7er32ohhbpneewrqytr42hanzmlbyoxyefk3corcm@kqkaawhd7t5f> X-Original-References: <20261105121708.GA36370@disset.lip.ens-lyon.fr> <20261105122455.GA2525@disset.lip.ens-lyon.fr> <20261105141547.GB498269@qaa.vinc17.org> <20261105121708.GA36370@disset.lip.ens-lyon.fr> <20261105160747.GC498269@qaa.vinc17.org> <20261105121708.GA36370@disset.lip.ens-lyon.fr> <20261105160747.GC498269@qaa.vinc17.org>