I’m using Gmail for Business to handle email for a custom domain, which periodically sends email. I use Gmail’s SMTP servers.
I’m using AWS Route 53 to handle the DNS for this domain.
Emails started being rejected by grumpy MTAs between me and my users, so I decided to create an SPF record for that domain.
There’s the rub.
Route 53 allows you to create a specific record of type SPF, but not all MTAs use that record type. Some look for a TXT record with SPF information inside.
So, the best thing to do is create both the SPF and TXT record types, and provide the same information (enclosed in double quotes) for each.