1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Manage SPF records
This guide explains how to add or modify one or more SPF (Sender Policy Framework) records in the DNS zone (of a domain name) managed on the Infomaniak Manager.
SPF Type
The SPF (Sender Policy Framework) record type is a standard for verifying the sender's domain name of an email and aims to reduce spam.
It indicates which server is allowed or not allowed to send emails for a domain.
If SPF fails for an email, it means that it has not been sent from a server/an IP address authorized by the domain administrator of the sender.
The email is then considered as spam.
Infomaniak automatically installs this type of record when creating a Mail Service on your domain (strict SPF):
v=spf1 include:spf.infomaniak.ch -all
This means that the receiving server of the email you send will evaluate that any email not coming from Infomaniak servers will be rejected. This prevents malicious individuals from spoofing email addresses from your domain.
But you can also decide to modify the SPF for a more flexible model:
v=spf1 include:spf.infomaniak.ch ?all
In this case, the receiving server of the email you send will evaluate according to its own rules whether it accepts emails not coming from Infomaniak servers.
To summarize:
?
: the receiving server accepts the message even if the sender is not listed in the SPF~
: the receiving server generally accepts the message if it is not listed in the SPF but identifies it as suspicious-
: the receiving server rejects the message if it is not listed in the SPF (recommended)
Add SPF via a TXT record
Consult this guide (click here) to know the steps to manage records in a DNS zone.
Add multiple SPFs
If you use mail providers in addition to Infomaniak, you need to obtain their SPF and then merge it with Infomaniak's according to a precise syntax.
Example of 3 SPF records:
- Infomaniak's:
v=spf1 include:spf.infomaniak.ch -all
- Secondary providers':
v=spf1 include:the-second-domain.xyz ?all
v=spf1 include:the-other-domain.xyz ~all
... the final SPF to be inserted into your domain's DNS zone must be in the form:
v=spf1 include:spf.infomaniak.ch include:the-second-domain.xyz include:the-other-domain.xyz -all
Delete any other SPF entry from your domain's DNS zone!
Check the SPF record
The Global Security tool allows you to easily check and correct certain problematic records.