From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 812E4431FC2 for ; Sun, 23 Nov 2014 02:20:56 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XO3Vwlq31RTm for ; Sun, 23 Nov 2014 02:20:51 -0800 (PST) Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) by olra.theworths.org (Postfix) with ESMTP id 9F7AC431FBC for ; Sun, 23 Nov 2014 02:20:51 -0800 (PST) Received: from guru.guru-group.fi (localhost [IPv6:::1]) by guru.guru-group.fi (Postfix) with ESMTP id 1821B100090; Sun, 23 Nov 2014 12:20:41 +0200 (EET) From: Tomi Ollila To: Edward Betts , notmuch@notmuchmail.org Subject: Re: exim pipe transport, notmuch insert and mbox-style messages In-Reply-To: <20141122092851.GA31815@x230> References: <20141122092851.GA31815@x230> User-Agent: Notmuch/0.19+6~g8725b09 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-unknown-linux-gnu) X-Face: HhBM'cA~ MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Nov 2014 10:20:56 -0000 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.