Re: email recipient not taken into account when replying?

2020-01-11 Thread Alan Schmitt
On 2020-01-08 08:59, Carl Worth  writes:

> On Wed, Jan 08 2020, Alan Schmitt wrote:
>> Is there another way to tell notmuch to use as From address the address
>> the email was sent to, if it's one of my emails?
>
> Yes. The user.other_email configuration entry should do that.
>
> For example, in ~/.notmuch-config:
>
> [user]
> name=Alan Schmitt
> primary_email=alan.schm...@polytechnique.org
> other_email=alan.schm...@inria.fr,alan.schm...@irisa.fr,presid...@lemondedujeu.org"

It works great, thanks a lot.

Best,

Alan

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


Re: email recipient not taken into account when replying?

2020-01-08 Thread Carl Worth
On Wed, Jan 08 2020, Alan Schmitt wrote:
> Is there another way to tell notmuch to use as From address the address
> the email was sent to, if it's one of my emails?

Yes. The user.other_email configuration entry should do that.

For example, in ~/.notmuch-config:

[user]
name=Alan Schmitt
primary_email=alan.schm...@polytechnique.org
other_email=alan.schm...@inria.fr,alan.schm...@irisa.fr,presid...@lemondedujeu.org"

-Carl


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


email recipient not taken into account when replying?

2020-01-08 Thread Alan Schmitt
Hello,

I sometimes receive some emails at the address
presid...@lemondedujeu.org. This email is declared as part of my
alternate emails (I do not consider this private information so I'm
posting it):

(setq message-alternative-emails
  (regexp-opt '("alan.schm...@polytechnique.org"
"alan.schm...@inria.fr"
"alan.schm...@irisa.fr"
"presid...@lemondedujeu.org")))

When I reply in emacs, notmuch uses my email in polytechnique.org. The
surprising thing is that this does not cause a problem for the email in
inria.fr (replies are sent from that address), but only for
lemondedujeu.org (I did not test irisa.fr).

Is there another way to tell notmuch to use as From address the address
the email was sent to, if it's one of my emails?

Thanks,

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