How can I get my DKIM identified?
I’m struggling to prevent my emails from vanishing or ending up in the email spam folder, and it looks like it is my DKIM record that is not identified correctly, so is there anyone who knows how to set up the DNS records correctly for this?
I’m using an Ubuntu 16.04 droplet with WordPress and Postfix, and all email is hosted at Office 365, except a few emails which are posted via a web form on the website, and that’s where this issue comes into the picture.
This is my authentication report:
========================================================== Summary of Results ========================================================== SPF check: softfail DomainKeys check: neutral DKIM check: neutral SpamAssassin check: ham
This is my SPF record:
TXT example.com v=spf1 +a +ip4:188.8.131.52 ~all 3600
This is my DKIM record:
TXT mail._domainkey.example.com "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC5N3lnvvrYgPCRSoqn+awTpE+iGYcKBPpo8HHbcFfCIIV10Hwo4PhCoGZSaKVHOjDm4yefKXhQjM7iKzEPuBatE7O47hAx1CJpNuIdLxhILSbEmbMxJrJAG0HZVn8z6EAoOHZNaPHmK2h4UUrjOG8zA5BHfzJf7tGwI+K619fFUwIDAQAB" 3600
In my mail tester feedback I got the following result:
[SPF] Your server 184.108.40.206 is authorized to use email@example.com
[Sender ID] Your server 220.127.116.11 is authorized to use firstname.lastname@example.org
Your message is not signed with DKIM
You do not have a DMARC record
Your server 18.104.22.168 is successfully associated with example.com
Please note that it’s only emails from a web form on the website that ends up in a spam folder, and all emails sent via the website uses Postfix and a PHP mail() function.
I’m not sure I can set a MX record, because last time I tried the Office 365 stop working, so any other advice on how to correct this is appreciated.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.