Applicable to:
- Plesk for Linux
- Plesk for Windows
Question
How to enable DMARC feature to check incoming mail in Plesk?
Answer
Notes: 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
Comments
18 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?
Related article "How to update DMARC records for all domains" not allow access : "You're not authorized to access this page".
The link "https://support.plesk.com/hc/en-us/articles/115002312533-How-to-update-DMARC-records-on-Plesk-server-for-all-domains-at-once-" gives an "oops You're not authorized to access this page", even though I'm logged in.
Hello Emilio Ortiz and Steve Cooke
Thank you for your notice. That article is on review.
Meanwhile,
For Linux:
# 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
For Windows:
C:\> "%plesk_bin%\dbclient.exe" --direct-sql --sql="SELECT name FROM domains" > C:\domains.txt
C:\> for /f "skip=1" %i in (C:\domains.txt); do ("%plesk_cli%\dns.exe" -a %i -txt "v=DMARC1; p=none; rua=mailto: mail@example.com; ruf=mailto: mail@example.com; fo=0; adkim=r; aspf=r; pct=20; rf=afrf; ri=7" -domain _dmarc)
1.- Select a Domain > Go to DNS Settings
2.- Add: _dmarc.example.com "TXT" "v=DMARC1;p=none;pct=100;rua=mailto:you@example.com" ( I recommend Create a New email )
3.- Check on MxToolbox.
That's All. !!!
I believe Plesk should do a full new article to full set up saver email correctly with extra spam protection as well.
Hello Robert Krölls
I believe methods this documentation link should help.
Hello soufianejayden
There may be several reasons why this happens. As additional investigation is required:
1. If you're an administrator of the server where Plesk is installed: https://support.plesk.com/hc/en-us/articles/213608509
2. If you're renting a hosting and not a server admin, contact the company, hosting is being rented from.
hello sir i fix the problem i have another issue i want to chnage my ip adresse of navigation bar to domain
Please sign in to leave a comment.