email - SPF record clarification - Is this set correctly? -


i not familiar spf records need bit of setting spf record correctly.

below record created using microsoft spf record wizard

v=spf1 mx ptr ip4:xxx.xxx.xxx.a ip4:xxx.xxx.xxx.b include:aspmx.googlemail.com include:mydomain.com -all

as can see use google apps, have 2 web servers sending mail on behalf of mydomain.com. listed 2 ips both web servers relating mydomain.com , mail mydomain.com sent both server (web app).

i set ptr xxx.xxx.xxx.a @ isp. considering , fact above mentioned places mail generated mydomain.com above record correct?

most of results of spf specification depend on mx entries of domain. here is:

  • a: allow host, record of domain pointing (but not subdmains, or hosts inside domain)
  • mx: allow hosts mx record pointing them
  • ptr: allow hosts ptr record matches record. use when control both reverse , forward domains, , not results in dns overhead.
  • ipv4:...: allow named ip.
  • include:...: include servers allowed spf rules in named domain. google uses redirection allow sender hosts here.

i assume spf record entered mydomain.com domain directly. last include superfluous , creates loop.

after all, looks rather correct (if correct mentiond include if applicable). understand what's going on, should read specification, it's simple in end.


Comments

Popular posts from this blog

c# - Outlook Add-in,group emails based on color category -

PHP: Exploding array elements -

forms - Secure PHP File Upload Script -