1 Return-Path: <andreimpopescu@gmail.com>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 17909431FBF
\r
6 for <notmuch@notmuchmail.org>; Sat, 22 Nov 2014 08:26:28 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id ors-nFQt7+Qx for <notmuch@notmuchmail.org>;
\r
17 Sat, 22 Nov 2014 08:26:20 -0800 (PST)
\r
18 Received: from mail-wg0-f53.google.com (mail-wg0-f53.google.com
\r
19 [74.125.82.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client
\r
20 certificate requested) by olra.theworths.org (Postfix) with ESMTPS id
\r
21 750CB431FBC for <notmuch@notmuchmail.org>; Sat, 22 Nov 2014 08:26:20 -0800
\r
23 Received: by mail-wg0-f53.google.com with SMTP id l18so8880966wgh.40
\r
24 for <notmuch@notmuchmail.org>; Sat, 22 Nov 2014 08:26:19 -0800 (PST)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
\r
26 h=from:date:to:subject:message-id:references:mime-version
\r
27 :content-type:content-disposition:in-reply-to:user-agent;
\r
28 bh=9kG/RK4V+WrlEpJ0XJZRC8t1IAU74gAFowhQwzLe4HM=;
\r
29 b=rtlN2kcrpLrhXxbSPntr4NWz4ZqEcQeIgKW3XxtHF7oKU5ma2NLOTMqivJCIU1BOxH
\r
30 HshJ9HhkpeUATKdHjzowNrZ6BlNX2kQup0vNdrOJH12b5E9caX4NVEMJ9hRxbaZvcoXg
\r
31 lgQY4i+YhOfjdotZSAfJNlF4i+fBY41RJUkQlSnzLJd5unY/gv/KImpC5OqP26xhFqf1
\r
32 Wnv0g+UedEP3FpeWIBJTu3u3wjmG4JqjcZ6s8CVU310JpVQ4bodBOqASogFPna8XLU4k
\r
33 RaxnTbKu1p/1WFum5O/G1nInZw/pMATMnx4BFECKpejCYBFN8e5yIGb6xXLhIoquuSkz
\r
35 X-Received: by 10.194.110.161 with SMTP id ib1mr19058593wjb.78.1416673579123;
\r
36 Sat, 22 Nov 2014 08:26:19 -0800 (PST)
\r
37 Received: from sid.nuvreauspam ([92.86.142.199])
\r
38 by mx.google.com with ESMTPSA id n4sm3814543wiz.17.2014.11.22.08.26.17
\r
39 for <notmuch@notmuchmail.org>
\r
40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
\r
41 Sat, 22 Nov 2014 08:26:17 -0800 (PST)
\r
42 From: Andrei POPESCU <andreimpopescu@gmail.com>
\r
43 X-Google-Original-From: Andrei POPESCU <amp@sid.nuvreauspam>
\r
44 Date: Sat, 22 Nov 2014 18:26:15 +0200
\r
45 To: notmuch@notmuchmail.org
\r
46 Subject: Re: exim pipe transport, notmuch insert and mbox-style messages
\r
47 Message-ID: <20141122162615.GA1209@sid.nuvreauspam>
\r
48 References: <20141122092851.GA31815@x230>
\r
49 <87tx1r7enm.fsf@maritornes.cs.unb.ca>
\r
51 Content-Type: multipart/signed; micalg=pgp-sha256;
\r
52 protocol="application/pgp-signature"; boundary="+0KmLy8UubQqhxHi"
\r
53 Content-Disposition: inline
\r
54 In-Reply-To: <87tx1r7enm.fsf@maritornes.cs.unb.ca>
\r
55 User-Agent: Mutt/1.5.23 (2014-03-12)
\r
56 X-BeenThere: notmuch@notmuchmail.org
\r
57 X-Mailman-Version: 2.1.13
\r
59 List-Id: "Use and development of the notmuch mail system."
\r
60 <notmuch.notmuchmail.org>
\r
61 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
62 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
63 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
64 List-Post: <mailto:notmuch@notmuchmail.org>
\r
65 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
66 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
67 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
68 X-List-Received-Date: Sat, 22 Nov 2014 16:26:28 -0000
\r
72 Content-Type: text/plain; charset=us-ascii
\r
73 Content-Disposition: inline
\r
74 Content-Transfer-Encoding: quoted-printable
\r
76 On Sb, 22 nov 14, 10:44:45, David Bremner wrote:
\r
77 > Edward Betts <edward@4angle.com> writes:
\r
80 > > I wonder if 'notmuch insert' could be modified to detect and drop the F=
\r
82 > > line before writing the message to disk and index it. It could do that
\r
83 > > silently or with a warning.
\r
85 > I don't know about the larger question(s), but I'd suggest just escaping
\r
86 > it to something like X-Envelope-From: . There may even be some
\r
87 > semi-standard header to use for this.
\r
89 I had the same problem with postfix + maildrop, as local(8)=20
\r
90 unconditionally adds the 'From ' header when delivering to an external=20
\r
91 command and upstream did not consider my suggestion to make this=20
\r
92 configurable. The work-arounds I came up with:
\r
94 1. use 'reformail -f0' as suggested in maildrop(1)
\r
99 Any initial blank lines are removed. If the first non-blank line is a=
\r
101 "From_" line, it gets converted to a "Return-Path:" header, and any
\r
102 existing "Return-Path:" header gets removed. If the message does not=20
\r
103 start with a "From_" line, the message remains unchanged.
\r
105 2. adjust the 'maildrop' destination in postfix' master.cf to remove the=20
\r
110 F Prepend a "From sender time_stamp" envelope header to the=20
\r
111 message content. This is expected by, for example, UUCP
\r
114 3. Deliver from postfix to a Maildir, bypassing any filtering.
\r
119 If you can't explain it simply, you don't understand it well enough.
\r
121 http://nuvreauspam.ro/gpg-transition.txt
\r
124 Content-Type: application/pgp-signature; name="signature.asc"
\r
125 Content-Description: Digital signature
\r
127 -----BEGIN PGP SIGNATURE-----
\r
130 iQIcBAEBCAAGBQJUcLknAAoJEP/HhUTvIjQcFFQP/2FFUe6QFHxY60MssOhvw0xc
\r
131 ddpGRKpYMMdS59aEr7FXAB/ztfMczuD3tBpytoPYdk9qrKX1HUs3PqcNL7dU1iNA
\r
132 M1GjVCHvwZbfABma/R2DFug6HKVSWP2b+iOl04/Ib4+LJGB3I3IMQqPetfO+IQAh
\r
133 f941MAXwEIm/Io+rNS8kCQzk/WO1rSB00McP+1b4e3PKzwj2h04Dib6Z6AzgZOmY
\r
134 AQhKdeAFVr4Y0Vf1L3nFtD4QTf3+rUdJ7xJqfwRWF8Eh18fg6kRCcK8AWk3+/Sm6
\r
135 7WbZoU0IvMRcChQZS9367nwWdB4U9O1eYbEd4LFKqllM30GMqjrbwrvZG+JAXxDZ
\r
136 SJ0EXZu9p4OJYvBNxaBzbtbJoJtYX/pP8EWgvSchVf8/w3avoVLk4iLAzsnGb8g7
\r
137 U9780FHzO0T3/1qF1zrD0aPryFlqvt6idxKteTsqIbiDUdNzgVHjYI4Pu5iq3WeZ
\r
138 jcxHxNVBudtzfIIxRocuThWY60/qcTBg7rQdyyDr3r8kls0kSNfxJoPjd7OE64EE
\r
139 ujihCcCGsOTOgFh503HiTzrH1Dz2E9lZM6QfaU37ONIbPkUzuOAiEYbNTtBJBDTP
\r
140 84ipUrjLuZfxzb9nWL1H72vOACHKCXTEd9U8FsyPQ3cYrqZbIzU8p6vNdpHPEVo0
\r
141 K8fNvNU1T1hC8SGCRgM4
\r
143 -----END PGP SIGNATURE-----
\r
145 --+0KmLy8UubQqhxHi--
\r