---
name: "Mail::MtPolicyd::Plugin::RBL"
section: "3pm"
platform: "linux"
package: "mtpolicyd"
version: "2.05-1.2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Mail::MtPolicyd::Plugin::RBL"
---

# Mail::MtPolicyd::Plugin::RBL(3pm)

mtpolicyd plugin for checking the client-address against an RBL

## NAME

Mail::MtPolicyd::Plugin::RBL - mtpolicyd plugin for checking the client-address against an RBL

## VERSION

version 2.05

## DESCRIPTION

This plugin queries a DNS black/white list.

## PARAMETERS

- domain (required)

  The domain of the blacklist to query.

- (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.

- 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.

## EXAMPLE DNS BLACKLIST

```
  <Plugin sorbs.net>
    module = "RBL"
    mode = "passive"
    domain="dnsbl.sorbs.net"
    score = 5
  </Plugin>
```

## EXAMPLE DNS WHITELIST

```
  <Plugin dnswl.org>
    module = "RBL"
    mode = "accept" # will stop here
    domain="list.dnswl.org"
  </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
```
