Re: notmuch new: emails with BOM are ignored

Subject: Re: notmuch new: emails with BOM are ignored

Date: Wed, 28 May 2014 09:25:18 +0300

To: David Bremner, Andreas Amann, notmuch@notmuchmail.org

Cc:

From: Jani Nikula


On Wed, 28 May 2014, David Bremner <david@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.

Thread: