How to stop email being sent as local to the cpanel account

danielshaw007

Registered
Oct 23, 2014
2
0
1
cPanel Access Level
Website Owner
Hi all

Got a slight issue with my hosting account that I have with CrazyDomains.. I have tried contacting their support but they dont seem to understand the point I am getting at.

I host multiple websites on 1 account at CrazyDomains.. as luck would have it, 2 of the domains I host want to send email to each other..

Domain 1 lets say domain1.com has email setup on the cpanel and the website is hosted too.
Domain 2 lets say domain2.com only has the website hosted and the email is hosted externally to the cpanel using office 365s hosted exchange.

Domain 1s nameservers point to CrazyDomains and all is ok!
Domain 2s nameservers do not point to CrazyDomains, just the A record so that the website hosting works.
Domains 2s MX record is set on the domain control panel and points to the Exchange server and is working ok.

When Domain 1 tries to send an email to Domain 2.. CrazyDomains cPanel tries to send the email to the local cPanel and of course the email then bounces saying no such user here..

The million dollar question is how do I get it so that the email from Domain1 to Domain2 gets sent to the external server? I have looked at changing MX records within cPanel but I cant see that option anywhere.

I hope someone on here understands what I am trying to explain and has a easy solution :)

Thanks in advance
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,216
463
Hello :)

Please ensure you select "Remote Mail Exchanger" under "Email Routing" via "cPanel - MX Entry" for the domain name with it's email handled by a remote server.

Thank you.
 

danielshaw007

Registered
Oct 23, 2014
2
0
1
cPanel Access Level
Website Owner
Hi Michael.. Thanks for that :)

I have had to email CrazyDomains support for them to do this as they seemed to have taken them options away from the cPanel that I have access to. Is there a way to manually perform this by editing any config files perhaps?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,216
463
It's possible to manually edit the /etc/localdomains and /etc/remotedomains to make this change, but access to those files is restricted to the "root" user.

Thank you.