Re: [exim] same domain router to different servers

Top Pagina
Delete this message
Reply to this message
Auteur: Tony Finch
Datum:  
Aan: JupiterHost.Net
CC: exim-users
Onderwerp: Re: [exim] same domain router to different servers
On Wed, 8 Dec 2004, JupiterHost.Net wrote:
>
> So there's no way to make exim look at the recipient and fire it off to
> another server?


If you have a table along the lines of

user1: user1@server1
user2: user2@server1
user3: user3@server2
user4: user4@server2

You can then have routers like

to_server:
driver = redirect
domains = my.dom.ain
data = ${lookup {$local_part} lsearch {TABLE} }

this_server:
driver = accept
domains = @
transport = local_delivery

other_server:
driver = manualroute
domains = +server_names
route_data = $domain
transport = smtp

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}