How to exclude a domain from DMARC check in Plesk for Linux

Modified on Mon, 16 Dec, 2024 at 9:13 PM

Question

How to add a domain to DMARC whitelist in Plesk for Linux?


Answer

1. Connect to a Plesk server via SSH.


2. Create the dmarc.conf file in /etc/psa/:

# touch /etc/psa/dmarc.conf


3. Open the dmarc.conf file in a text editor. In this example, we are using the vi editor:

# vi /etc/psa/dmarc.conf


4. Add the following configuration to the file. Replace example domains with domains that must be ignored by DMARC check:


Note: If several domains are to be added, separate them by a comma.


    IgnoreMailFrom example.com

    IgnoreMailFrom example.net


## IgnoreMailFrom domain[,...]
## default (none)
## Gives a list of domain names whose mail (based on the From: domain) is to
## be ignored by the filter. The list should be comma-separated. Matching
## against this list is case-insensitive. The default is an empty list,
## meaning no mail is ignored.

Save the changes and close the file.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article