Skip to main content

SPF record contents

Comments

3 comments

  • cPanelLauren
    • mx point to same ip4:x.x.x.x, is it enough to use mx or also I have to use ip?

    I'd include the IP for good measure in the event you ever modify anything but it's not mandatory here
    • a record is proxied by CloudFlare, is it required?

    Nope this isn't required just a general rule of thumb
    if mx record is hs.domain.com, have I to put the hostname of the server together with
    0
  • m.eid
    I'd include the IP for good measure in the event you ever modify anything but it's not mandatory here Nope this isn't required just a general rule of thumb I wouldn't use the hostname I would use the domain name and mail.domain.com if the IP address is different than the domain's So, initially I would use ~ but once you're sure the record in place meets your needs then I would proceed to use - Thanks!

    Thank you for your reply, at Email Deliverability Page I find it says "Mail HELO hs.domain.com" and in the header of the emails it includes from: hs.domain.com so if I want to reduce the record but make it correctly, can I use it like this ? v=spf1 +mx ~all since mx point to x.x.x.x, and if hs.domain.com points for CloudFlare ips rather than origin server ip, will it make any conflicts for it? is it safer to put both mx and hostname to avoid ip mismatch? Thank you in advanced
    0
  • cPanelLauren
    I would include A record since it's also using the CloudLinux IPs which are different than the MX IP's.
    0

Please sign in to leave a comment.