table of contents
Mail::MtPolicyd::Plugin::DBL(3pm) | User Contributed Perl Documentation | Mail::MtPolicyd::Plugin::DBL(3pm) |
NAME¶
Mail::MtPolicyd::Plugin::DBL - mtpolicyd plugin for checking helo,sender domain,rdns against an DBL
VERSION¶
version 2.05
DESCRIPTION¶
Will check the sender, helo and reverse_client_name against an domain black list.
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.
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>
AUTHOR¶
Markus Benning <ich@markusbenning.de>
COPYRIGHT AND LICENSE¶
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
2024-05-26 | perl v5.38.2 |