Mail::MtPolicyd::Plugin::RBLAction(3pm)

Mail::MtPolicyd::Plugin::RBLAction3pm

Mtpolicyd plugin for checking the client-address against an rbl

Version

version 2.05

Overview

This plugin can be used when a more complex evaluation of an RBL result is needed that just match/not-match.

With this plugin you can take the same actions as with the RBL plugin, but it can match the result with a regular expression. This allows one to take action based on the category in combined blacklists.

Parameters

result_from (required)

Use the query result of this RBL check.

(uc_)enabled (default: on)

Enable/disable this check.

(uc_)mode (default: reject)
reject

Reject the message. (reject)

accept

Stop processing an accept this message. (dunno)

passive

Only apply the score if one is given.

re_match (required)

An regular expression to check the RBL result.

reject_message (default: delivery from %IP% rejected %INFO%)

A pattern for the reject message if mode is set to 'reject'.

score (default: empty)

Apply this score if the check matched.

Examples

  <Plugin spamhaus-rbl>
    module = "RBL"
    mode = "passive"
    domain="zen.spamhaus.org"
  </Plugin>
  <Plugin spamhaus-rbl-sbl>
    module = "RBLAction"
    result_from = "spamhaus-rbl"
    mode = "passive"
    re_match = "^127\.0\.0\.[23]$"
    score = 5
  </Plugin>
  <Plugin spamhaus-rbl-xbl>
    module = "RBLAction"
    result_from = "spamhaus-rbl"
    mode = "passive"
    re_match = "^127\.0\.0\.[4-7]$"
    score = 5
  </Plugin>
  <Plugin spamhaus-rbl-pbl>
    module = "RBLAction"
    result_from = "spamhaus-rbl"
    mode = "passive"
    re_match = "^127\.0\.0\.1[01]$"
    score = 3
  </Plugin>

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Author

Markus Benning <[email protected]>

From mtpolicyd 2.05-1.2 in Debian 13 (Trixie). Parsed by carta from the page's man source.