1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Managing SPF Records
This guide explains how to add or modify one or more SPF 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 domain name of the sender of an email and aims to reduce SPAM.
It is used to indicate which server is allowed or not allowed to send emails for a domain.
If SPF fails for an email, it means that it was not sent from a server/IP address authorized by the domain administrator.
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
Thus, the receiving server of the email you send will evaluate that any mail not coming from Infomaniak servers will be rejected. This prevents malicious individuals from spoofing email addresses from your domain.
However, you can also choose 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 an SPF via a TXT record
Refer to this guide (click here) to know how to manage records in a DNS zone.
Group multiple SPF in the same TXT
If you use mail providers in addition to Infomaniak, you need to obtain their SPF then merge it with Infomaniak's according to a precise syntax.
Example of 3 SPF:
- Infomaniak's:
v=spf1 include:spf.infomaniak.ch -all
- Those of 2 secondary providers:
v=spf1 include:the-second-domain.xyz ?all
v=spf1 include:the-other-domain.xyz ~all
... the final SPF to insert into your domain's DNS zone should be in the form:
v=spf1 include:spf.infomaniak.ch include:the-second-domain.xyz include:the-other-domain.xyz -all
You can then delete the other SPF entries from your domain's DNS zone.
Check the SPF record
The Global Security tool allows you to easily check and correct certain problematic records.