[neomutt-users] reverse_name and alternates
neomutt-lists at guckes.net
Mon Mar 13 19:32:27 CET 2017
* 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
More information about the neomutt-users