{"id":20872,"date":"2022-05-24T11:05:58","date_gmt":"2022-05-24T09:05:58","guid":{"rendered":"https:\/\/kunskap.websupport.se\/kb\/spf-records\/"},"modified":"2023-10-16T10:17:46","modified_gmt":"2023-10-16T08:17:46","slug":"spf-records","status":"publish","type":"ht_kb","link":"https:\/\/kunskap.websupport.se\/en\/kb\/spf-records\/","title":{"rendered":"SPF-records"},"content":{"rendered":"Instruktioner l\u00e4mpliga f\u00f6r nyb\u00f6rjare<\/span>\n\n\n\n

A Sender Policy Framework<\/strong> (SPF<\/em>) pointer is a type of TXT mail that contains information about which servers (IP addresses) are allowed to send mail from a particular domain. The purpose of SPF is to prevent SPAM from your own address.<\/p>\n\n\n\n

Add SPF record to domain<\/h2>\n\n\n\n

Note: Only follow the guide in this paragraph if you have your email with us. If you use another supplier, you can see more info in the paragraph below this.<\/mark><\/p>\n\n\n\n

The easiest way to activate an SPF record, if it is not already added, is to log in to https:\/\/login.websupport.se<\/a> and click on the domain in question in the list of your services.<\/p>\n\n\n\n

Then click under “DNS” and select “Quick settings”. Once there, click “Set” next to “Websupport Mail”. Then click “Save Changes” in the box that appears.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n
\"\"<\/figure>\n\n\n\n
\n\n\n\n

How is an SPF-record built?<\/h2>\n\n\n\n

SPF pointer is defined as a single text string. Example of record:<\/p>\n\n\n\n

v=spf1 a mx include:spf.websupport.se ?all<\/pre>\n\n\n\n

The above pointer indicates that the SMTP server smtp.m101.websupport.se is allowed to send an e-mail with the domain where the SPF pointer is specified. If a message is sent via smtp.m101.websupport.se<\/em>, an e-mail server that supports SPF control will check the specified values. Since the IP address of the SMTP server from which the message was sent corresponds to the SPF pointer, the message will be processed further.<\/p>\n\n\n\n

If the message is instead sent via the SMTP server smtp.example.com<\/em>, which then has a completely different IP address, the message will no longer be accepted. The IP address is not defined in the SPF pointer for the specified domain and is therefore evaluated as a potential SPAM message.<\/p>\n\n\n\n

<\/p>\n\n\n Hur redigerar du en TXT-pekare? \u00bb<\/span><\/a>\n\n\n\n

<\/div>\n\n\n\n

Troubleshooting<\/h2>\n\n\n\n

Rejection of e-mail from our server due to SPF control<\/p>\n\n\n\n

If the recipient’s server has SPF control enabled, e-mail from a server other than the one defined in the SPF mail will be returned to the sender with the following error message:
<\/p>\n\n\n\n

\"550 Message rejected because SPF check failed\u200b.\"<\/pre>\n\n\n\n

In this case, there are two ways to let the sender deliver messages:<\/p>\n\n\n\n