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

トップ ページ
このメッセージを削除
このメッセージに返信
著者: David S. Madole
日付:  
To: exim-users
題目: 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