Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Migrating to new machine and dealing with mail and dns lag

Discussion in 'E-mail Discussion' started by cmdln, Nov 4, 2008.

  1. cmdln

    cmdln Active Member

    Mar 17, 2007
    Likes Received:
    Trophy Points:
    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
    domainlist local_domains = lsearch;/etc/localdomains
    domainlist relay_domains = lsearch;/etc/localdomains : \
    in /etc/exim.conf
    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.
  2. nickp666

    nickp666 Well-Known Member

    Jan 28, 2005
    Likes Received:
    Trophy Points:
    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)

         driver = manualroute
         transport = remote_smtp
         route_list = *
    Or as a second option without the backscatter, you could set up a static route driver and run verifies to check the end recipients exist on the new machine (more manual config needed in this case though)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #2 nickp666, Nov 5, 2008
    Last edited: Nov 5, 2008

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice