Applicable to:
- Plesk Onyx for Linux
- Plesk Onyx for Windows
Question
How to enable DMARC in Plesk?
Answer
Notes: The DMARC feature is available starting from Plesk Onyx 17.5.
MailEnable mail server does not support the DMARC feature. This feature is unavailable in Plesk for Windows Server with MailEnable. To learn more about the DMARC protection, visit this Plesk documentation page.
-
In Plesk, go to Tools & Settings > Mail Server Settings.
-
On the Mail Server Settings page, scroll down to the DMARC section and enable the option Enable DMARC to check incoming mail:
-
On Linux servers, DMARC feature requires DKIM and SPF spam protections to be enabled.
-
- Click OK to apply the changes.
If the DMARC feature is enabled, but a DMARC record is missing in DNS settings of a domain, add it using the below steps:
-
In Plesk, go to Domains > example.com > DNS Settings.
-
Click Add Record and fill in the fields:
PLESK_INFO: Record type: TXT
Domain name: _dmarc
TXT record: v=DMARC1; p=none
Note: Enabling DMARC feature may cause the issue where emails between mailboxes of the same domain will be rejected.
Comments
9 comments
Im getting No DMARC Record found for sub-domain.
@Robert,
Am I right that you checked your sub-domain with mxtoolbox DMARC checker and it said that "No DMARC Record found"?
If so, please check that TXT record of type DMARC and with "_dmarc" prefix exists under Plesk > Domains > example.com > DNS Settings. It should look like that:
Yes its registed as descriped
also Tried https://support.plesk.com/hc/en-us/articles/115002312533
plesk db "SELECT name FROM domains\G" | grep name | awk '{print $2}' | while read i; do plesk bin dns -a $i -txt "v=DMARC1; p=none" -domain "_dmarc" ; done
exit status 1
DNS record already exists.
Any other hint?
Hello @Robert,
If your domain DNS zones are hosted outside Plesk, please make sure that the corresponding DNS records are propagated globally.
You may check the DNS propagation from any external server using the command like the following:
# dig +short txt _dmarc.example.com
If DNS zones are hosted on the Plesk server or you receive the proper answer using the command above, please contact Plesk support for assistance:
https://support.plesk.com/hc/en-us/requests/new
Is there a way to do this by bulk through the CLI?
For example, enabling DMARC for all domains on the server at once?
Hello @Michel,
This article should help to achieve your goal:
https://support.plesk.com/hc/en-us/articles/115002312533-How-to-update-DMARC-records-on-Plesk-server-for-all-domains-at-once-
Thank you Ivan, must have missed it when I searched for it. :-)
My DMARC is enabled at the server. DNS records are OK. But mxtoolbox.com still says DMARC Policy Not Enabled. I've tried disabling and re-enabling without luck.
I use MX records as srv.myserver.com, not mail.mydomain.com; maybe this is the reason? I'm suing Postfix and Dovecot
Hello @Arda Oğul Üçpınar,
If your domain DNS zones are hosted outside Plesk, please make sure that the corresponding DNS records are propagated globally.
You may check the DNS propagation from any external server using the command like the following:
# dig +short txt _dmarc.example.com
If DNS zones are hosted on the Plesk server or you receive the proper answer using the command above, please create a request to Plesk Technical Support for further investigation: How to submit a request to Plesk support?
Please sign in to leave a comment.