On Tue, 18 Jan 2005, Piers Kittel wrote:
>
> I'm aiming to have a single email address for all networks - such as one
> user on Network 1 would have joedoe@??? and one user on Network 3
> would be janesmith@??? - so the Exim server on Network 1 would have
> joedoe's mailbox and user info, and the Exim server on Network 3 would
> have janesmith's mailbox and user info.
If you distribute a table of users and their home servers to all of
the mail servers, then this is easy. You can list any or all of the
servers in the MX for your domain.
# example entries from the user table
# the parts after the @ sign are the primary_hostname settings of the
# relevant machines.
user1: user1@???
user2: user2@???
# exim configuration
# the primary_hostname will be something like server3.domain.example
# which Exim should set automatically.
# but we want to use the public domain for most addresses
# primary hostnames are only used in the routing below
qualify_domain = domain.example
begin routers
user_server:
driver = redirect
domains = domain.example
data = ${lookup {$local_part} lsearch {usertable} }
local_server:
driver = accept
domains = $primary_hostname
driver = local_delivery
remote_server:
driver = manualroute
domains = *.domain.example
route_data = $domain
driver = 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}}