Re: Problem with draft mails when using offlineimap
[notmuch-archives.git] / 37 / 1331d14d46f7e2a6bbca28b71cef6594d494a9
1 Return-Path: <michael.hudson@canonical.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 D0DD0431FAF\r
6         for <notmuch@notmuchmail.org>; Tue, 18 Nov 2014 19:33:15 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -2.3\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3] 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 IYbcYlUW2yEn for <notmuch@notmuchmail.org>;\r
16         Tue, 18 Nov 2014 19:33:08 -0800 (PST)\r
17 X-Greylist: delayed 960 seconds by postgrey-1.32 at olra;\r
18         Tue, 18 Nov 2014 19:33:08 PST\r
19 Received: from youngberry.canonical.com (youngberry.canonical.com\r
20         [91.189.89.112])\r
21         by olra.theworths.org (Postfix) with ESMTP id 8EDFE431FAE\r
22         for <notmuch@notmuchmail.org>; Tue, 18 Nov 2014 19:33:08 -0800 (PST)\r
23 Received: from ip-64-134-25-165.public.wayport.net ([64.134.25.165]\r
24         helo=narsil) by youngberry.canonical.com with esmtpsa\r
25         (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71)\r
26         (envelope-from <michael.hudson@canonical.com>)\r
27         id 1XqvlS-0002mE-N3; Wed, 19 Nov 2014 03:17:06 +0000\r
28 Received: by narsil (Postfix, from userid 1000)\r
29         id A6CB51601AE3; Tue, 18 Nov 2014 21:17:05 -0600 (CST)\r
30 From: Michael Hudson-Doyle <michael.hudson@canonical.com>\r
31 To: Jameson Graef Rollins <jrollins@finestructure.net>,\r
32         Notmuch Mail <notmuch@notmuchmail.org>\r
33 Subject: Re: auto-choosing reply addresses in notmuch-emacs\r
34 In-Reply-To: <87vbmhmrnb.fsf@servo.finestructure.net>\r
35 References: <87vbmhmrnb.fsf@servo.finestructure.net>\r
36 User-Agent: Notmuch/0.18 (http://notmuchmail.org) Emacs/24.3.1\r
37         (x86_64-pc-linux-gnu)\r
38 Date: Tue, 18 Nov 2014 21:17:05 -0600\r
39 Message-ID: <87ppcjq3pq.fsf@canonical.com>\r
40 MIME-Version: 1.0\r
41 Content-Type: multipart/signed; boundary="=-=-=";\r
42         micalg=pgp-sha256; protocol="application/pgp-signature"\r
43 X-BeenThere: notmuch@notmuchmail.org\r
44 X-Mailman-Version: 2.1.13\r
45 Precedence: list\r
46 List-Id: "Use and development of the notmuch mail system."\r
47         <notmuch.notmuchmail.org>\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
51 List-Post: <mailto:notmuch@notmuchmail.org>\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
55 X-List-Received-Date: Wed, 19 Nov 2014 03:33:16 -0000\r
56 \r
57 --=-=-=\r
58 Content-Type: text/plain\r
59 \r
60 Jameson Graef Rollins <jrollins@finestructure.net> writes:\r
61 \r
62 > Hi, folks.  I wonder if anyone knows of a way to tell the emacs client\r
63 > to use different email addresses to respond to mail from different\r
64 > sources.  So for instance, I would like to respond to mail to one\r
65 > mailing list from one address, and to another mailing list from a\r
66 > different address.  Ideally I would be able to set up some sort of\r
67 > filter rules such that if the mail is from ".*@example.com" I would\r
68 > respond with my me@example.com address, and if the mail is from\r
69 > ".*@example.org" I would respond with my jrollins@finestructure.net\r
70 > address.\r
71 >\r
72 > Does anyone already do anything like this?  I would how hard it would be\r
73 > to setup built-in support for something like that.  Given that notmuch\r
74 > generates replies, maybe we could add it to the notmuch cli somehow,\r
75 > with some new config fields?\r
76 \r
77 You can use gnus-alias for this.  Put\r
78 \r
79 (autoload 'gnus-alias-determine-identity "gnus-alias" "" t)\r
80 (add-hook 'message-setup-hook 'gnus-alias-determine-identity)\r
81 \r
82 in .emacs and then M-x customize-group gnus-alias.  I would be more\r
83 helpful but I no longer need this functionality and have forgotten how\r
84 it works :)\r
85 \r
86 Cheers,\r
87 mwh\r
88 \r
89 --=-=-=\r
90 Content-Type: application/pgp-signature\r
91 \r
92 -----BEGIN PGP SIGNATURE-----\r
93 Version: GnuPG v1\r
94 \r
95 iQIcBAEBCAAGBQJUbAuxAAoJEBHfQpTMo5iTRZMP/RBQ8XlzRqhCDIwyqLCZW06o\r
96 pjvuqWwgdlAEThVjBkQnBS+MJ0vARMYx7xXyFEc5cgGjHj+0YDRc7eKUBytbdC0c\r
97 zKF33pqG7uLG2zUL5N+dzZho/YmktlNnQNg229aWqFQ8+FzEoPG9M/0Fusg/Bw96\r
98 m8UgTTmq+AaysDptNGT0PjyvDpxbmtKdc42VeVt5FDfaha5FeXt5guF3KBbmcI1W\r
99 /0RRAdO1TeoCR+W34gm4Kahpvqni3Cn8JQP7FTqNCPDqJSw1tUNNFuQiJchqcwxX\r
100 /ufLHe/GM0ESBMxtoEAnIHL4DWO3bbnHQCC4/MNjaN65VzstFLjRueZ1A0WAFBi6\r
101 ooVQzsWBcMFWP+hyXewyyA1xd5lLoLduBm5HNXpsclKeG7UOVjCoPMVYmtLG4Cac\r
102 EzKzEGzxAZ9/4S5IOxAe6vgen6gSnfRbT4KqYGJPRAmd6T4mfxLaGqTiGqwvnqY5\r
103 qLtp1r9WiahWT4Fuohg45YF9a5b6Ew8O1ILUXZotWzvvAVeZmQrvSSDZSXHZWrde\r
104 2ojbsSZ+kGhZ5FeytPrzPFKrUESGOf5h9X8qcf84mxp6G4wpmGZq83N4/rWUjdty\r
105 9rNNgUUSTLTt9UE1EpZUPS0ljeYEQC7cXO/TN5ZRdiIwKbsf02oTTLHUzF12iq7s\r
106 FOXACKSictWSRHwnwsJ9\r
107 =A27w\r
108 -----END PGP SIGNATURE-----\r
109 --=-=-=--\r