Klaus Maria Pfeiffer wrote:
I searched for regular expressions in the system aliases file
and now, I've found it.

what I've done is the following:
set up virtual domains as in http://koivi.com/exim4-config/ or http://exim.org/exim-html-4.60/doc/html/spec.html/ch46.html#SECTvirtualdomains used nwildlsearch as described in http://exim.org/exim-html-4.60/doc/html/spec.html/ch09.html#SECTsinglekeylookups

this gives the following:
;===
virtual_domain_aliases:
 driver = redirect
 allow_defer
 allow_fail
 domains = dsearch;/etc/exim4/virtual-domains.d
data = ${lookup{$local_part}nwildlsearch{/etc/exim4/virtual-domains.d/$domain}}
 retry_use_local_part
 pipe_transport = address_pipe
 file_transport = address_file
 no_more
;===

one alias file for my personal domain looks like:
;===
^klaus[-.](m|maria)\.pfei[f]{1,2}er$    [EMAIL PROTECTED]
^(kmp|klaus)[+-.][a-zA-Z0-9+-.]*$       [EMAIL PROTECTED]
^(kmp|klaus)$                           [EMAIL PROTECTED]
;===

sorry for the noise and thanks for the help (I should better have a look in the online doc as in my exim book ...).

greetings from Austria, Klaus

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

Reply via email to