David Bremner <david@tethera.net> writes: > Eirik Byrkjeflot Anonsen <eirik@eirikba.org> writes: > >> >> Or, notmuch could just look at the first line of the file. If it starts >> with "From ", it is an mbox. If it starts with a reasonable mail header, >> it is not an mbox. If it is neither, fall back to the old heuristics. >> > > FTR, this is what happens now (although iirc the actual check is done by > GMime). So maybe I'm missing some context here. Re-reading, I guess your point is maybe that we should ignore successive unescaped "From "? We're really trapped a bit by wanting to support single message mboxes. We tried to remove this support at one point, but this caused so much problems we put it back. d _______________________________________________ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch