ec_dkim_responsible_domain
Name
ec_dkim_responsible_domain — Return the responsible domain for the current message
Synopsis
ec_dkim_responsible_domain
Description
ec_dkim_responsible_domain
returns a string containing the responsible domain of the current message. This can be used as an argument to the ec_dkim_sign extension or as a comparison against the return values of the ec_dkim_domains extension.
Note
This feature requires the DKIM module. See “dkim – DomainKeys Identified Mail Signatures” for more information.
$responsible = ec_dkim_responsible_domain; $domains = ec_dkim_domains; if ec_test :is $domains $responsible { ec_log "Valid DKIM signature found"; } else { ec_log "No valid DKIM signature found"; }