Skip to content

How to configure two different email servers (MX)?

0

I configured my DNS in AWS Workmail and everything is "verified", but nothing is arriving in the inbox for these emails. I use cPanel to manage emails, so now I'm creating new ones through AWS Workmail. The cPanel MX is at priority 0 and the AWS MX is at priority 10.

3 Answers
0

Based on the information provided, it appears that you're trying to use both cPanel and AWS WorkMail for email management, which is causing issues with email delivery. This configuration is not recommended and is likely the root cause of your problem.

To resolve this issue and ensure proper email delivery, you should use only one email service for your domain. In this case, since you're transitioning to AWS WorkMail, you should remove the cPanel MX record and use only the AWS WorkMail MX record.

Here are the steps to correct your configuration:

  1. Remove the cPanel MX record from your DNS settings.

  2. Ensure that the AWS WorkMail MX record is the only MX record for your domain.

  3. Set the AWS WorkMail MX record to the highest priority (lowest number). For WorkMail, this should typically be 10.

  4. Verify that the WorkMail MX record points to the correct inbound SMTP server for your AWS region. For example:

    • US East (N. Virginia): 10 inbound-smtp.us-east-1.amazonaws.com
    • US West (Oregon): 10 inbound-smtp.us-west-2.amazonaws.com
    • Europe (Ireland): 10 inbound-smtp.eu-west-1.amazonaws.com
  5. After making these changes, wait for DNS propagation, which can take up to 24 hours.

  6. To verify the correct MX record configuration, you can use the nslookup command: nslookup -type=MX yourdomain.com

This should return only the WorkMail MX record.

By ensuring that WorkMail is the only email service handling your domain's emails, you should resolve the issue of emails not arriving in your inbox. If you continue to experience problems after making these changes, double-check your WorkMail configuration and verify that your domain and email addresses are properly set up in the WorkMail console.

Sources
Workmail not receiving mail | AWS re:Post
Verifying domains - Amazon WorkMail
Receiving some emails but not all emails | AWS re:Post
I can send emails but am unable to receive emails on WorkMail | AWS re:Post

answered 10 months ago
EXPERT
reviewed 10 months ago
0

Hello.

If cPanel's MX record priority is 0, is there a possibility that it is being sent to cPanel's mail server?
I used cPanel a few years ago, so the UI may be different than it is now, but I think I was able to see the history of sent and received emails.
Can I check that emails have been received from the sending/receiving history in cPanel?

EXPERT
answered 10 months ago
0

Hi,

To add to the information already provided, MX records cannot be used for delivering to multiple servers. A sending server will pick the MX server with the lowest priority and deliver the mail to that server only. It will only pick the next server if the first one did not respond.

To deliver mail to two services you would need to configure a routing server. SES Mail manager is a service that can do that, creating a single entry point and rules to route mail to various locations.

Kind regards, Robin

AWS
EXPERT
answered 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.