* emacs notmuch-reply: Change FROM adress according to TO address
@ 2016-11-01 16:33 Jörg Volbers
2016-11-01 18:53 ` David Bremner
0 siblings, 1 reply; 3+ messages in thread
From: Jörg Volbers @ 2016-11-01 16:33 UTC (permalink / raw)
To: notmuch
[-- Attachment #1: Type: text/plain, Size: 751 bytes --]
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)
Jörg
--
http://www.joergvolbers.de
https://uni-weimar.academia.edu/jvolbers
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: emacs notmuch-reply: Change FROM adress according to TO address
2016-11-01 16:33 emacs notmuch-reply: Change FROM adress according to TO address Jörg Volbers
@ 2016-11-01 18:53 ` David Bremner
2016-11-01 21:25 ` Jörg Volbers
0 siblings, 1 reply; 3+ messages in thread
From: David Bremner @ 2016-11-01 18:53 UTC (permalink / raw)
To: Jörg Volbers, notmuch
Jörg Volbers <joerg@joergvolbers.de> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: emacs notmuch-reply: Change FROM adress according to TO address
2016-11-01 18:53 ` David Bremner
@ 2016-11-01 21:25 ` Jörg Volbers
0 siblings, 0 replies; 3+ messages in thread
From: Jörg Volbers @ 2016-11-01 21:25 UTC (permalink / raw)
To: David Bremner, notmuch
[-- Attachment #1: Type: text/plain, Size: 1189 bytes --]
Thanks, that did it!
Jörg Volbers
David Bremner <david@tethera.net> writes:
> Jörg Volbers <joerg@joergvolbers.de> 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
--
http://www.joergvolbers.de
https://uni-weimar.academia.edu/jvolbers
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-11-01 21:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-01 16:33 emacs notmuch-reply: Change FROM adress according to TO address Jörg Volbers
2016-11-01 18:53 ` David Bremner
2016-11-01 21:25 ` Jörg Volbers
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).