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