An SPF engine that follows include:/redirect= chains, stops at the first matching mechanism, and counts DNS-querying terms against RFC 7208 §4.6.4's cap of 10 — so it agrees with what real receivers do instead of string-matching a token. It also plans the record a domain should publish: given what is already at the name, merge one include into the existing record rather than adding a second v=spf1 record beside it. And it prices a record: what the whole tree costs a receiver that evaluates all of it, term by term, against the same cap. No Rails, no runtime dependencies, injectable DNS resolver.

Required Ruby Version

>= 3.1.0

Authors

MailerToGo

Versions

  1. 0.2.1 August 17, 2026 (35.5 KB)
  2. 0.2.0 August 17, 2026 (34.5 KB)
  3. 0.1.0 August 15, 2026 (25.5 KB)

Pushed by

GitHub

SHA 256 checksum

Provenance