1 Return-Path: <jani@nikula.org>
\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 5A94E431FBD
\r
6 for <notmuch@notmuchmail.org>; Thu, 2 Feb 2012 09:27:04 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id gs2SJvR155bP for <notmuch@notmuchmail.org>;
\r
16 Thu, 2 Feb 2012 09:27:03 -0800 (PST)
\r
17 Received: from mail-lpp01m010-f53.google.com (mail-lpp01m010-f53.google.com
\r
18 [209.85.215.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 76C1B431FAE
\r
21 for <notmuch@notmuchmail.org>; Thu, 2 Feb 2012 09:27:03 -0800 (PST)
\r
22 Received: by lahd3 with SMTP id d3so1526818lah.26
\r
23 for <notmuch@notmuchmail.org>; Thu, 02 Feb 2012 09:27:01 -0800 (PST)
\r
24 Received: by 10.112.40.200 with SMTP id z8mr994969lbk.93.1328203621673;
\r
25 Thu, 02 Feb 2012 09:27:01 -0800 (PST)
\r
26 Received: from localhost (dsl-hkibrasgw4-fe50f800-253.dhcp.inet.fi.
\r
28 by mx.google.com with ESMTPS id xz3sm2498907lab.7.2012.02.02.09.26.59
\r
29 (version=SSLv3 cipher=OTHER); Thu, 02 Feb 2012 09:27:00 -0800 (PST)
\r
30 From: Jani Nikula <jani@nikula.org>
\r
31 To: Simon Campese <notmuchmail_org@campese.de>, notmuch@notmuchmail.org
\r
32 Subject: Re: Set "From" based on "To" when replying
\r
33 In-Reply-To: <87obtx5as1.fsf@tu-dortmund.de>
\r
34 References: <87obtx5as1.fsf@tu-dortmund.de>
\r
35 User-Agent: Notmuch/0.11+139~g4340989 (http://notmuchmail.org) Emacs/23.3.1
\r
37 Date: Thu, 02 Feb 2012 19:26:53 +0200
\r
38 Message-ID: <87obthxi1u.fsf@nikula.org>
\r
40 Content-Type: text/plain; charset=us-ascii
\r
41 X-BeenThere: notmuch@notmuchmail.org
\r
42 X-Mailman-Version: 2.1.13
\r
44 List-Id: "Use and development of the notmuch mail system."
\r
45 <notmuch.notmuchmail.org>
\r
46 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
47 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
48 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
49 List-Post: <mailto:notmuch@notmuchmail.org>
\r
50 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
51 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
52 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
53 X-List-Received-Date: Thu, 02 Feb 2012 17:27:04 -0000
\r
55 On Sat, 21 Jan 2012 16:35:10 +0100, Simon Campese <notmuchmail_org@campese.de> wrote:
\r
58 > I've got my own domain and when registering or shopping at some website,
\r
59 > I always use email addresses of the form "websitename@mydomain.org", so
\r
60 > for example I use "amazon@mydomain.org" when shopping at amazon. The
\r
61 > reason for this is categorizing incoming mail on the one hand, and
\r
62 > immediately being able to spot the source of spam on the other hand.
\r
64 > I would like to implement the following behaviour: When replying to a
\r
65 > mail that has "something@mydomain.org" in the "To"-header, I would like
\r
66 > to have the "From"-header of the reply to be automatically set to this
\r
69 > Is there some kind of reply-hook in notmuch where one could put an
\r
70 > appropriate function?
\r
72 Do you have all those email addresses in the user.other_email
\r
73 configuration option in your ~/.notmuch-config? It should do the trick,
\r
74 though I can see that it might get a bit tedious if you use plenty of
\r
75 email addresses like above.
\r