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

2014-11-29 Thread Edward Betts
David Bremner da...@tethera.net wrote: Edward Betts edw...@4angle.com writes: 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. I don't know about the larger

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

2014-11-29 Thread David Bremner
Edward Betts edw...@4angle.com writes: I don't think the From_ line needs to be captured into an X-Envelope-From header. We could make 'notmuch insert' add the 'Return-path' header to messages if it is missing, but the From_ line is present. This is probably too much complexity. I think

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

2014-11-23 Thread 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

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

2014-11-23 Thread Tomi Ollila
On Sun, Nov 23 2014, Tomi Ollila wrote: 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

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

2014-11-22 Thread David Bremner
Edward Betts edw...@4angle.com writes: 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. I don't know about the larger question(s), but I'd suggest just escaping it to

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

2014-11-22 Thread Andrei POPESCU
On Sb, 22 nov 14, 10:44:45, David Bremner wrote: Edward Betts edw...@4angle.com writes: 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. I don't know about