Enabling DKIM for a domain attaches a special header to every email sent from the domain. This header contains a cryptographic private key. The recipient mail servers use a public key to verify that an email was indeed sent from the domain and no one tampered with the email content in transit. Emails that do not have the header will be detected as not authentic.

You can enable DKIM email signing for domains that use the Plesk DNS server and those that use an external DNS server.

You enable DKIM signing for each individual domain.

To enable DKIM signing of outgoing mail for a domain:

  1. Go to Websites & Domains > your domain > the “Mail” tab > Mail Settings.

  2. Select the “Use DKIM spam protection system to sign outgoing email messages” checkbox and then click Apply.

    If you use the Plesk DNS server, you have enabled DKIM for the domain. Plesk adds the following two records to the DNS zone of the domain (example.com stands for your domain name):

    • default._domainkey.example.com contains the public part of the generated key.
    • _ domainkey.example.com contains the DKIM policy. You can edit this policy.

    If you use an external DNS server, you have one more step left. Plesk cannot add the DNS records to the external DNS server. Add them yourself using a hint from Plesk.

  3. Click “How to configure external DNS” to open the hint. Copy two DNS records you see there and add them to the DNS server.

注解: If you have domain aliases you use to send mail, add the DKIM DNS records for them as well. Use the same records as for the main domain but with the domain alias name.

image DKIM external DNS

外发邮件的 SPF 和 DMARC 政策

除了 DKIM,Plesk 还支持将 SPFDMARC 策略用于发送邮件。DMARC 执行策略以根据 DKIM 和 SPF 检查的结果来处理邮件信息。默认,DMARC 使用常规策略,而没有通过检查的信息不会被删除。您可以使用更为严格的策略。例如,您可以指定在信息同时通过 SPF 和 DKIM 检查的情况下才能被收件人邮件服务器接受。

You can change the SPF and DMARC policies for your domain in the domain’s DNS settings.

若要为您的域名设置 DMARC 或 SPF 策略,请如下操作:

进入 网站与域名 > 导向某个域名> DNS 设置 编辑与SPF 或 DMARC相关的 DNS 记录。例如,该记录包含了默认的DMARC 策略:

_dmarc.<your domain>.    TXT    v=DMARC1; p=none

See more information on DMARC and SPF (including policy notations).