Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckMXViaSMTP ¶
CheckMXViaSMTP returns an error if a secure connection to the MX cannot be established.
func FilterMXs ¶
FilterMXs tests if the MX records for "domain" are valid according to "policy." Returns valid MXes for the domain, and error if any are invalid according to the policy.
func PolicyVersionForDomain ¶
PolicyVersionForDomain fetches the policy version for a given domain.
Types ¶
type Policy ¶
Policy represents a parsed policy.
func ParsePolicy ¶
ParsePolicy returns a Policy from a raw string, or error.
func PolicyForDomain ¶
PolicyForDomain fetches the policy for a given domain.
Click to show internal directories.
Click to hide internal directories.