I have had a couple of emails not arrive in my inbox. One resent the email and I received it, the other told me that the error was: non valid MX response
I have been looking at my AWS SPF records and using the Kitterman testing tools
I currently have the following DNS record:
talkingcouch.uk. TXT "v=spf1 include:amazonses.com -all" 300
but I also had an SPF version as well. I deleted it as it seems to be recommended (by MXToolBox) to only have a TXT version.
The problem I am getting is with the Kitterman Test an SPF record tool (the one at the bottom of the page). I enter in:
IP Address: 54.229.95.254 (The AWS SES instance that sends my email)
Mail From address: my_email_address
and the result is:
Input accepted, querying now...
Mail sent from this IP address: 54.229.95.254
Mail from (Sender): my_email_address
Results - FAIL Message may be rejected
I have tried various IP addresses and Kitterman says my SPF record is valid.
The MXToolBox passes my SPF record.
Why am I failing the Kitterman test, or more importantly why can some people not get emails into my inbox?
UPDATE:
I added "v=spf1 +ip4:54.229.95.254/32 -all"
as per Esa's comment and it works fine.