Forum Discussion
DMarc/DKIM Issues
1. Verify the current configuration
powershell
Get-DkimSigningConfig -Identity yourdomain.com | FL Enabled,Selector1,Selector2
Normal state: Enabled = True and at least one Selector is valid.
2. Fix DKIM Signing
powershell.
# Enable DKIM
Set-DkimSigningConfig -Identity yourdomain.com -Enabled $true -Selector1 “selector1”
You need to add the corresponding CNAME record in DNS (e.g. selector1._domainkey.yourdomain.com).
3. Adjust DMARC policy
Modify the DMARC record in DNS as:
text
_dmarc.yourdomain.com. IN TXT “v=DMARC1; p=none; sp=none; rua=mailto:email address removed for privacy reasons”
Production environments are advised to eventually change to p=quarantine or p=reject.
4. Verify the fix
powershell
Test-EmailAutoConfiguration -Identity email address removed for privacy reasons -Protocol DMARC,DKIM
Check if the returned result contains Status=Pass.