Your message dated Tue, 10 Nov 2026 04:49:11 +0000
with message-id <[email protected]>
and subject line Bug#1153100: fixed in mairix 0.24+git20260522-2
has caused the Debian Bug report #1153100,
regarding mairix: incorrect parsing of multipart MIME messages due to
Content-Transfer-Encoding in the main headers
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1153100: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1153100
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mairix
Version: 0.24+git20260522-1
Severity: important
When I run mairix, I get many parsing errors. See the attached testcase,
which is an archived "test" maildir directory with a single message:
------------------------------------------------------------------------
From: [email protected]
To: [email protected]
Subject: test
Date: Tue, 24 Dec 2019 09:06:06 +0100
Content-Type: multipart/mixed;
boundary="a1e1a426b4e573a063c94639eec8fca7"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
MIME-Version: 1.0
--a1e1a426b4e573a063c94639eec8fca7
Content-Type: text/html; charset=UTF-8
Content-Disposition: inline
--a1e1a426b4e573a063c94639eec8fca7
Content-Type: text/plain
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="De_.txt"
YWJj
--a1e1a426b4e573a063c94639eec8fca7--
------------------------------------------------------------------------
Using
disset:/tmp> cat mairixrc
base=/tmp
maildir=test
mfolder=vfolder
mformat=maildir
database=/tmp/mairix.db
it can be tested with:
disset:/tmp> rm -f mairix.db mairix.err && mairix -f mairixrc 2> mairix.err
The output mairix.err file contains:
Got null character whilst processing header of
/tmp/test/cur/1793874839.498391_1.qaa:2,S
Giving up on attachment with bad header in
/tmp/test/cur/1793874839.498391_1.qaa:2,S
Header 'content-disposition: attachment; filename^Me_.txt"' in
/tmp/test/cur/1793874839.498391_1.qaa:2,S could not be parsed
where ^M is the control character of ASCII code 13.
First, "Got null character" is wrong: there are no null characters.
Moreover, the header string
content-disposition: attachment; filename^Me_.txt"
is also incorrect. These issues are due to the main
Content-Transfer-Encoding: quoted-printable
header, which makes mairix interpret the "=" character in the
attachments as being the start of an encoded quoted-printable
character.
I'm not sure about what the RFCs say, but AFAIK, the main
"Content-Transfer-Encoding:" header applies only to the
text before the first attachment (such text is normally
informative text for MUAs that do not support MIME).
-- System Information:
Debian Release: forky/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500,
'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'),
(500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 7.2.15+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages mairix depends on:
ii libbz2-1.0 1.0.8-6+b2
ii libc6 2.43-7
ii liblzma5 5.8.4-1
ii zlib1g 1:1.3.dfsg+really1.3.2-4
mairix recommends no packages.
mairix suggests no packages.
-- no debconf information
--
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)
test.tar.xz
Description: Binary data
--- End Message ---
--- Begin Message ---
Source: mairix
Source-Version: 0.24+git20260522-2
Done: Benjamin Mako Hill <[email protected]>
We believe that the bug you reported is fixed in the latest version of
mairix, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Benjamin Mako Hill <[email protected]> (supplier of updated mairix package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 09 Nov 2026 20:26:47 -0800
Source: mairix
Architecture: source
Version: 0.24+git20260522-2
Distribution: unstable
Urgency: medium
Maintainer: Benjamin Mako Hill <[email protected]>
Changed-By: Benjamin Mako Hill <[email protected]>
Closes: 345358 419554 666870 958076 1153100
Changes:
mairix (0.24+git20260522-2) unstable; urgency=medium
.
* Ignore Content-Transfer-Encoding on multipart entities, as RFC 2045
requires. A bogus quoted-printable encoding on the top-level multipart
corrupted part headers and hid boundaries containing '=', so such
messages were not indexed (Closes: #1153100).
* IMAP: do not require the AUTH=PLAIN capability for LOGIN; check for
LOGINDISABLED instead (Closes: #958076).
* Honor TMPDIR when decompressing compressed mboxes (Closes: #666870).
* Handle an empty stale lock file and name the lock file in the error
message (Closes: #345358).
* Name the database file and say how to rebuild it when it was written
by another version of mairix (Closes: #419554).
* Switch from single-debian-patch to a quilt series: the configure and
mairix.1 changes from -1 and the fixes above are now separate DEP-3
patches under debian/patches.
Checksums-Sha1:
b17b299dee714d6e8ea780662fc3d63e7bebdaa3 2221 mairix_0.24+git20260522-2.dsc
b73c4523718e8c31e358433cf3ea5946ef3adf92 10056
mairix_0.24+git20260522-2.debian.tar.xz
27f3ecbd65d75e9b6ed66fa57cc1fc58a8620b4a 504232
mairix_0.24+git20260522-2.git.tar.xz
62b852244373178d1c0c05e810693e0455c533a3 17777
mairix_0.24+git20260522-2_source.buildinfo
Checksums-Sha256:
b3f3699596211536d5cd960c4324905e695685467de6bedcf282c1592874e9b8 2221
mairix_0.24+git20260522-2.dsc
72e62d9bb8b573f2d9726b517e85de7a976ead7f7fc2c6a820021890025eaf8e 10056
mairix_0.24+git20260522-2.debian.tar.xz
40b0253ee242ceeaa05007edcbb7dbeffedd558c0ea311b60653475fe9492921 504232
mairix_0.24+git20260522-2.git.tar.xz
c635a05c5dd655d8780bd0b7568d3d45eea7c69d310239209ec9537aadd50b60 17777
mairix_0.24+git20260522-2_source.buildinfo
Files:
6a47bf9d14f761c6422a602a036df7c3 2221 mail optional
mairix_0.24+git20260522-2.dsc
5175892ea0bfd9cc2fb7042465d96d64 10056 mail optional
mairix_0.24+git20260522-2.debian.tar.xz
0fa1b8bd3d213fb17d1c8c92989b9859 504232 mail optional
mairix_0.24+git20260522-2.git.tar.xz
180e8830bea9e4d1e281ee1256a40602 17777 mail optional
mairix_0.24+git20260522-2_source.buildinfo
Git-Tag-Info: tag=64e8f732c5ac5d314a1362b8b5b87bcc28aae539
fp=7c6b0c82b0fea3b8908b5b91bbe9bfa269be5935
Git-Tag-Tagger: Benjamin Mako Hill <[email protected]>
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmryncQACgkQYG0ITkaD
wHk9xQ/7B7kzHLncrqBcWBnW9PksEbrmEwmG+FbvQgjes7WsVnQzYYEsxHo76zSI
HK3pxXB77tzq/Hl5HO+ywzqHhG74zX7c//3JR40k1z1SVrqp8tsTzA5ZLa6teBCv
uEHqOvLxbYn9WGzxexd+sHUmzPACynZU7Tg54ue5k+3LEZwKAN1MFkNsEqzDw2Zi
ns8TZ//5UuQxASugkdL98N+7CRt7wGVesOKbruGVUdyMDYnioxRqFSpIjdX0BbFr
xfefZ+4QweazfzI2ZKHPONB232s8DBsoBiaKxj8dq+qQwJC0nNBFfjPNG8QAOrEF
iRJEBYEyLpsP8d/dLflTulPCeo5bEZy4fWBwIV/kk5jWFnWgx7BCNCTzvtzcA3Sn
U0ya6uPsrOwKem90+cIqhBJdoOgQT9NS+7LVJfbaJQR6mNGXppjwtXXyjlKc3FdI
1H9UOZVJ4o17JjUK+ftElhCg7S44F2VkDooWhza7vuArlCiCJM8QIwfY6bUJ8xuo
HD2w2PGzkRCRzq401IzBPKe5RGvC00KmaeLQUYdnQXErNKYn5+8Kls5SBZiMGQ8g
gzUd8y/9g4foaKNa2aWYb15KCUlm70EcRZ3H8TkptlCNa85I/nw9rmN9HFUvNSuD
VLNSYn0etwJan3ZaQYy+R4bwDGsJ/0nCaxX9eSqsdFSEepqsiLA=
=J+fM
-----END PGP SIGNATURE-----
pgpAbhIUEtRUC.pgp
Description: PGP signature
--- End Message ---