- Plesk for Linux
Unable to receive an email from Yahoo with DMARC enabled under Plesk > Tools & Settings > Mail Server Settings > Enable DMARC to check incoming mail.
SPF/DKIM checkers are not passed. There are the following entries in
CONFIG_TEXT: example dmarc: Starting the dmarc filter...
example dmarc: SPF record was not found in Authentication-Results:
example dmarc: DKIM record was not found in Authentication-Results:
example dmarc: DMARC: REJECT message for firstname.lastname@example.org
"SPF record was not found in Authentication-Results" means DMARC_POLICY_SPF_OUTCOME_NONE.
"DKIM record was not found in Authentication-Results" means DMARC_POLICY_DKIM_OUTCOME_NONE.
Yahoo DMARC policy is the following:
# dig TXT _dmarc.yahoo.com | grep -A1 "ANSWER SECTION"
;; ANSWER SECTION:
_dmarc.yahoo.com. 1796 IN TXT "v=DMARC1; p=reject; pct=100; rua=mailto:email@example.com;"
smtpd_miltersoption is not defined in postfix configuration:
# grep smtpd_milters /etc/postfix/main.cf
Postfix misconfiguration: before-queue mail filters are disabled.
Since SPF/DKIM checkers are not passed, the message is rejected according to the sender DMARC policy.
Connect to the server via SSH.
Check and correct the
non_smtpd_miltersparameters to look like below in
# grep -ir milt /etc/postfix/main.cf
smtpd_milters = , inet:127.0.0.1:12768
non_smtpd_miltersparameters are changed to the correct ones, restart the Postfix:
In Plesk, go under Tools & Settings > Services Management > SMTP Server (Postfix). Click Restart the service icon.
To restart Postfix via command line:
# service postfix restart