From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 26AF16DE1100 for ; Tue, 1 Nov 2016 14:25:29 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.016 X-Spam-Level: X-Spam-Status: No, score=0.016 tagged_above=-999 required=5 tests=[AWL=-0.004, T_SPF_HELO_PERMERROR=0.01, T_SPF_PERMERROR=0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jgvcWP3WBqjI for ; Tue, 1 Nov 2016 14:25:28 -0700 (PDT) Received: from joergvolbers.de (servant.hier-ja.de [176.9.104.74]) by arlo.cworth.org (Postfix) with ESMTPS id CF5B76DE10E8 for ; Tue, 1 Nov 2016 14:25:27 -0700 (PDT) Received: from localhost (eduroam-056-026.scc.uni-weimar.de [141.54.56.26]) by servant.hier-ja.de (Postfix) with ESMTPSA id A8C1638001D2; Tue, 1 Nov 2016 22:25:24 +0100 (CET) From: =?utf-8?Q?J=C3=B6rg?= Volbers To: David Bremner , notmuch@notmuchmail.org Subject: Re: emacs notmuch-reply: Change FROM adress according to TO address In-Reply-To: <87ins7rpzu.fsf@tesseract.cs.unb.ca> References: <87zilji2im.fsf@joergvolbers.de> <87ins7rpzu.fsf@tesseract.cs.unb.ca> Date: Tue, 01 Nov 2016 22:25:23 +0100 Message-ID: <87shra28qk.fsf@joergvolbers.de> 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.22 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: Tue, 01 Nov 2016 21:25:29 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Thanks, that did it! J=C3=B6rg Volbers David Bremner writes: > J=C3=B6rg Volbers writes: > >> [ Unknown signature status ] >> Hi there, >> >> I am using notmuch in Emacs with three different from-addresses (via >> mbsync). When replying an email, I currently have to set the FROM-address >> manually. What I would like to have is that the FROM-address is set >> automagically according to the TO-address. I.e., if someone writes to my >> address "foo.com", the reply should come from "foo.com"; if someone >> writes to "foo.de", the reply should come from "foo.de". >> >> I know that I can set the reply address by prefixing the command 'r', >> which lets me choose my sender address, but that's not exactly >> automatically. >> >> Any hints are appreciated! (please CC me since I am not subscribing the >> list) > > This should be automatic for those To addresses listed in > user.primary_email user.other_email in ~/.notmuch-config. You can set > this by hand or using "notmuch config set user.other_email > bar@foo.de;bar@foo.com" > > d =2D-=20 http://www.joergvolbers.de https://uni-weimar.academia.edu/jvolbers --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJYGQhDAAoJEBiDDvRxuOiGsT8H/1kFugGyG+Ln5vbEcFuk3/cz 2Y0rXSxQeiYjPVs+2cA0xmJ8RH1UClgd2hBKKi+UbC2doTXaCiat4hWBCtjaPdC5 6DacFkjlI8YJcRW20ZTdGBxLTR6f9J3y6XfCwV8dvnnzRklRfetM0C6VYFdio4X+ 1exbKu68XZY47435tFSLdeUt0B8hL0EfkZTwqdo79YHqCgB8G470upamFTZ/x2F4 q4evAk0J5+vzFmczanyuj0crGDOzrpr317quh6FHtjKqYziuBX313an0OILrXP8i 20qLTlAN+U8WKC+qRBZniI1UcjMaSWAVxeGjpSLZzk5DLQJxYSoDuTvnlGF5JP8= =Bqhc -----END PGP SIGNATURE----- --=-=-=--