Re: [Exim] Selectively delivery

Top Page
Delete this message
Reply to this message
Author: Anand Buddhdev
Date:  
To: Maykel Moya
CC: exim-users
Subject: Re: [Exim] Selectively delivery
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.


I assume you have some master database of all your users, which defines
which user is on which server. Export the user list from there to the
exim server, in a format which lists the user and his/her home server,
one per line. Then set up a manualroute router which uses this data to
send the message to the right host.

Alternatively, if your user database is in postgresql, mysql or ldap,
configure the manualroute router to query that database directly to find
out the user's home server.