how do I fix email with DMARC, SPF and DKIM issues?

SCOTT RASMUSSEN 0 Reputation points
2026-02-20T22:03:25.96+00:00

Emails that I send are ending up in junk or spam or are being quarantined. The problem is related to the DMARC, SPF and DKIM settings.

Microsoft 365 and Office | Other

2 answers

Sort by: Most helpful
  1. EmilyS726 279.1K Reputation points Independent Advisor
    2026-02-20T22:42:39.6466667+00:00

    Hello. Who’s your email service provider and who do you register your domain with?

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

  2. AI answer

    2026-02-20T22:03:33.12+00:00

    To resolve issues with DMARC, SPF, and DKIM that are causing your emails to end up in junk or spam folders or being quarantined, you can follow these steps:

    1. Fix SPF Configuration:
      • Ensure that your SPF record includes all legitimate source IP addresses that send email from your domain. You can verify this by checking your SPF record for any missing IP addresses.
      • If you encounter spf=fail or spf=permerror, it indicates that the sending server's IP address is not authorized or there are issues with your SPF record configuration. Update your SPF record accordingly.
    2. Set Up DKIM:
      • Make sure DKIM is set up for your domain and that the signatures are correctly applied to outgoing mail. If you see dkim=fail, it may mean that the recipient cannot find a matching public key in DNS. Ensure that the public key is present in your DKIM CNAME or TXT record.
    3. Configure DMARC:
      • Set up a DMARC record that specifies what to do with messages that fail DMARC checks (e.g., reject or quarantine). Ensure that the domains in the MAIL FROM and From addresses match to avoid DMARC failures due to domain misalignment.
      • Verify the syntax of your DMARC record and the policy settings (e.g., p=quarantine or p=reject).
    4. Alignment of SPF and DKIM:
      • Ensure that either SPF or DKIM passes and is aligned with the From address domain as required by DMARC. If DMARC fails due to domain misalignment, align the domains used in the MAIL FROM and From addresses.
    5. Monitor and Test:
      • Use DMARC reporting services to monitor the results of your DMARC configuration. This will help you identify any ongoing issues with email authentication.

    By addressing these areas, you should be able to improve the deliverability of your emails and reduce the chances of them being marked as spam or quarantined.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.