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

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: David S. Madole
Data:  
Para: exim-users
Asunto: Re: [Exim] %1@domain.com forwarding
> "Customer Support" <support@???> wrote:
>
> ie mail to bob@domain would be passed on to bob@someotherdomain
> tom to tom etc.
>
> Can't see how to recreate this in exim, any pointers?


See section 22.4 in the docs for a tiny snippet of an example using the
redirect router.

http://www.exim.org/exim-html-4.30/doc/html/spec_22.html#SECT22.4

Basically, at the simplest, you could do something like this:

begin routers

  rewrite_domain:
    driver = redirect
    domains = olddomain.example
    data = ${quote:$local_part}@???


To get more complex (and handle multiple domains easily), you could pull the
data from a file or a database on-the-fly.

David