NAME
Mail::MIMEDefang::Authres - Authentication Results interface for MIMEDefang
DESCRIPTION
Mail::MIMEDefang::Authres is a module used to add Authentication Results
headers from mimedefang-filter.
METHODS
-
md_authres
Returns a mail Authentication-Results header value. The method accepts the following parameters:
-
$emailThe email address of the sender
-
$relayipThe relay ip address
-
$serverdomainThe domain name of the server where MIMEDefang is running on
-
$helo(optional)The MTA helo server name
-
$bimi_domain(optional)The From: header domain to use for BIMI lookup. When provided, a
bimi=result (pass,none,declined,skipped,temperrororfail, seemd_bimi_verifyin Mail::MIMEDefang::BIMI) is appended to the Authentication-Results header.
-
-
md_org_domain
Returns the "organizational domain" of a domain name, for use in relaxed DMARC alignment checks (e.g.
mail.example.com->example.com,www.bank.co.uk->bank.co.uk), using the Public Suffix List shipped withIO::Socket::SSL. Returns an empty string for an invalid domain or a public suffix. WithoutIO::Socket::SSL::PublicSuffixthe domain itself is returned, which gives strict alignment.