Configure DNS for Amazon Simple Email Service for Mail From

Hi All,

I have successfully gotten DKIM working. But now I want to configure "Mail From." I have already reached out to Linode support and they said they took me as far as they can since they don't offer DNS configuration support. They were helpful, but it didn't resolve my issue. I have also posted in the AWS forums.

Basically I just want to fully use Linode with SES. DKIM verified right away on SES. For "Mail From," SES is saying my MX record is wrong. SES says it should be:
MX
Name
mail.gaga.cards
Value
10 feedback-smtp.us-east-1.amazonses.com

Linode support had me put
feedback-smtp.us-east-1.amazonses.com
as my "Mail Server"
and just "mail"
for "Subdomain"
in my MX record.

Does this seem right? Dig resolves correctly it seems.

Thanks in advance!

5 Replies

The MX record does look correct.

However the SPF record looks a little odd:

;; ANSWER SECTION:
mail.gaga.cards. 86400 IN TXT "\"v=spf1 include:amazonses.com ~all\""

It looks like you may have included the quotes in the actual record content. You shouldn’t need to.

It should look like this:

;; ANSWER SECTION:
mail.gaga.cards. 86400 IN TXT "v=spf1 include:amazonses.com ~all"

This may be another reason it’s failing, as it won’t be seen as a valid record.

Thanks so much for the reply. I dumbly just copied and pasted from SES (they have quotes for the SPF value but not the MX weirdly) and since the error message on SES is about the MX record I didn't even think about SPF. I just removed the quotes, hopefully this is it and the error message is erroneous. I'll post back here if it doesn't seem to work.

Unfortunately, it's still the same MX error. "To complete configuration of your custom MAIL FROM domain, you must update the domain's DNS settings using the MX record provided."

This is a bit of a showstopper for me as far as Linode goes, so unfortunately I may end up just moving over to AWS where they autoconfigure their own DNS. I know that seems a little strange, but I'm just trying to make my life easier.

Hi @davecom,

Could you screenshot the relevant AWS page showing the records that need adding?

Also I’m sure you have, but you do have your MAIL FROM address configured as “something@mail.gaga.cards”, right?

they have quotes for the SPF value but not the MX weirdly

Quotes are needed for TXT records that contain spaces, I believe. Some DNS providers, like Linode, will put the quotes in for you, some you have to put them in yourself. In the same way that CNAME records that are fully qualified need a “.” at the end, but most providers put this in for you. MX records are hostnames so cannot have spaces in them anyway.

Cheers,
Andy

Thanks for the reply. It turns out this was a simple fix. I did have the records right, but for whatever reason SES was not re-querying for them. I just turned MAIL FROM off in SES and turned it back on and then it saw the MX record. Hope this helps someone else.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct