DOKK / manpages / debian 12 / mtpolicyd / Mail::MtPolicyd::Plugin::DBL.3pm.en
Mail::MtPolicyd::Plugin::DBL(3pm) User Contributed Perl Documentation Mail::MtPolicyd::Plugin::DBL(3pm)

Mail::MtPolicyd::Plugin::DBL - mtpolicyd plugin for checking helo,sender domain,rdns against an DBL

version 2.05

Will check the sender, helo and reverse_client_name against an domain black list.

The domain of the blacklist to query.
Set to 'off' to disable plugin.

Possible values: on,off

If specified the give variable within the session will overwrite the value of 'enabled' if set.
(uc_)sender_mode (default: reject), (uc_)helo_name_mode (default: passive), (uc_)reverse_client_name_mode (default: reject)
Should the plugin return an reject if the check matches (reject) or just add an score (passive).

Possible values: reject, passive

Add the given score if check matched.
Name of the session variable the score is stored in. Could be used if multiple scores are needed.

Only the sender and the reverse_client_name check will cause an action to be executed (mode). The helo check will only add an score.

  <Plugin sh_dbl>
    module = "RBL"
    #enabled = "on"
    uc_enabled = "spamhaus"
    domain="dbl.spamhaus.org"
    # do not reject based on helo
    #helo_name_mode=passive
    #helo_name_score=1
    #sender_mode=reject
    #sender_score=5
    #reverse_client_name_mode=reject
    #reverse_client_name_score=2.5
  </Plugin>

Markus Benning <ich@markusbenning.de>

This software is Copyright (c) 2014 by Markus Benning <ich@markusbenning.de>.

This is free software, licensed under:

  The GNU General Public License, Version 2, June 1991
2022-10-15 perl v5.34.0