Re: [Exim] %1@domain.com forwarding

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: nissemus2003
Data:  
Para: exim-users
Assunto: Re: [Exim] %1@domain.com forwarding
--- In exim-users@???, Philip Hazel <ph10@c...> wrote:

> If all you want to do is route x@domain1 to x@domain2, where x is

the
> same, and you are using mysql for the data, all you need is
>
> router:
> driver = redirect
> data = ${lookup mysql {some query that uses $domain and which

returns \
>                          the new domain as its result} \
>               {$local_part@$value}}

>
> If the lookup fails to find the domain, the value of data is

empty, and
> the router declines.
>


How would you do it not using mysql, but using an aliases file? I've
been trying for two days to work out how to do this!