Re: [exim] Wildcard aliases do not work

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Konstantin Boyandin
Fecha:  
Cc: exim-users
Asunto: Re: [exim] Wildcard aliases do not work
Thank you, Andreas and Tony, that worked.

However, if I do not wish to allow 'local part' allowed for all the
users, but for a single address, e.g. like in this regexp

mailer-[0-9]+ => mailer

How should I write the search statement?

Thank you.

All the best,

Konstantin

2008/3/26, Andreas Metzler <eximusers@???>:
> Tony Finch <dot@???> wrote:
> > On Wed, 26 Mar 2008, Konstantin Boyandin wrote:
>
> [...]
>
> >> The catch-all alias
>
> >> *: localbox
>
> >> doesn't work, either.
>
> > You need to tweak the system_aliases router to use lsearch* instead of
> > plain lsearch.
>
> > http://www.exim.org/exim-html-current/doc/html/spec_html/ch07.html#SECID55
>
>
> Hello,
>
> the system_aliases usually is the very first router for local domains,
> while the catchall router should be the last one, after userforward
> and localuser. If you modify system_aliases to use lsearch* and have
> a catchall aliaes in the file itself, the localuser router will not be
> reached anymore.
>
> It is probably better to have a separate catchall router somehow like
> this:
>
> catchall
> driver = redirect
> data = ${lookup{*}lsearch{/etc/aliases}}
>
> cu andreas
> --
> `What a good friend you are to him, Dr. Maturin. His other friends are
> so grateful to you.'
> `I sew his ears on from time to time, sure'
>
>
>
> --
> ## List details at http://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/
>