Re: [Exim] partial wildcard aliases

Top Page
Delete this message
Reply to this message
Author: Peter Bowyer
Date:  
To: exim-users
Subject: Re: [Exim] partial wildcard aliases
Mike 'Fraz' White <fraz@???> wrote:
> Or if you do want to use aliases I think something like
>
> wildcard_alias:
> driver = redirect
> data = ${lookup{$local_part}lsearch*{/etc/aliases.wildcard}}
> file_transport = address_file
> pipe_transport = address_pipe
>
> in the directors should do it (note the '*' after the lsearch)


That works for the simple case

*: catchall@???

but not for

peter-*: some.where.else

which is what the OP wants. I realised after my last post that there's also
the 'wildsearch' search type, which would work OK for the OP's situation if
he wanted to keep things in an aliases-like file.

Peter