Sam Przyswa: > Hi, > > I have to dispatch mail for a domain my_domain.com to severals servers. > All mail addresses are on the form u...@my_domain.com but users are > dispatched on different hosts (host1, host2, etc) All mails are received > on a main mail server and I have to send it to the right host where the > user is. > > Then when user1 on the host1 want send a mail to user2 on host2 user1 > send the mail to us...@my_domain.com. How to set the system on host1 to > route the mail on main mail server instead of "user unknown" message ? > > What is the best setup to do that ?
On both the MX machines and on the user machines, use virtual aliases to route mail to the right mail server. us...@example.com us...@host.provider.example Virtual aliasing does not change To: or From: headers. The aliases can be shared across the network with replicated *SQL, LDAP etc. I don't think it's a good idea to try to SHARE hash/btree files with NFS (read/write by a only one NFS client should be OK). Wietse