The Knowledge Base contains articles written by the user community and CloudBerry engineers on services and products offered by CloudBerry Lab. Browse topics by category, or use the search box to find answers to your questions.

KB: 1053
Last updated: 2016-10-20

How to configure SPF (Sender Policy Framework) record for MBS


An SPF record is a type of Domain Name Service (DNS) record that identifies which mail servers are permitted to send email on behalf of your domain.

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.

For example, suppose that your domain uses “on-prem” mail server. You create an SPF record that identifies the CloudBerry Lab mail servers as the authorized mail servers for your domain. When a recipient’s mail server receives a message from, it can check the SPF record for to determine whether it is a valid message. If the message comes from a server other than “on-prem” mail servers listed in the SPF record, the recipient’s mail server can reject it as spam.

That’s why it is very important to have SPF record in your domain records.


Set the following SPF record to your domain.

v=spf1 ip4: ~all

where TXT - domain record type; second line - value of this record; ip4 - IP address of CloudBerry Lab SMTP server;

In case of other records you can use “include” syntax in the following format:

v=spf1 ip4: ~all
comments powered by Disqus