Jump to content

This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!

SPF Record: Difference between revisions

427 bytes added ,  23 November 2022
m
no edit summary
mNo edit summary
mNo edit summary
(10 intermediate revisions by 2 users not shown)
<indicator name="Faults">[[File:Menu-email.svg|link=:Category:Email|30px|Back up to the Email Category]]</indicator>
 
Also see [[DKIM]]
Many of the large email providers (Gmail, Yahoo, Office 365) are getting picky about accepting email that has no 'validation' mechanisms. Even if your email is not spam or junk they may treat it as so and either reject the message or put it in the recipients junk folder.
 
SPF = Sender Policy Framework
Whilst we don't provide DMARK or DKIM features on our email service customers are are welcome to use their own email servers and configure them as they wish.
 
From Wikipedia:
However, customers may be able to add a SPF record to their domain to help get their messages through. In short, an SPF record says which email servers are allowed to send messages for you.
SPF allows the receiving mail server to check during mail delivery that a mail claiming to come from a specific domain is submitted by an IP address authorized by that domain's administrators. The list of authorized sending hosts and IP addresses for a domain is published in the DNS records for that domain.
 
Many of the large email providers (Gmail, Yahoo, Office 365) are getting picky about accepting email that has no 'validation' mechanisms. Even if your email is not spam or junk they may treat it as so and either reject the message or put it in the recipients junk folder.
Typically, our customers would use <code>smtp.aa.net.uk</code> to send email - however thought must be given to other servers that may also send email from your domain - eg you may have a 3rd party web server or some other service that sends email on our behalf - these would want to be included too.
 
However, customers may be able tocan add a SPF record to their domain to help get their messages through. In short, an SPF record says which email servers are allowed to send messages forfrom you.
To cover the IP addresses of the A&A email servers, you can include <code>_spf_include.aa.net.uk</code>, eg:
 
Typically, our customers would use <code>smtp.aa.net.uk</code> to send email - however '''thought must be given to other servers that may also send email from your domain - eg you may have a 3rd party web server or some other service that sends email on our behalf - these would want to be included too.''' In these cases, you'd add the IP addresses as: ip4:x.x.x.x and/or ip6:xxxx:xxxx:xxxx::xxxx
 
To cover the IP addresses of the A&A email servers, you can include <code>_spf_include.aa.net.uk</code>, eg:
v=spf1 mx include:_spf_include.aa.net.uk ~all
 
 
This says to accept email from the mx records (<code>mx</code>) and A&A's published list of IP addresses (<code>include:_spf_include.aa.net.uk</code>) , everything else should be marked as possible junk (<code>~al</code>).
 
This says to accept email from the mx records (<code>mx</code>) and A&A's published list of IP addresses (<code>include:_spf_include.aa.net.uk</code>) , everything else should be marked as possible junk (<code>~alall</code>). This should be added as a domain level TXT record (Typically "@" through a control panel).
 
This is just a brief example of SPF, the record above will be useful to customers who only send email via <code>smtp.aa.net.uk</code>. There are lots of information and SPF 'generators' on the internet. The main thing to do is to test what you have added by looking at the headers of email that has been received by Gmail/O365 etc)
 
[[Category:Email]]
[[Category:Email Features]]
autoreview, Bureaucrats, editor, Interface administrators, reviewer, Administrators
12,270

edits