Cart Control panel
Article overview

Help article

SPF error when sending mail with the mail service

Are you using the VPS mail service and getting the error "SPF records for <hostname> have not been configured correctly. Please see for more information."? This error means the corresponding SPF record cannot be found by our mail servers.

vps mailservice x-auth-record

There are four possible causes for this problem:

  • You are attempting to forward mails using the mailservice. Unfortunately it is not possible to forward emails using our mailservice.
  • You configured your DNS correctly, but the DNS changes have not been propegated globally yet. It takes a maximum of 24 hours (usually less) before the changes have taken affect globally due to the global processing time of DNS changes. Unfortunately we have no influence on the time this takes.
  • The DNS records are misconfigured. To solve this, it's best to check that the mentioned DNS record has been added to your (sub)domain correctly. For configuring the DNS-records used by the mail service you can use this article. Is it a subdomain? You can then use this article for configuring its DNS.
  • You are sending mails from another domain then the one you configured the DNS for. You can check this by checking the domain that is listed in the <hostname> part of the error. If this is the case, check the configuration of your mail server and client and ensure you are using the correct domain.


Should you have any questions left regarding this article, do not hesitate to contact our support department. You can reach them via the ‘Contact Us’ button at the bottom of this page.

If you want to discuss this article with other users, please leave a message under 'Comments'.


Do you have a good idea?

Give us your idea! If it's popular we'll add it to the wishlist!

Has this article been helpful?

Create an account or log in to leave a rating.


Create an account or log in to be able to leave a comment.

Matthijs van Beek Admin August 21, 2018 (#1801)


The solution is mentioned in the article, specifically the section: <if you get the error> then the required DNS-record can not be found by our mail service. To resolve this you should check if the required record has been successfully added to the (sub)domain you are trying to mail from (see the example screenshot). If the record is not present, please add this and try again later.

Should you not be able to solve the problem with this information, could you contact our support department (using the contact button at the bottom of this page) indicating which VPS and domain you're experiencing problems with?

dschreij August 20, 2018 (#1797)

You are just reiterating the problem, but not providing a solution. If you end up on this page, you may assume people have already looked in the mail logs and found the error that leads to this page...

Are you stuck?

Ask one of our specialists to assist you

Contact us