Set "From" based on "To" when replying

2012-02-11 Thread Simon Campese
> Yeah, I think this is the point: you want "*@mydomain.org" to be one of > the user.other_email. I don't see why that couldn't be done with a > little work in notmuch-reply.c. I wouldn't mind seeing this > functionality as well, actually. So here's my shabby solution (pasted from my .emacs):

Set "From" based on "To" when replying

2012-02-10 Thread Simon Campese
On Fri, 03 Feb 2012 13:54:07 +0200, Tomi Ollila wrote: > You could (also) check this (or some other with same name) > > https://github.com/altruizine/gnus-alias/blob/master/gnus-alias.el Thanks for the link, but this method is interactive. I want something automatic. Nevertheless a nice thing

Set "From" based on "To" when replying

2012-02-10 Thread Istvan Marko
Simon Campese writes: > I would like to implement the following behaviour: When replying to a > mail that has "something-3Q2Tfjf0mexg9hUCZPvPmw at public.gmane.org" in the > "To"-header, I would like > to have the "From"-header of the reply to be automatically set to this > address.

Re: Set From based on To when replying

2012-02-10 Thread Simon Campese
On Fri, 03 Feb 2012 13:54:07 +0200, Tomi Ollila tomi.oll...@iki.fi wrote: You could (also) check this (or some other with same name) https://github.com/altruizine/gnus-alias/blob/master/gnus-alias.el Thanks for the link, but this method is interactive. I want something automatic.

Re: Set From based on To when replying

2012-02-10 Thread Simon Campese
Yeah, I think this is the point: you want *@mydomain.org to be one of the user.other_email. I don't see why that couldn't be done with a little work in notmuch-reply.c. I wouldn't mind seeing this functionality as well, actually. So here's my shabby solution (pasted from my .emacs):

Re: Set From based on To when replying

2012-02-10 Thread Istvan Marko
Simon Campese notmuchmail_org-W/qfd0wfgqielga04la...@public.gmane.org writes: I would like to implement the following behaviour: When replying to a mail that has something-3q2tfjf0mexg9huczpv...@public.gmane.org in the To-header, I would like to have the From-header of the reply to be

Set "From" based on "To" when replying

2012-02-03 Thread Tomi Ollila
On Sat, 21 Jan 2012 16:35:10 +0100, Simon Campese wrote: > Dear Community, > > I've got my own domain and when registering or shopping at some website, > I always use email addresses of the form "websitename at mydomain.org", so > for example I use "amazon at mydomain.org" when shopping at

Set "From" based on "To" when replying

2012-02-02 Thread Jani Nikula
On Sat, 21 Jan 2012 16:35:10 +0100, Simon Campese wrote: > Dear Community, > > I've got my own domain and when registering or shopping at some website, > I always use email addresses of the form "websitename at mydomain.org", so > for example I use "amazon at mydomain.org" when shopping at

Set "From" based on "To" when replying

2012-02-02 Thread Jameson Graef Rollins
On Thu, 02 Feb 2012 19:26:53 +0200, Jani Nikula wrote: > Do you have all those email addresses in the user.other_email > configuration option in your ~/.notmuch-config? It should do the trick, > though I can see that it might get a bit tedious if you use plenty of > email addresses like above.

Re: Set From based on To when replying

2012-02-02 Thread Jani Nikula
On Sat, 21 Jan 2012 16:35:10 +0100, Simon Campese notmuchmail_...@campese.de wrote: Dear Community, I've got my own domain and when registering or shopping at some website, I always use email addresses of the form websiten...@mydomain.org, so for example I use ama...@mydomain.org when

Re: Set From based on To when replying

2012-02-02 Thread Jameson Graef Rollins
On Thu, 02 Feb 2012 19:26:53 +0200, Jani Nikula j...@nikula.org wrote: Do you have all those email addresses in the user.other_email configuration option in your ~/.notmuch-config? It should do the trick, though I can see that it might get a bit tedious if you use plenty of email addresses

Set "From" based on "To" when replying

2012-01-21 Thread Simon Campese
Dear Community, I've got my own domain and when registering or shopping at some website, I always use email addresses of the form "websitename at mydomain.org", so for example I use "amazon at mydomain.org" when shopping at amazon. The reason for this is categorizing incoming mail on the one