From: Tomi Ollila Date: Sun, 23 Nov 2014 11:08:25 +0000 (+0200) Subject: Re: exim pipe transport, notmuch insert and mbox-style messages X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d065bf73a725061159519946d452fbec68d89bb1;p=notmuch-archives.git Re: exim pipe transport, notmuch insert and mbox-style messages --- diff --git a/91/9674f103217bf99b417120d5af6739ad36f90e b/91/9674f103217bf99b417120d5af6739ad36f90e new file mode 100644 index 000000000..cfca7aadf --- /dev/null +++ b/91/9674f103217bf99b417120d5af6739ad36f90e @@ -0,0 +1,83 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 0542E431FC2 + for ; Sun, 23 Nov 2014 03:08:36 -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 oSdqVQk7e7MK for ; + Sun, 23 Nov 2014 03:08:31 -0800 (PST) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by olra.theworths.org (Postfix) with ESMTP id 229B0431FBC + for ; Sun, 23 Nov 2014 03:08:30 -0800 (PST) +Received: from guru.guru-group.fi (localhost [IPv6:::1]) + by guru.guru-group.fi (Postfix) with ESMTP id 604FF100090; + Sun, 23 Nov 2014 13:08:25 +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: +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 11:08:36 -0000 + +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 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... + ++ /// *not* \\\ + +:) + +> +> Tomi + +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.