View Single Post
  #2   Report Post  
Posted to uk.d-i-y
Chris Bartram[_2_] Chris Bartram[_2_] is offline
external usenet poster
 
Posts: 748
Default OT. spf DNS record help

On 18/10/15 15:22, Al wrote:
I want to set up an spf record for mydomain.co.uk, using this format:-

"v=spf1 a ip4:xxx.xxx.xxx.xxx -all" my question is what address to replace x , the domain ip or the smtp server range.

Thanks Allan

The short answer is "anything that might legitimately send email
addressed from your domain", so the legitimate SMTP server range for
definite, plus maybe any webserver you have if that sends mail directly.

http://www.kitterman.com/spf/validate.html

You may wish to consider using ~all instead of -all at the end. -all is
a hard bounce- i.e. reject mail unless from the allowed range. ~all is
less likely to cause delivery problems but people can still use SPF for
filtering.