v=spf1 +mx ip4:65.1.2.3 -all Domain DNS TXT records to change:
- product1.com : [email protected]
- otherproduct.biz : [email protected]
Information:
- Both domains have DNS MX records, and mail is sent and received from these mail servers.
- New SMTP server is at a third ip-address that does not have a domain name (DNS A record, but does have DNS PTR record)
- This SMTP server is outgoing mail only
- This SMTP server is behind a ISP NAT with all inbound ports closed
My SPF record must allow the existing MX records and allow my new SMTP server to send mail on the domains behalf.
Is this the correct SPF syntax to allow the existing email servers (DNS MX records) and to authorize the new SMTP server ip-address?
v=spf1 +mx ip4:65.1.2.3 -all or
v=spf1 +mx ptr:ip-65.1.2.3.ispname.com -all I think both accomplish the same thing; One with the ip address and the other using the DNS PTR record.
This is the version that I favor:
v=spf1 +mx ip4:65.1.2.3 -all