Setting up DKIM and SPF Records in Windows Plesk


Setting up DKIM in plesk panel(Windows)


DKIM stands for DomainKeys identified mail. The DKIM keys are to ensure the authentication of the mail you send to enhance the security of the server. The Plesk panel is used to handle the technical aspects related to Windows Shared Hosting. With the domain name, you can generate your DKIM record which you need to set it up in the Plesk panel in other words in your server in fact. The steps to do the same is explained in brief. If you have any queries regarding the same you can contact our support team.


This article applies to your HostingRaja customers who have bought  Windows Shared Hosting Server, Running Plesk Control Panel.

This article will show you how to configure your DKIM Record using Plesk.

What is DomainKeys Identified Mail (DKIM)?

DomainKeys Identified Mail (DKIM) lets an organization take responsibility for a message that is in transit. The organization is a handler of the message, either as its originator or as an intermediary. Their reputation is the basis for evaluating whether to trust the message for further handlings, such as delivery. Technically DKIM provides a method for validating a domain name identity that is associated with a message through cryptographic authentication.

Why do we need to set DKIM ?

If Emails from your website goes to spam folders in other vendors, such as Gmail, Yahoo Email and other some other email providers, then you have to set the DKIM records in your website control panel setup. Every mail server while receiving checks for authentication of the Email senders using DKIM and SPF records, If those records are verified or added correctly, then the email will be delivered.  This option or features are available with all the shared hosting plan of HostingRaja customers. 

You'll need to add SPF and DKIM records and verify ownership of your sending domains before you can send email to your account.Unlike SPF, you can maintain many DKIM records for various sending sources. Each DKIM record is identified using a selector. In the case, the selector is "pm" as a way to identify Postmark. By using a different key pair for each provider you can easily revoke or renew DKIM records as needed.

To use DKIM you will need to be using the DNS server in Plesk. This means that you are using your server as a name server. If you are not then you can find the DKIM TXT record in the Plesk DNS settings template, located in the Websites & Domains tab, under DNS settings.

  1. Login to your Plesk account.
    2. Select the domain that you'd like to add the DomainKey for.
    3. Click the Mail tab.

The SPF and the DKIM are the two technical kinds of stuff related to the email configurations. The terms are used to authenticate you as a genuine user and you are authenticated to exchange the emails. The SPF and DKIM records are derived from the domain name and are needed to be updated on Windows server. If the SPF and DKIM verification are failed then there can not be a possible email communication from the particular domain. The steps are given to update the same on the server. Follow them in order to update them successfully.


This article applies to your hostingraja Server Running Plesk

SPF Record

The purpose of an SPF record is to prevent spammers from sending messages with forged From addresses at your domain. Recipients can refer to the SPF record to determine whether a message purporting to be from your domain comes from an authorized mail server.

An SPF record allows you to specify IP addresses that are legitimately allowed to send email for your domain name. The purpose of this to stop spammers trying to use your domain name.

You can generate an SPF record for your site at

If you are using an external registrar you will need to ask your domain provider to add the SPF record.

Or, if you are using your server as a DNS server then apply your SPF record using your Plesk Control panel:


Login to your Parallels Plesk Panel.



Click on the Domains link on the left side panel.


Click on the Open in Control Panel link for the relevant domain name.


Click on the Website & Domains tab.


Click on the DNS settings link.


Click on the Add Record icon.


Select TXT From the drop down list.


Leave the Domain name field blank and enter the generated SPF record in the TXT record field.

Press the OK button to add the record.


To apply the SPF record to the DNS zone press the Update button.