Hi all! I am currently trying to set up an SPF record for our domain, and I have gotten stuck. Names have been changed to protect the innocent!
We send and receive email from 3 locations, smtp.domain.com, smtp1.domain.com and smtp2.domain.com. These locations also deal with domain.co.uk email. I need an SPF record to show this. We currently send mail out via dns so I am unsure if I need to use the soft bounce or hard bounce options (~all or -all).
Pref Hostname IP
10 smtp1.domain.com 83.217.122.x
20 smtp.domain.com 82.110.240.x
30 smtp2.domain.com 87.83.216.x
I have come up with: "v=spf1 mx a ptr a:smtp.domain.com a:smtp1.domain.com a:smtp2.domain.com mx:domain.co.uk -all"
A colleague has come up with this "v=spf1 a ptr mx:smtp.smartestenergy.com mx:smtp1.smartestenergy.com mx:smtp2.smartestenergy.com -all"
I am unsure which is correct and why. Any advice would be appreciated!
We send and receive email from 3 locations, smtp.domain.com, smtp1.domain.com and smtp2.domain.com. These locations also deal with domain.co.uk email. I need an SPF record to show this. We currently send mail out via dns so I am unsure if I need to use the soft bounce or hard bounce options (~all or -all).
Pref Hostname IP
10 smtp1.domain.com 83.217.122.x
20 smtp.domain.com 82.110.240.x
30 smtp2.domain.com 87.83.216.x
I have come up with: "v=spf1 mx a ptr a:smtp.domain.com a:smtp1.domain.com a:smtp2.domain.com mx:domain.co.uk -all"
A colleague has come up with this "v=spf1 a ptr mx:smtp.smartestenergy.com mx:smtp1.smartestenergy.com mx:smtp2.smartestenergy.com -all"
I am unsure which is correct and why. Any advice would be appreciated!