Giuliano Gavazzi | 2 May 2005 16:43

Re: "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> <at> 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

--

-- 
## 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/


Gmane