notmuch new: emails with BOM are ignored

Jani Nikula jani at nikula.org
Tue May 27 23:25:18 PDT 2014


On Wed, 28 May 2014, David Bremner <david at tethera.net> wrote:
> I've tagged this as a wishlist bug / feature request for now, until
> somebody has a chance to track down where exactly the issue is, and how
> hard it would be to fix.

My quick guess is that gmime stops header processing at that point, and
all the headers we require are after that invalid header. Our old header
parser was a bit more relaxed in that sense, and probably just skipped
the header.

If it were a real email and not spam, I'd be interested... this could be
intentional to trick a spam filter.


BR,
Jani.


More information about the notmuch mailing list