Plesk for Windows
Plesk for Linux
kb: how-to
Ideal
ABT: Group B
Applicable to:
- Plesk for Linux
- Plesk for Windows
Question
How to enable DKIM spam protection for outgoing emails of particular domain in Plesk?
Answer
Note: if external DNS provider is used, contact your DNS owner in order to add DKIM record. Refer to this instruction for DKIM public key.
1. Enable DKIM support server-wide
2. Enable DKIM protection for particular domain:
-
via Graphical User Interface (GUI):
-
Go to Domains > example.com > Mail Settings, mark Use DKIM spam protection system to sign outgoing email messages and press OK:
-
via Command Line Interface (CLI):
Comments
6 comments
What is not mentioned is how you obtain the public key to publish in DNS. The article does mention; "if external DNS provider is used, contact your DNS owner in order to add DKIM record" ... but it would help to know what the public key is to add :-)
Hello Iain Hunneybell
This instruction contains an answer to your question.
Thanks Ivan Postnikov. Indeed I found and used that article, but it would be worth including at least a link this this in the main article here as you can't enable DKIM without publishing the selector key and so it really needs to be a part of the solution :-)
Hello Iain Hunneybell
Thank you for clarification.
I've added the corresponding link.
I have a serious problem.
I'm on Obsidian 18.0.29 Update 2
I have several domains under the same subscription. I set up DKIM for all of them.
They work fine when sending email from an email client.
But when I send an email using PHP from any domain other than the first one I added to this subscription, it fails with the error "DKIM: Fail with domain: (primary domain)"
How do I get PHP to send as the right domain and use the right DKIM?
Hello Kathy Sechrist
As I can see, you've already found the article https://support.plesk.com/hc/en-us/articles/115002513925 and left an additional question there.
We'll check that additional question.
Please sign in to leave a comment.