How can I setup DomainKeys Identified Mail (DKIM) and SPF using DirectAdmin

DKIM is now a very important tool to reduce the probability of your emails being flagged as spam. It's highly recommended to enable DKIM for your domains. A guide has already been written by DirectAdmin to configure DKIM, which is listed on the following page:

Once you have configured DKIM you can confirm if it’s setup correctly using the following DKIM Keycheck Tool:

After you have configured DKIM you can continue with setting up an SPF record for your sender domain. To do this you simply add a TXT record to your domain. An illustration for a good SPF record would be:            IN TXT v=spf1 mx –all IN TXT v=spf1 a –all

A good explanation and summary of all the syntaxes and parameters can also be found on the following webpage:

Once everything is setup you can use this form based record tester to see if the SPF records are correct:

For supplementary guidelines for receiving mail on Outlook and Gmail addresses please see:



Have more questions? Submit a request


Please sign in to leave a comment.