Re: auto-choosing reply addresses in notmuch-emacs
authorMichael Hudson-Doyle <michael.hudson@canonical.com>
Wed, 19 Nov 2014 03:17:05 +0000 (21:17 +1800)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:46:46 +0000 (14:46 -0700)
37/1331d14d46f7e2a6bbca28b71cef6594d494a9 [new file with mode: 0644]

diff --git a/37/1331d14d46f7e2a6bbca28b71cef6594d494a9 b/37/1331d14d46f7e2a6bbca28b71cef6594d494a9
new file mode 100644 (file)
index 0000000..31d8056
--- /dev/null
@@ -0,0 +1,109 @@
+Return-Path: <michael.hudson@canonical.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id D0DD0431FAF\r
+       for <notmuch@notmuchmail.org>; Tue, 18 Nov 2014 19:33:15 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.3\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id IYbcYlUW2yEn for <notmuch@notmuchmail.org>;\r
+       Tue, 18 Nov 2014 19:33:08 -0800 (PST)\r
+X-Greylist: delayed 960 seconds by postgrey-1.32 at olra;\r
+       Tue, 18 Nov 2014 19:33:08 PST\r
+Received: from youngberry.canonical.com (youngberry.canonical.com\r
+       [91.189.89.112])\r
+       by olra.theworths.org (Postfix) with ESMTP id 8EDFE431FAE\r
+       for <notmuch@notmuchmail.org>; Tue, 18 Nov 2014 19:33:08 -0800 (PST)\r
+Received: from ip-64-134-25-165.public.wayport.net ([64.134.25.165]\r
+       helo=narsil) by youngberry.canonical.com with esmtpsa\r
+       (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71)\r
+       (envelope-from <michael.hudson@canonical.com>)\r
+       id 1XqvlS-0002mE-N3; Wed, 19 Nov 2014 03:17:06 +0000\r
+Received: by narsil (Postfix, from userid 1000)\r
+       id A6CB51601AE3; Tue, 18 Nov 2014 21:17:05 -0600 (CST)\r
+From: Michael Hudson-Doyle <michael.hudson@canonical.com>\r
+To: Jameson Graef Rollins <jrollins@finestructure.net>,\r
+       Notmuch Mail <notmuch@notmuchmail.org>\r
+Subject: Re: auto-choosing reply addresses in notmuch-emacs\r
+In-Reply-To: <87vbmhmrnb.fsf@servo.finestructure.net>\r
+References: <87vbmhmrnb.fsf@servo.finestructure.net>\r
+User-Agent: Notmuch/0.18 (http://notmuchmail.org) Emacs/24.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Tue, 18 Nov 2014 21:17:05 -0600\r
+Message-ID: <87ppcjq3pq.fsf@canonical.com>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha256; protocol="application/pgp-signature"\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\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: Wed, 19 Nov 2014 03:33:16 -0000\r
+\r
+--=-=-=\r
+Content-Type: text/plain\r
+\r
+Jameson Graef Rollins <jrollins@finestructure.net> writes:\r
+\r
+> Hi, folks.  I wonder if anyone knows of a way to tell the emacs client\r
+> to use different email addresses to respond to mail from different\r
+> sources.  So for instance, I would like to respond to mail to one\r
+> mailing list from one address, and to another mailing list from a\r
+> different address.  Ideally I would be able to set up some sort of\r
+> filter rules such that if the mail is from ".*@example.com" I would\r
+> respond with my me@example.com address, and if the mail is from\r
+> ".*@example.org" I would respond with my jrollins@finestructure.net\r
+> address.\r
+>\r
+> Does anyone already do anything like this?  I would how hard it would be\r
+> to setup built-in support for something like that.  Given that notmuch\r
+> generates replies, maybe we could add it to the notmuch cli somehow,\r
+> with some new config fields?\r
+\r
+You can use gnus-alias for this.  Put\r
+\r
+(autoload 'gnus-alias-determine-identity "gnus-alias" "" t)\r
+(add-hook 'message-setup-hook 'gnus-alias-determine-identity)\r
+\r
+in .emacs and then M-x customize-group gnus-alias.  I would be more\r
+helpful but I no longer need this functionality and have forgotten how\r
+it works :)\r
+\r
+Cheers,\r
+mwh\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1\r
+\r
+iQIcBAEBCAAGBQJUbAuxAAoJEBHfQpTMo5iTRZMP/RBQ8XlzRqhCDIwyqLCZW06o\r
+pjvuqWwgdlAEThVjBkQnBS+MJ0vARMYx7xXyFEc5cgGjHj+0YDRc7eKUBytbdC0c\r
+zKF33pqG7uLG2zUL5N+dzZho/YmktlNnQNg229aWqFQ8+FzEoPG9M/0Fusg/Bw96\r
+m8UgTTmq+AaysDptNGT0PjyvDpxbmtKdc42VeVt5FDfaha5FeXt5guF3KBbmcI1W\r
+/0RRAdO1TeoCR+W34gm4Kahpvqni3Cn8JQP7FTqNCPDqJSw1tUNNFuQiJchqcwxX\r
+/ufLHe/GM0ESBMxtoEAnIHL4DWO3bbnHQCC4/MNjaN65VzstFLjRueZ1A0WAFBi6\r
+ooVQzsWBcMFWP+hyXewyyA1xd5lLoLduBm5HNXpsclKeG7UOVjCoPMVYmtLG4Cac\r
+EzKzEGzxAZ9/4S5IOxAe6vgen6gSnfRbT4KqYGJPRAmd6T4mfxLaGqTiGqwvnqY5\r
+qLtp1r9WiahWT4Fuohg45YF9a5b6Ew8O1ILUXZotWzvvAVeZmQrvSSDZSXHZWrde\r
+2ojbsSZ+kGhZ5FeytPrzPFKrUESGOf5h9X8qcf84mxp6G4wpmGZq83N4/rWUjdty\r
+9rNNgUUSTLTt9UE1EpZUPS0ljeYEQC7cXO/TN5ZRdiIwKbsf02oTTLHUzF12iq7s\r
+FOXACKSictWSRHwnwsJ9\r
+=A27w\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r