Email routing from subdomain to main domain - can't send
I have a tld where all the emails are hosted on a google workspace. The domain has MX records pointing to google
dig domain.com MX +short
1 smtp.google.com.
I have a subdomain mail.domain.com that is used for a mailing list. This subdomain has MX records pointing to the server.
dig mail.domain.com MX +short
10 _dc-mx.5479d5cd1f44.mail.domain.com.
The mail list works properly using mail.domain.com and has the proper SPF, DKIM and reverse DNS qualities according to verifier.port25.com
Problem is I can't send mail from mail.domain.com to domain.com. I get a message that user not found. This is a problem whether it's from the mailing list or a direct email. This also fails if try to send from other domains on the same server.
Here is the log
-
Hey there! Do you have the correct "Remote Mail Exchanger" value set in cPanel >> Email Routing? It looks like it's trying to deliver locally, and that is the area where you would change that.
0 -
Thanks cPRex,
mail.mydomain.com, is set to Automatic in WHM and has no selection in cPanel
mail.mydomain.com is sent Locally from cPanel. Is that right?
mydomain.com is set to Automatic in WHM, Local in cPanel.
My understanding is mydomain.com is being sent Remotely from Google, correct?
The DNS for both is set externally at Cloudflare.
0 -
Hello @jimlongo,
Please modify the email routing for your primary domain to use "Remote Mail Exchanger," and for the subdomain, set it to "Local Mail Exchanger." This adjustment will enable emails for the main domain to be handled by Google instead of your local server.0 -
Thank you both.
That seems to have done the trick.
1
Please sign in to leave a comment.
Comments
4 comments