Cannot send messages between internal mailboxes: DMARC: REJECT message

Created:

2017-07-24 14:46:04 UTC

Modified:

2017-08-14 15:07:18 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Cannot send messages between internal mailboxes: DMARC: REJECT message

Note: This article has the reference to the issue with the fix available:

  • #PPPM-6824 "SPF handler could not add email headers for an authorized SMTP session, which resulted in failure to pass DMARC verification."
    Fixed in:
Please consider updating your server:

Symptoms

  • Cannot send messages between internal mailboxes
  • Emails sent within the local server are rejected if DMARC is activated and DKIM records are absent, e.g. sent from=admin@example.com to=john.doe@example.com.
  • Following entries in /var/log/maillog :
    dmarc[17825]: Starting the dmarc filter...
    dmarc[17825]: SPF record was not found in Authentication-Results:
    dmarc[17825]: DKIM record was not found in Authentication-Results:
    dmarc[17825]: DMARC: REJECT message for john.doe@example.com
    postfix-local[17823]: message discarded by a mail handler

Cause

DMARC policy is set to reject and message have not authentication results from SPF or from DKIM. This is bug with ID PPPM-6824 which is planned to be fixed in future Plesk updates.

Resolution

Conder using one of the following workarounds:

  1. Activate DKIM signing or disable DMARC at Plesk > Tools & Settings > Mail Server Settings :
    dkim_-_dmarc.PNG
  2. Apply custom fix from the attachment:
    Warning : Following custom fix is for Plesk 17.5 with CetnOS 7 running on the server.
    • Connect to the server using SSH.
    • Download the fix and unzip it:
      # wget https://support.plesk.com/hc/en-us/article_attachments/115001412134/spf.zip
      # unzip spf.zip
    • Backup the original file and place the patched one instead of it
      # mv /usr/local/psa/handlers/hooks/spf{,.orig}
      # cp spf /usr/local/psa/handlers/hooks/spf
    • Set correct permissions and ownership:
      # chmod 750 /usr/local/psa/handlers/hooks/spf
      # chown .popuser /usr/local/psa/handlers/hooks/spf

Attachments:

Have more questions? Submit a request
Please sign in to leave a comment.