Re: [exim] "catch all" alias?

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Giuliano Gavazzi
Fecha:  
A: Chris Knipe, exim-users
Cc: 
Asunto: Re: [exim] "catch all" alias?
At 3:26 pm +0200 2005/05/02, Chris Knipe wrote:
>Lo all,
>
>I'm battling a bit to make a wild card alias...
>
>I have the following in my alias file:
>
>pmx-auto-approve*: |/usr/local/pmx4/bin/pmx-qdigest-approve
>
>I want it to catch anything AFTER pmx-auto-approve. i.e.
>
>pmx-auto-approve+<some random string here>@mydomain.com
>


you could use local_part_suffix in your systemaliases router, or in a
copy of that router, just after the standard one, if you want to have
exceptions.
In this second case you could have:


aliasA+bah: userBah
aliasA:    userA


and every aliasA+* (or simply aliasA) would go to userA, except for
aliasA+bah that would go to userBah.

Giuliano