Re: [exim] alias domain

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Peter Bowyer
Fecha:  
A: exim-users
Asunto: Re: [exim] alias domain
JupiterHost.Net <mlists@???> wrote:
> Hello List :)
>
> I'm trying to do what this FAQ is about but I'm not sure I have it
> down:
>
> http://exim.org/exim-html-4.40/doc/html/FAQ_4.html#TOC169
>
> I'd like to add:
>
> forwarddomain:
>       driver = redirect
>       domains = domain1.com
>       data = $local_part@???

>
> So this would take mail that is to foo@??? and forward it to
> foo@???, correct?
>
> What would be really awesome is to have a forwarddomain file in this
> format:
>
> domain1.com: domain2.com
> domain3.com: domain2.com
>
> So that foo@??? and foo@??? both go to
> foo@???.
>
> If the router above is doing what I think it is then how could I
> modify
> it to incorporate that file?


Try this:

forwarddomainfromfile:
driver = redirect
domains = lsearch;/path/to/file
data = $local_part@${lookup {$domain} lsearch {/path/to/file}}

Peter