1 Return-Path: <david@tethera.net>
\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 arlo.cworth.org (Postfix) with ESMTP id 113CE6DE175C
\r
6 for <notmuch@notmuchmail.org>; Sun, 19 Jul 2015 01:04:23 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=0.165 tagged_above=-999 required=5 tests=[AWL=0.165]
\r
13 Received: from arlo.cworth.org ([127.0.0.1])
\r
14 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id 4Repz8ubW3c1 for <notmuch@notmuchmail.org>;
\r
16 Sun, 19 Jul 2015 01:04:20 -0700 (PDT)
\r
17 Received: from gitolite.debian.net (gitolite.debian.net [87.98.215.224])
\r
18 by arlo.cworth.org (Postfix) with ESMTPS id CA8AE6DE173B
\r
19 for <notmuch@notmuchmail.org>; Sun, 19 Jul 2015 01:04:19 -0700 (PDT)
\r
20 Received: from remotemail by gitolite.debian.net with local (Exim 4.80)
\r
21 (envelope-from <david@tethera.net>)
\r
22 id 1ZGjZB-0007dh-8f; Sun, 19 Jul 2015 08:03:21 +0000
\r
23 Received: (nullmailer pid 18288 invoked by uid 1000); Sun, 19 Jul 2015
\r
25 From: David Bremner <david@tethera.net>
\r
26 To: mailinglists@nawaz.org, notmuch@notmuchmail.org
\r
27 Subject: Re: Modify message after send...?
\r
28 In-Reply-To: <878uacpwse.fsf@fester.com>
\r
29 References: <878uacpwse.fsf@fester.com>
\r
30 User-Agent: Notmuch/0.20.2 (http://notmuchmail.org) Emacs/24.5.1
\r
31 (x86_64-pc-linux-gnu)
\r
32 Date: Sun, 19 Jul 2015 09:59:44 +0200
\r
33 Message-ID: <87a8uswpan.fsf@maritornes.cs.unb.ca>
\r
35 Content-Type: text/plain
\r
36 X-BeenThere: notmuch@notmuchmail.org
\r
37 X-Mailman-Version: 2.1.18
\r
39 List-Id: "Use and development of the notmuch mail system."
\r
40 <notmuch.notmuchmail.org>
\r
41 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
42 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
43 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
44 List-Post: <mailto:notmuch@notmuchmail.org>
\r
45 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
46 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
47 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
48 X-List-Received-Date: Sun, 19 Jul 2015 08:04:23 -0000
\r
50 mailinglists@nawaz.org writes:
\r
52 > BTW, all I really want to do is modify the From: field based on the
\r
53 > recipients (for every email, with no default From). I'll welcome
\r
54 > suggestions for existing ways to do that. I Googled a little, but didn't
\r
55 > find a clear good solution. Furthermore, I expect over time the rules by
\r
56 > which I pick the From: field will get more complex than my knowledge of
\r
59 I'm afraid it's a bit "some-assembly-required", but let me mention one
\r
62 At least if you just want to have a regular expression match on the
\r
63 recipient, then the example configuration in message-templ [1] may be
\r
64 enough to get you started. You'd have to either call
\r
65 message-templ-config-exec in a hook, or bind it to a key and call it
\r
66 manually to set up the headers before sending.
\r
68 [1]: http://pivot.cs.unb.ca/git?p=message-templ.git;a=tree
\r