Category: Domains and email

DKIM fail after changing the message delivery system

Read this guide in Polish

The messages come out, but the recipient at Authentication-Results shows dkim=fail. The signature may be verified with a key other than that published in the DNS or the content has been changed after signature.

How to determine the source of the error

Check the domain d= and selector s= from the header of the DKIM-Signature test message.

Compare the DNS selector record with the key configured with the shipping provider.

What to do step by step

1. Publish the exact DKIM record indicated by the active supplier and test after propagation. Compare the shipping result from the same sender to two independent recipients to rule out the local filter problem.

2 . Disable unnecessary content modifications after signature or configure signing at the final transport stage.

How to check the score

The new email shows dkim=pass and is signed by the expected domain. Also check that the signature includes the expected broadcast domain and is not replaced by the intermediary signature.

What to do

Do not copy someone else's private key to DNS public record.