Check DomainKeys, DKIM, SPF valiadity, and SpamAssassin score in one place

I spent the whole day today stepping through DomainKeys, DKIM, and SPF for a customer to make sure that they were all set up and working properly. I found a couple of the existing tools available on the Internet didn’t test them properly and didn’t give enough explanation when they failed.

So, I went about creating some of my own tests using a bunch of Perl modules. I finally fixed a couple issues that I think were causing problems for this customer. Gmail and Yahoo are now delivering the messages anyway. Hotmail is still a mystery (no surprise since its from Microsoft). Their troubleshooting website is full of talk about how great their service is, but there is a huge lack of anything technical on the site.

Anyway, I made all of these nifty testers and figured that others might like to use them. So I created a way for others to send mail to it, and a web interface that you can view all of them results. I’ve added it as a link to the top of my website.

8 thoughts on “Check DomainKeys, DKIM, SPF valiadity, and SpamAssassin score in one place”

  1. Just a little suggestion for the SpamAssassin setup you use for checking on that page. It might be a good idea to turn off the auto(white|black)listing on it, so people aren’t getting hit with modifiers because they’re already sent off a few tests, like right now I’m getting “-1.3 AWL AWL: From: address is in the auto white-list”.

  2. @OmegaSharp,

    I’m not sure I follow what is going on. If you are sending a message with an envelope sender of ‘’, then you should have an SPF record for that specifies that is permitted to send mail from your domain name.

  3. Brandon,

    Just wanted to say THANK YOU for this great tool! I’m a DKIM noob and it helped me debug my problem.

  4. Hi, great post, just used this to check my DKIM and SPF. Love the idea that you don’t have to keep resending the message.

    However I’ve noticed that the SPF test sometimes returns “Result: PermError (Included domain ‘’ has no applicable sender policy)”, and other times returns “Result: Pass (Mechanism ‘’ matched)”? (on the same email, no DNS changes, with in the SPF record). Is that an issue with the test, or an issue with Google’s servers?


Leave a Reply

Your email address will not be published. Required fields are marked *