Re: exim pipe transport, notmuch insert and mbox-style messages

Subject: Re: exim pipe transport, notmuch insert and mbox-style messages

Date: Sun, 23 Nov 2014 12:20:40 +0200

To: Edward Betts, notmuch@notmuchmail.org

Cc:

From: Tomi Ollila


On Sat, Nov 22 2014, Edward Betts wrote:

> My mail arrives on a Debian machine running exim. It was being filtered
> by procmail then piped into 'notmuch insert'. This was generating the
> single-message mbox warning:
>
>> Warning: ...  is an mbox containing a single message,
>> likely caused by misconfigured mail delivery.  Support for single-message
>> mboxes is deprecated and may be removed in the future.
>

I personally would like to see this feature undeprecated, as I see no
reason accepting such messages...

Tomi


> I wonder if 'notmuch insert' could be modified to detect and drop the From_
> line before writing the message to disk and index it. It could do that
> silently or with a warning.
>
> -- 
> Edward.

Thread: