Maykel Moya <maykel.moya@???> wrote:
> I have an exim in front of internet. The user mailboxes are spread
> among three servers behind the exim.
>
> I need to make exim deliver the messages to the correct mailserver
> depending on the user.
>
> Tips?
A manualroute router which looks up the correct destination server from your
favourite lookup mechanism - the simplest would probably be a text file a
bit like this, called (eg) /etc/exim/routes
peter: server1.mydomain.com
fred: server1.mydomain.com
bill: server2.mydomain.com
The router would go something like:
downstream:
driver=manualroute
domains = +local_domains
route_data = ${lookup {$local_part} lsearch{/etc/exim/routes}}
See
http://www.exim.org/exim-html-4.40/doc/html/spec_20.html#IX1688 for more
info on manualroute.
Peter