| Mail::MtPolicyd::Plugin::ScoreAction(3pm) | User Contributed Perl Documentation | Mail::MtPolicyd::Plugin::ScoreAction(3pm) |
Mail::MtPolicyd::Plugin::ScoreAction - mtpolicyd plugin for running an action based on the score
version 2.05
Returns a action based on the score.
Possible values: gt, lt
The following patterns in the string will be replaced:
%IP%, %SCORE%, %SCORE_DETAIL%
Reject everything with a score >= 15. and do greylisting for the remaining request with a score >=5.
<Plugin ScoreReject>
module = "ScoreAction"
threshold = 15
action = "reject sender ip %IP% is blocked (score=%SCORE%%SCORE_DETAIL%)"
</Plugin>
<Plugin ScoreGreylist>
module = "ScoreAction"
threshold = 5
<Plugin greylist>
module = "Greylist"
score = -5
mode = "passive"
</Plugin>
</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.36.0 |