Question
How to create SPF rule for the domain?
Answer
Sender Policy Framework (SPF) is an open standard specifying a technical method to prevent sender address forgery. It gives domain owners a way to specify which email sources are legitimate for their domain and which once are not.
The short description of the SPF can be found on its Introduction page:
CONFIG_TEXT: The technology requires two sides to play together: (1) the domain owner publishes this information in an SPF record in the domain's DNS zone, and when someone else's mail server receives a message claiming to come from that domain, then (2) the receiving server can check whether the message complies with the domain's stated policy. If, e.g., the message comes from an unknown server, it can be considered a fake.
Out-of-the-box Plesk has pre-configured TXT DNS record related to SPF in the Tools&Settings > DNS Template
Once the domain is created in Plesk the record like the following one will be added based on the template:
CONFIG_TEXT: example.com. TXT v=spf1 +a +mx +a:test.plesk.com -all
Here is the meaning:
Part | Description |
---|---|
|
The domain uses SPF of the version 1. |
|
All the hosts from the "A" records are authorized to send mail. |
|
All the hosts from the "MX" records are authorized to send mail. |
|
The domain test.plesk.com is authorized to send mail. |
|
All other domains are not authorized to send mail. |
SPF Record syntax described in this article
Comments
0 comments
Please sign in to leave a comment.