If you want to check if the DKIM and SPF records have been setup on the dns server for example.com issue the following 2 commands.
DKIM
- dig default._domainkey.example.com TXT
If you have it setup right, you should see something like this in the answer section:
;; ANSWER SECTION:
default._domainkey.example.com. 300 IN TXT “v=DKIM1\; k=rsa\; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyWompSSOHvgTtoRiLN1ieoj38kn7BK5suTGXeEXup9u96uCKw/73VaOfKngsUcAYr44/usj0cSNzlHbfWPDsm0cMToLiv7oqB4Ly+QsyzopfXc/UCJX2+pPGERiX9FjaEWADY6CTOxC+0f2J7150mh2G12cnSlmZvQ/M25GKnWDg9PX/8CojpDZUype5Mo15V” “av4tu6M5G8J4OzFWuYgKRaFHxKpm1RI1lVHtOU6aL0U31zqoNV5fKd3cXuFLZIw8zkNtMZxBj2VthxPrk4WM7317lYpfPVluWUYJ49taeC9BMmRTQejHCpWSEAdmuguCyU3eBjvmpRHl6v6YSf3kQIDAQAB\;”
SPF
- dig example.com TXT
If you have SPF records setup, you should see an answer section like this:
;; ANSWER SECTION:
example.com. 300 IN TXT “v=spf1 +a +mx +ip4:192.168.0.0 ?all”