Scroll to navigation

Mail::SpamAssassin::Plugin::DMARC(3pm) User Contributed Perl Documentation Mail::SpamAssassin::Plugin::DMARC(3pm)

NAME

Mail::SpamAssassin::Plugin::DMARC - check DMARC policy

SYNOPSIS

  loadplugin Mail::SpamAssassin::Plugin::DMARC
  ifplugin Mail::SpamAssassin::Plugin::DMARC
    header DMARC_PASS eval:check_dmarc_pass()
    describe DMARC_PASS DMARC pass policy
    tflags DMARC_PASS net nice
    score DMARC_PASS -0.001
    header DMARC_REJECT eval:check_dmarc_reject()
    describe DMARC_REJECT DMARC reject policy
    tflags DMARC_REJECT net
    score DMARC_REJECT 0.001
    header DMARC_QUAR eval:check_dmarc_quarantine()
    describe DMARC_QUAR DMARC quarantine policy
    tflags DMARC_QUAR net
    score DMARC_QUAR 0.001
    header DMARC_NONE eval:check_dmarc_none()
    describe DMARC_NONE DMARC none policy
    tflags DMARC_NONE net
    score DMARC_NONE 0.001
    header DMARC_MISSING eval:check_dmarc_missing()
    describe DMARC_MISSING Missing DMARC policy
    tflags DMARC_MISSING net
    score DMARC_MISSING 0.001
  endif

DESCRIPTION

This plugin checks if emails match DMARC policy, the plugin needs both DKIM and SPF plugins enabled.

Store DMARC reports using Mail::DMARC::Store, mail-dmarc.ini must be configured to save and send DMARC reports.
2022-12-17 perl v5.32.1