A different option, which I use because of its flexibility, is the gnus-alias package.
On Wed, Feb 18, 2026, at 06:20, tpeplt wrote: > gfp <[email protected]> writes: > >>> >>> See also the section "Mail Aliases" in the "Sending Mail" >>> chapter of the Emacs user manual by evaluating the following >>> expression in Emacs: >>> >>> (info "(emacs) Mail Aliases") >>> >>> Note that these aliases are different from your use of the >>> term, but you could, for example, have: >>> >>> alias at [email protected] >>> alias de [email protected] >>> >>> or whatever you find easy to remember. >>> >> opening >> Gnus Posting Styles: (see screenshot) >> >> should I enter after "Value Menu Regexp: >> >> [email protected] ? >> >> would this help? >> >> >> in the manual: >> >> (info "(emacs) Mail Aliases") >> >> there it says about a file: >> >> To define an alias in ‘~/.mailrc’, write a line like this: >> >> I don´t have that file "mailrc" >> it does not exist. > > Note that the file name is ".mailrc" rather than "mailrc". > The leading period, ".", is required in the file name. > > You can create the text file ".mailrc" using Emacs. > > 1. Type C-x C-f > > 2. At the "Find file: " prompt, type the location of the > file followed by its name. In this case, the location > is ~/ and the file name is .mailrc: > > Find file: ~/.mailrc > > After entering the file’s location and name, press your > keyboard’s Enter/Return key (usually described in Emacs’s > sources and documentation as RET). > > 3. Emacs will then create a buffer that is named after the > file. Enter your alias definitions, one per line, into the > buffer and save the buffer (type C-x C-s) to the file. > In addition to aliases for your email addresses, you > can add aliases for email addresses to which you send > email. > > -- > The lyf so short, the craft so long to lerne. > - Geoffrey Chaucer, The Parliament of Birds.
