Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.61 KB

README.md

File metadata and controls

49 lines (31 loc) · 1.61 KB

blitiri.com.ar/go/spf

GoDoc Tests Status Go Report Card Coverage Status

spf is an open source implementation of the Sender Policy Framework (SPF) in Go.

It is used by the chasquid and maddy SMTP servers.

Example

// Check if `sender` is authorized to send from the given `ip`. The `domain`
// is used if the sender doesn't have one.
result, err := spf.CheckHostWithSender(ip, domain, sender)
if result == spf.Fail {
	// Not authorized to send.
}

See the package documentation for more details.

Status

All SPF mechanisms, modifiers, and macros are supported.

The API should be considered stable. Major version changes will be announced to the mailing list (details below).

Contact

If you have any questions, comments or patches please send them to the mailing list, [email protected].

To subscribe, send an email to [email protected].

You can also browse the archives.