Re: [Exim] partial wildcard aliases

Top Page

Reply to this message
Author: Peter Bowyer
To: exim-users
Subject: Re: [Exim] partial wildcard aliases
Ben Giddings <bg-exim@???> wrote:
> Hi there,
> I'm trying to move from the qmail MTA to exim 4. The one feature I
> haven't been able to figure out is one I really need: the ability for
> wildcard aliases.
> What I want is for all addresses of the form 'bg-*' to be sent to a
> certain local user, and for 'tg-*' to be sent to another one.

You don't need to do this with aliases at all (unless you want to).
Something like this

local_part_suffix = -*

in a router will cause Exim to disregard the -anything suffix when routing
the message (but it will still be there for processing in a filter file
etc). There's a complete example at which does
some very qmail-like things.