Skip to content

Custom MAIL FROM domain setup – SPF record not recognized despite correct DNS settings

0

Hi,

I’ve been trying to set up a custom MAIL FROM domain for several days now, but I consistently receive the following error: Enter image description here

SPF record not found for custom MAIL FROM domain

Here are the details of my configuration:

Custom MAIL FROM domain: amazon.ouz.hu

SPF record (TXT) for amazon.ouz.hu:

v=spf1 include:amazonses.com ~all MX record for amazon.ouz.hu:

10 feedback-smtp.eu-north-1.amazonses.com. DNS provider: Tarhelyszakerto (Hungary)

I’ve verified the SPF record using MXToolbox, and everything appears to be correct:

✅ SPF record found ✅ SPF syntax is valid ✅ No duplicate or deprecated entries ✅ DMARC is published and has a reject policy ✅ No issues with lookups, loops, or null values

Test results summary from MXToolbox:

SPF Record Published: OK

SPF Syntax Check: OK

SPF Included Lookups: OK

DMARC Record Published: OK

DMARC Policy: reject

Since the records have been active for more than 48 hours, I believe DNS propagation should not be an issue anymore.

Could you please check why SES still doesn’t recognize the SPF record for the custom MAIL FROM domain? Let me know if I should retry the verification or adjust any values.

Thank you very much in advance for your help.

Best regards, Bence

Amazon Web Services

asked a year ago304 views

2 Answers
0

Based on your description, it appears that your SPF record for the custom MAIL FROM domain is correctly configured, but AWS SES is still not recognizing it. Let me provide some guidance on this issue.

First, let's confirm your setup is correct:

  • Custom MAIL FROM domain: amazon.ouz.hu
  • SPF record (TXT): "v=spf1 include:amazonses.com ~all"
  • MX record: 10 feedback-smtp.eu-north-1.amazonses.com.

Since you've verified these records using MXToolbox and they appear to be correct, here are some potential issues and solutions:

  1. Quotation marks in the SPF record: Some DNS providers require quotation marks around the SPF record value, while others don't. Make sure your TXT record value includes the quotation marks if your DNS provider requires them.

  2. DNS record format: Ensure that the SPF record is published as a TXT record type (not as an SPF type, which is deprecated).

  3. Trailing period: Check if your MX record needs a trailing period. The format should be "10 feedback-smtp.eu-north-1.amazonses.com." (with the period at the end).

  4. Record name format: Ensure that the record name for both the MX and TXT records is exactly "amazon.ouz.hu" without any additional prefixes or suffixes.

  5. Verification process: Try to set up the custom MAIL FROM domain again in the SES console to trigger a fresh verification of your DNS records.

If all of these settings are correct and you're still experiencing issues, it might be worth waiting a bit longer for DNS propagation (though 48 hours should be sufficient) or contacting AWS Support for further assistance, as there might be a specific issue with how SES is checking your records.
Sources
Setting up a custom MAIL FROM domain - Amazon Simple Email Service
Using a custom MAIL FROM domain - Amazon Simple Email Service
Supported DNS record types - Amazon Route 53

answered a year ago

AWS
SUPPORT ENGINEER

reviewed a year ago

0

Thank you for the detailed explanation.

I can confirm that everything is set up exactly as you described:

Custom MAIL FROM domain: amazon.ouz.hu

SPF record (TXT): "v=spf1 include:amazonses.com ~all"

MX record: 10 feedback-smtp.eu-north-1.amazonses.com. (with the trailing period)

The TXT and MX records are both configured with the exact name amazon.ouz.hu, and I’ve verified the syntax and formatting according to your guidelines. Despite this, SES still does not recognize the configuration as valid.

Do you have any other suggestions on what might be causing this issue?

Thanks again for your help.

answered a year 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.