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!

Switch to External Email Without Deleting Email

Discussion in 'E-mail Discussion' started by jazee, Jun 19, 2019.

  1. jazee

    jazee Well-Known Member

    Joined:
    Jan 12, 2015
    Messages:
    93
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    I moved a domain's email to Google Gsuite (Gmail) however I have some things to test in Gmail for a few days prior to shutting down email for the domain on the Cpanel server. Emails sent from the domain website though are still going to the old email server because despite have external DNS, it's ignoring the MX records and delivery the mail to the local mail server because it sees the local email exchange setting for the domain (always been a bit weird Cpanel does this as it should honor the MX records at the DNS no matter what the email hosting setting on the server, in my opinion).

    Is it possible to change the setting to remote mail exchanger without deleting all the email accounts in case I want to switch back?
     
  2. Denis Gomes Franco

    Denis Gomes Franco Active Member

    Joined:
    Sep 3, 2018
    Messages:
    43
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    Tupã, São Paulo, Brazil
    cPanel Access Level:
    Root Administrator
    I've had that problem in the past as well. When you send a message (either via SMTP/webmail or PHP) from one domain to that same domain, or another domain on the same server, the server considers this as a local delivery and so won't let the message "out on the internet" as it is completely unneeded.

    In order to fix that you have to fire up WHM, go to Edit MX Entry, choose your domain and change the mail routing option to Remote Mail Exchanger. I think you can also use Automatically Detect Configuration but I haven't tested that. If this doesn't work, go with Remote Mail Exchanger and it will work just fine.
     
  3. jazee

    jazee Well-Known Member

    Joined:
    Jan 12, 2015
    Messages:
    93
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    The question is though, in the current version of WHM (80), where specifically can you "change the mail routing option to Remote Mail Exchanger" ???

    Also, when you do that, does it delete all the mail folders for the domain?
     
  4. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,466
    Likes Received:
    505
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    In WHM you can modify this by going to WHM>>DNS Functions>>Edit DNS Zones -> scroll to the bottom and select Remote Mail Exchanger.

    In cPanel you can do this by going to cPanel>>Email>Email Routing -> Select Domain -> Remote Mail Exchanger

    Making this modification has no effect on any files or folders associated with mail for the domain.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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