Karta.Domains.Health.ReturnPath (Karta v1.0.0)

The return path check of a domain (Karta.Domains.Health). With KARTA_RETURN_PATH_DOMAIN set, Karta's mail has an envelope sender in that domain (one address per recipient, for bounces), so receivers check that domain's SPF record, and bounces go to its MX hosts:

  • its MX record: :pass with one, :fail without (bounces cannot arrive);
  • its SPF record, as Karta.Domains.Health.SPF checks a domain's.

Without it the envelope sender is at the domain itself, which the SPF check covers: :pass. The return path domain is the instance's, so the fix is for its administrator. A lookup that fails ends the check without a result.

Summary

Functions

Runs the check. input as Karta.Domains.Health.run/2 builds it.

Functions

check(input, dns)

@spec check(map(), keyword()) :: Karta.Domains.Health.outcome()

Runs the check. input as Karta.Domains.Health.run/2 builds it.