Applicable to:
- Plesk for Linux
Question
How to add a domain to DMARC whitelist in Plesk for Linux?
Answer
-
Connect to a Plesk server via SSH.
-
Create the
dmarc.conf
file in/etc/psa/
:# touch /etc/psa/dmarc.conf
-
Open the
dmarc.conf
file in a text editor. In this example, we are using the vi editor:# vi /etc/psa/dmarc.conf
-
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.
CONFIG_TEXT: IgnoreMailFrom example.com, 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.
Comments
2 comments
I tried these steps, but I still get mails rejected because of DKIM validation errors. Also mentioned at https://talk.plesk.com/threads/exclude-dkim-verification-for-incoming-mail-plesk-solution-not-working.371974/#post-936828 .
Also another person in https://support.plesk.com/hc/en-us/articles/12377454166935 states that this solution is not working.
Same problem, solution is not working. Plese fix the DMART whitelist config file
/etc/psa/dmarc.conf
Please sign in to leave a comment.