Mobile app version of vmapp.org
Login or Join
Kaufman445

: 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

@Kaufman445

Posted in: #BulkEmail #Dns

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

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Kaufman445

3 Comments

Sorted by latest first Latest Oldest Best

 

@RJPawlick198

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.

10% popularity Vote Up Vote Down


 

@Si4351233

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

10% popularity Vote Up Vote Down


 

@BetL925

I recently had to do something similar and I know that Microsoft provides a SPF Record Wizard on their website. Maybe it will help you also.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme