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

Top Page
Delete this message
Reply to this message
Author: Tim Jackson
Date:  
To: exim-users
Subject: Re: [Exim] %1@domain.com forwarding
Hi Customer, on Wed, 30 Jun 2004 13:52:40 +0100 you wrote:

> Just upgraded 6500 email accounts from sendmail to exim and discovered
> (too late) that exim doesn't have quite the same feature as sendmail.
> In the sendmail virtusertable we would have @domain %1@someotherdomain
> 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?


How about something like this? Add a little router, probably near the top
of your routers list:

domain_wildcard_redirect:
driver = redirect
local_parts = %1
data = $parent_local_part@$domain

Works here in a quick test.


Tim