: Is this SPF record correct? I need to set up a SPF record to allow an alternative IP address to send our newsletter emails. The main IP hosting the site still needs to be allowed to send
I need to set up a SPF record to allow an alternative IP address to send our newsletter emails. The main IP hosting the site still needs to be allowed to send email also.
Would the following work?
v=spf1 mx ip4:_MAINSITE_ mx:mail._MAINSITEDOMAIN_ ip4:_ALTIP_ -all
More posts by @Kaufman445
3 Comments
Sorted by latest first Latest Oldest Best
Adding a ~all (SOFTFAIL) instead of -all (FAIL) may be useful if in the future, you change some of your IP, this way it will not fail if you don't change the SPF record at the same time with the IP.
You don't need to specify the details of your mx records. The correct format would be:
v=spf1 mx ip4:_MAINSITE_ ip4:_ALTIP_ -all
This would allow mail from your two IPs and any mail servers in your mx records
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.