From: Jameson Graef Rollins Date: Fri, 14 Nov 2014 20:52:24 +0000 (+1600) Subject: auto-choosing reply addresses in notmuch-emacs X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=374a1af134d420dc88b2d770b6c7372ab17ce00e;p=notmuch-archives.git auto-choosing reply addresses in notmuch-emacs --- diff --git a/08/dd4a1e9c73c1322060e3f41e8c5cfda69beff7 b/08/dd4a1e9c73c1322060e3f41e8c5cfda69beff7 new file mode 100644 index 000000000..9b64cff22 --- /dev/null +++ b/08/dd4a1e9c73c1322060e3f41e8c5cfda69beff7 @@ -0,0 +1,96 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 19818431FC0 + for ; Fri, 14 Nov 2014 12:52:37 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -2.3 +X-Spam-Level: +X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id aMACtOKBvcbY for ; + Fri, 14 Nov 2014 12:52:29 -0800 (PST) +Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu + [131.215.239.19]) + by olra.theworths.org (Postfix) with ESMTP id A4D6A431FBC + for ; Fri, 14 Nov 2014 12:52:29 -0800 (PST) +Received: from smtp02.caltech.edu (localhost [127.0.0.1]) + by filter-return (Postfix) with ESMTP id 0FF316C0B8A + for ; Fri, 14 Nov 2014 12:52:28 -0800 (PST) +X-Spam-Scanned: at Caltech-IMSS on smtp02.caltech.edu by amavisd-new +Received: from finestructure.net (dhcp-123-176.caltech.edu [131.215.123.176]) + (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) + (No client certificate requested) (Authenticated sender: jrollins) + by smtp-server.its.caltech.edu (Postfix) with ESMTPSA id 27D3E6C1344 + for ; Fri, 14 Nov 2014 12:52:27 -0800 (PST) +Received: by finestructure.net (Postfix, from userid 1000) + id 1B66660138; Fri, 14 Nov 2014 12:52:27 -0800 (PST) +From: Jameson Graef Rollins +To: Notmuch Mail +Subject: auto-choosing reply addresses in notmuch-emacs +User-Agent: Notmuch/0.19~rc2+4~g4b41ae7 (http://notmuchmail.org) Emacs/24.4.1 + (x86_64-pc-linux-gnu) +Date: Fri, 14 Nov 2014 12:52:24 -0800 +Message-ID: <87vbmhmrnb.fsf@servo.finestructure.net> +MIME-Version: 1.0 +Content-Type: multipart/signed; boundary="=-=-="; + micalg=pgp-sha256; protocol="application/pgp-signature" +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Fri, 14 Nov 2014 20:52:37 -0000 + +--=-=-= +Content-Type: text/plain + +Hi, folks. I wonder if anyone knows of a way to tell the emacs client +to use different email addresses to respond to mail from different +sources. So for instance, I would like to respond to mail to one +mailing list from one address, and to another mailing list from a +different address. Ideally I would be able to set up some sort of +filter rules such that if the mail is from ".*@example.com" I would +respond with my me@example.com address, and if the mail is from +".*@example.org" I would respond with my jrollins@finestructure.net +address. + +Does anyone already do anything like this? I would how hard it would be +to setup built-in support for something like that. Given that notmuch +generates replies, maybe we could add it to the notmuch cli somehow, +with some new config fields? + +jamie. + +--=-=-= +Content-Type: application/pgp-signature; name="signature.asc" + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iQIcBAEBCAAGBQJUZmuJAAoJEO00zqvie6q8xIgP/Az1C3ZvafTULxP2hTvEK0lc +6beQBNXlQTalM+TObzydPgFAgkSJT+CzlMTLAluaS+S+3QgGvUw/CK7WudyNpEFV +TGA9KvHf5UfM0CqUDjVOB+U226/RJdXlfoWBefvEWl5cezCp7hSLvLJxX4rJqPpn +1pIZ50Npw+4d40BWGm9QBLCaDgpVjSSCbDoGYRtuuP9JcpcxoL/7JXMUtmW4JLw6 +PjbRcT+17LoCqM8Jnoub4uuVkITBfGflmK8RxDXIGsnZWkIuhyEUZ2RKrW0R6Y3m +pCXvqck2hRZmRHeSZnppZHcjYQpdLPtWeHMxKFJ65SCn8x8QaKvM2Vgr16QGm76J +2X4sAgggdlrWWq6ludaSu507jEIcVKheaRnPXmzdrOeM3gX/6OUZ9ZBgdpu2pIc1 +jdO6kJnv9W8mzJsxCa60PffFjeR2otoSYJz1HcVHLrhIZ4QKlEqfU3KcIkCAQBBv +dijcPqE/KXxgYnygCRYPBTsvykZDXxMxHxktHqK2qH6Y7yYm17k7XhbmiECaXduB +yk/uukpS6HA62mpicyhvm5jEzzh1EAdVa5kQvHJOTDfw8Z5LkQvH84DBYVqcLBj0 +sg7WpVUPFD66dSHhrQ7tIPanBRFRdi259TwQ3EjxCgOv7CoCGUOHipQdoQxlxNxe +4MsRH3AsvWibksLkJWNY +=2OiZ +-----END PGP SIGNATURE----- +--=-=-=--