Re: emacs notmuch-reply: Change FROM adress according to TO address

2016-11-01 Thread Jörg Volbers
Thanks, that did it!

Jörg Volbers


David Bremner  writes:

> Jörg 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
> b...@foo.de;b...@foo.com"
>
> d

-- 
http://www.joergvolbers.de
https://uni-weimar.academia.edu/jvolbers


signature.asc
Description: PGP signature
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch


Re: emacs notmuch-reply: Change FROM adress according to TO address

2016-11-01 Thread David Bremner
Jörg 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
b...@foo.de;b...@foo.com"

d
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch


emacs notmuch-reply: Change FROM adress according to TO address

2016-11-01 Thread Jörg Volbers
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


signature.asc
Description: PGP signature
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch