Mail::M...ang::SPF(3)

✨ NAME ✨

okay bestie, welcome to the Mail::M...ang::SPF(3) page, straight outta the Mail::MIMEDefang::SPF Documentation set πŸ’–

Mail::MIMEDefang::SPF β€” the Sender Policy Framework interface for MIMEDefang. she's the SPF girlie of the MIMEDefang universe πŸ¦‹


🌸 DESCRIPTION 🌸

Mail::MIMEDefang::SPF is a module you use to check for Sender Policy Framework headers from mimedefang-filter. that's the whole vibe. it checks the SPF stuff so you don't have to 😌


πŸ’… METHODS πŸ’…

πŸŽ€ md_spf_verify

Returns the code and explanation of the Sender Policy Framework check. ✨

Additional optional return values are the code and explanation of the helo SPF query. the 5th and 6th return values are the SPF dns records, if they are available πŸ‘‘

Possible return code values are:

  • "pass"
  • "fail"
  • "softfail"
  • "neutral"
  • "none"
  • "error"
  • "permerror"
  • "temperror"
  • "invalid"

The method accepts the following parameters:

  • $email β€” the email address of the sender πŸ“§
  • $relayip β€” the relay ip address 🌐
  • $helo (optional) β€” the MTA helo server name πŸ’«

and that's the whole page, bestie, no notes πŸ’œ

cute lil sign-off time: this was Mail::M...ang::SPF(3), version 3.7.1, dated 2026-07-20. go slay your SPF checks 🫢✨

πŸ“¦ where this page comes from