|
|||
|
Migrating to new machine and dealing with mail and dns lag
I am preparing to migrate to a new machine. I've been burned in the past with DNS. Setting the ttl low ahead of time helps but it only helps so much. With websites when I move I setup a reverse proxy on the old machine and configure it to proxy to the new machine. How can I allow exim to relay mail for a domain but not deliver it locally?
I see Code:
domainlist local_domains = lsearch;/etc/localdomains
domainlist relay_domains = lsearch;/etc/localdomains : \
lsearch;/etc/secondarymx
Should I just comment the domain out of /etc/localdomains and add it to /etc/secondarymx? I know if I just disable mail for the domain it will eventually arrive but customers should not have to wait days for a response if it can be avoided. |
|
|||
|
You could for ease just forward all designated mail to the other server, a router for exim would suffice here (although it may cause some backscatter)
Code:
send_to_gateway:
driver = manualroute
transport = remote_smtp
route_list = * your.newserver.com
Last edited by nickp666; 11-05-2008 at 04:37 AM. Reason: added another option |
![]() |
| Tags |
| exim , migration , relay |
| Thread Tools | |
| Display Modes | |
|
|