Hardy via Exim-users <exim-users@exim.org> (Di 13 Feb 2018 09:44:38 CET):
> Hi folks,
> 
> my aim is to have something in the way of
> 
> myname.*: myname
> 
> for the local user myname, if this is possible to do in the alias file. I
> would rather like to have it here than to change the conf. Possible?

You need to modify the config anyway, to allow for patterns in your
alias file.


    data = ${lookup{$local_part}nwildlsearch{/etc/aliases}}

With entries like:

    hans:   literal
    hans*:  literal
    *hans:  pattern
    ^hans:  regexp


    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --------------- key ID: F69376CE -
 ! key id 7CBF764A and 972EAC9F are revoked since 2015-01 ------------ -

Attachment: signature.asc
Description: PGP signature

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to