Scroll to navigation

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


Mail::SpamAssassin::Plugin::Dmarc - check Dmarc policy


  loadplugin Mail::SpamAssassin::Plugin::Dmarc
  ifplugin Mail::SpamAssassin::Plugin::Dmarc
    header DMARC_NONE eval:check_dmarc_none()
    priority DMARC_NONE 500
    describe DMARC_NONE Dmarc none policy
    header DMARC_QUAR eval:check_dmarc_quarantine()
    priority DMARC_QUAR 500
    describe DMARC_QUAR Dmarc quarantine policy
    header DMARC_REJECT eval:check_dmarc_reject()
    priority DMARC_REJECT 500
    describe DMARC_REJECT Dmarc reject policy
    header DMARC_MISSING eval:check_dmarc_missing()
    priority DMARC_MISSING 500
    describe DMARC_MISSING Missing Dmarc policy


This plugin checks if emails matches 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-04-17 perl v5.34.0