|
NAMEMail::SpamAssassin::Plugin::DKIM - perform DKIM verification testsSYNOPSISloadplugin Mail::SpamAssassin::Plugin::DKIM [/path/to/DKIM.pm] Taking into account signatures from any signing domains: full DKIM_SIGNED eval:check_dkim_signed() full DKIM_VALID eval:check_dkim_valid() full DKIM_VALID_AU eval:check_dkim_valid_author_sig() full DKIM_VALID_EF eval:check_dkim_valid_envelopefrom() Taking into account signatures from specified signing domains only: (quotes may be omitted on domain names consisting only of letters, digits, dots, and minus characters) full DKIM_SIGNED_MY1 eval:check_dkim_signed('dom1','dom2',...) full DKIM_VALID_MY1 eval:check_dkim_valid('dom1','dom2',...) full DKIM_VALID_AU_MY1 eval:check_dkim_valid_author_sig('d1','d2',...) full __DKIM_DEPENDABLE eval:check_dkim_dependable() Author Domain Signing Practices (ADSP) from any author domains: header DKIM_ADSP_NXDOMAIN eval:check_dkim_adsp('N') header DKIM_ADSP_ALL eval:check_dkim_adsp('A') header DKIM_ADSP_DISCARD eval:check_dkim_adsp('D') header DKIM_ADSP_CUSTOM_LOW eval:check_dkim_adsp('1') header DKIM_ADSP_CUSTOM_MED eval:check_dkim_adsp('2') header DKIM_ADSP_CUSTOM_HIGH eval:check_dkim_adsp('3') Author Domain Signing Practices (ADSP) from specified author domains only: header DKIM_ADSP_MY1 eval:check_dkim_adsp('*','dom1','dom2',...) describe DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid describe DKIM_VALID Message has at least one valid DKIM or DK signature describe DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain describe DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain describe __DKIM_DEPENDABLE A validation failure not attributable to truncation describe DKIM_ADSP_NXDOMAIN Domain not in DNS and no valid author domain signature describe DKIM_ADSP_ALL Domain signs all mail, no valid author domain signature describe DKIM_ADSP_DISCARD Domain signs all mail and suggests discarding mail with no valid author domain signature, no valid author domain signature describe DKIM_ADSP_CUSTOM_LOW adsp_override is CUSTOM_LOW, no valid author domain signature describe DKIM_ADSP_CUSTOM_MED adsp_override is CUSTOM_MED, no valid author domain signature describe DKIM_ADSP_CUSTOM_HIGH adsp_override is CUSTOM_HIGH, no valid author domain signature For compatibility with pre-3.3.0 versions, the following are synonyms: OLD: eval:check_dkim_verified = NEW: eval:check_dkim_valid OLD: eval:check_dkim_signall = NEW: eval:check_dkim_adsp('A') OLD: eval:check_dkim_signsome = NEW: redundant, semantically always true The __DKIM_DEPENDABLE eval rule deserves an explanation. The rule yields true when signatures are supplied by a caller, OR ELSE when signatures are obtained by this plugin AND either there are no signatures OR a rule __TRUNCATED was false. In other words: __DKIM_DEPENDABLE is true when failed signatures can not be attributed to message truncation when feeding a message to SpamAssassin. It can be consulted to prevent false positives on large but truncated messages with poor man's implementation of ADSP by hand-crafted rules. DESCRIPTIONThis SpamAssassin plugin implements DKIM lookups as described by the RFC 4871, as well as historical DomainKeys lookups, as described by RFC 4870, thanks to the support for both types of signatures by newer versions of module Mail::DKIM.It requires the "Mail::DKIM" CPAN module to operate. Many thanks to Jason Long for that module. TAGSThe following tags are added to the set, available for use in reports, header fields, other plugins, etc.:_DKIMIDENTITY_ Agent or User Identifier (AUID) (the 'i' tag) from valid signatures; _DKIMDOMAIN_ Signing Domain Identifier (SDID) (the 'd' tag) from valid signatures; _DKIMSELECTOR_ DKIM selector (the 's' tag) from valid signatures; Identities and domains from signatures which failed verification are not included in these tags. Duplicates are eliminated (e.g. when there are two or more valid signatures from the same signer, only one copy makes it into a tag). Note that there may be more than one signature in a message - currently they are provided as a space-separated list, although this behaviour may change. SEE ALSO"Mail::DKIM" Mail::SpamAssassin::Plugin(3)http://dkimproxy.sourceforge.net/ https://tools.ietf.org/rfc/rfc4871.txt https://tools.ietf.org/rfc/rfc4870.txt https://tools.ietf.org/rfc/rfc5617.txt https://datatracker.ietf.org/group/dkim/about/ USER SETTINGS
ADMINISTRATOR SETTINGS
Visit the GSP FreeBSD Man Page Interface. |