Re: [exim] Wildcard aliases do not work

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Andreas Metzler
Data:  
Para: exim-users
Assunto: Re: [exim] Wildcard aliases do not work
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'