Re: allow disabling the check for multi-message mboxes

Subject: Re: allow disabling the check for multi-message mboxes

Date: Tue, 08 Feb 2022 16:58:45 -0400

To: notmuch@notmuchmail.org

Cc:

From: David Bremner


David Bremner <david@tethera.net> writes:

> Notmuch tries to prevent users from shooting themselves in the foot by
> indexing mboxes containing multiple messages. On the other hand some
> MTAs (notably common configurations of postfix) like to deliver mail
> to file the looks like mboxes. This can occasionaly cause problems
> where notmuch thinks a file is an mbox, but it really isn't (see patch
> 2/6).  This series makes the corresponding check optional, while
> defaulting to preserving the current behaviour.

As a complementary approach, perhaps notmuch insert should escape the
enveloper header so that notmuch does not deliver messages it cannot
index. I guess the question is what other client software expects the
files to start with "From "

d
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: