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!

Mail forwarding to same acct on another machine

Discussion in 'E-mail Discussion' started by shacker23, Dec 19, 2005.

  1. shacker23

    shacker23 Well-Known Member

    Feb 20, 2005
    Likes Received:
    Trophy Points:
    When migrating accounts from one machine to another, there's a period of several hours while DNS changes are propagating, in which existing MX records will still deposit mail for on the "old" server rather than the new. Users will thus never see this mail unless instructed to check webmail on the old server's IP/webmail.

    So is there a way to set up mail forwarders similar to this?: -->

    And if that's possible, does anyone have a script I could use to do this for everything in /etc/valiases?

  2. protocol

    protocol Well-Known Member

    Apr 13, 2004
    Likes Received:
    Trophy Points:
    if you have removed the account on the old server then you could add the domain to /etc/secondarymx. This should allow the old server to still except mail for the domain and will then lookup the mx records to see what server it should be sent on to.

    This might still work if the account was still on the old server as well if the domain was moved from /etc/localdomains to /etc/remotedomains.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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