Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Mar 2007
    Posts
    27

    Default 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
    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. #2
    Member
    Join Date
    Jan 2005
    Location
    /dev/null
    Posts
    770

    Default

    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
    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)
    Last edited by nickp666; 11-05-2008 at 05:37 AM. Reason: added another option

Similar Threads & Tags
Similar threads

  1. IP Address Move & Dealing w/ Mail
    By fkatzenb in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 08-22-2010, 12:18 PM
  2. DNS servers on the same machine as VPS?
    By facelikebambi in forum New User Questions
    Replies: 1
    Last Post: 10-09-2007, 10:52 AM
  3. HTTP/DNS/FTP in a different machine from EXIM/MySQL ?
    By prixone in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-16-2007, 10:33 AM
  4. Migrating DNS to CPanel/DNS only.
    By euroxsw in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-31-2004, 08:16 PM
  5. does tyhe machine name have top have a dns entry?
    By rockster in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 04-24-2003, 01:18 AM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube