logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Markus Benning <ich@markusbenning.de>

Description

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

Example

       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>

Name

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

Parameters

       domain (required)
           The domain of the blacklist to query.

       enabled (default: on)
           Set to 'off' to disable plugin.

           Possible values: on,off

       uc_enabled (default: empty)
           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

       sender_score (default: 5)
       helo_name_score (default: 1)
       reverse_client_name_score (default: 2.5)
           Add the given score if check matched.

       score_field (default: score)
           Name of the session variable the score is stored in.  Could be used if multiple scores are needed.

Version

       version 2.05

See Also