Support for flat MH mailboxes

Olaf Hering via Mutt-dev <[email protected]> Mon, 13 Jul 2026 10:37:46 +0200
Newsgroups gmane.mail.mutt.devel
Message-ID <[email protected]>
--Sig_/_O4S0syjtwUU4PGLHzi1P.R
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Recently Claws Mail stopped to maintain ".mh_sequences" per default.
As a result a mailbox became just a flat directory with individual
numbered messages in it. There is a knob to restore the old behavior.

I wonder what it would take to support also that flat MH format.
Currently mx_is_mh() checks for certain file names, and assumes
the given directory is of format MH. Other functions write to a fixed
sequence file name, even if mx_is_mh() found some other name.


Olaf

--Sig_/_O4S0syjtwUU4PGLHzi1P.R
Content-Type: application/pgp-signature
Content-Description: Digitale Signatur von OpenPGP

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE97o7Um30LT3B+5b/86SN7mm1DoAFAmpUo9oACgkQ86SN7mm1
DoDvCw/9Htxl+v+OaNaQRJR1eT0zSzVtr+oFfEzxg5yt0T5c0A0+Mq1DzArv74fO
SJtT1CRMhaJWq7PDYA53ILZFKJdhBeeU8OS+uZ+WkVvELVsfcqy9YNn1STs00jly
2S7Ywhnuf5h9xXuulF/q7bjsSv64lbd82M//BQ3Xqys/p6CxfI6fgS2qEMJ1LKj/
cvn37SmLEnmxbHnV/zkwmikNUVGQqQfVEho0yBNb98TyOW/fG6DisXLB2jbaLFxT
XLxJUHVcSRK2+r+n+ZgpgIdw2/n9HDCg2bAtAk2H5VcxlFJlfBsCgNttyhfnIYqC
N9cz202NY431C90jzYPnbvpiM1kKJ09gDX3v1ZbGEO+V/t8mKjiKvNYfce4/NNc7
UjNaYIaj8mk5qUXw3z/Dz+z/ObO4Y+iYZPbLe84YyzZ/dVSMuvU3+LWYXMX0sli0
xDeo8a38tdeD8i1/332K0NQDubaS8ypHYnJXp1k9acxCOVLgpTIoCEySMurFS9t0
wTL837xRvQtvj7dWgwDB7jZxJMQjHI6rEWUhSxDeO8JazKYlFHI44zc+VaqDODlz
tftWTUYWiSNWMfOsUvvVUfnu4xy4FRoIxJBzaZQpTH1H1dUr87RFOHbRgqGaUa/d
G1F40Ft03wmAsjDRJAwT4qHbTvgyALCD9o8FJVSlF69lK3DxmgI=
=mNdu
-----END PGP SIGNATURE-----

--Sig_/_O4S0syjtwUU4PGLHzi1P.R--