[neomutt-users] reverse_name and alternates

mailinglists-neomutt-users at 927589452.de mailinglists-neomutt-users at 927589452.de
Tue Mar 14 09:47:46 CET 2017


On 17-03-13 19:32:27, Sven Guckes wrote:
> * mailinglists-neomutt-users at 927589452.de <mailinglists-neomutt-users at 927589452.de> [2017-03-13 16:06]:
> > On 17-03-13 10:35:09, Kevin Velghe wrote:
> > > On Mon, Mar 13, 2017 at 10:18:21AM +0100, mailinglists-neomutt-users at 927589452.de wrote:
> > > > On 17-03-12 13:20:49, Kevin Velghe wrote:
> > > > > On Sun, Mar 12, 2017 at 12:59:33PM +0100, J wrote:
> > > > > > is there a feature/scriptlet to use the TO
> > > > > > line of an email as sender on the reply,
> > > > > > or for that matter an arbitrary regexed header line?
> > > > > You can set the reverse_name configuration variable.
> > > > does the alternates option support regexp ?
> > > Yes, one of mine is:
> > > alternates ".*@noreply.github.com"
> > made the dumb rookie mistake of using * instead of .* ...
> 
> actually, even  the ".*" is superfluous.
> "alternates @guckes.net" is quite enough.
> 
> more example using alternate user names
> and alternate hostnames which can be optional:
> 
> pattern:   alternates (user1|user2)@(host1.|host2.)?domain.tld
> example:   alternates (sven|guckes)@(chien.|hund.|inu.|ken.|perro.)?in-berlin.de
> 
Thanks for the examples Sven,
will multiple alternates also work?
eg
alternates:	@domain1.de
alternates:	@domain2.com

and would you also have a hint, where I would look for the problem, that
this change now makes me reply to my self instead of the sender?

Greets
J
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://mailman.neomutt.org/pipermail/neomutt-users-neomutt.org/attachments/20170314/09292594/attachment.sig>


More information about the neomutt-users mailing list