Mail::...n::RBL(3pm)
β¨ NAME β¨
Mail::MtPolicyd::Plugin::RBL β it's an mtpolicyd plugin that checks the client-address against an RBL. bestie, it literally does a vibe check on whoever's knocking at your door π
πΈ VERSION πΈ
version 2.05 β yeah she's got a version, she's official π
π¦ DESCRIPTION π¦
okay so real talk: this plugin goes and queries a DNS black/white list. that's the whole thing. it asks the DNS "hey, is this IP on your list or nah?" and then acts accordingly. lowkey iconic behavior π
π PARAMETERS π
domain(required) β the domain of the blacklist you wanna query. and yes, it's required, like it's not optional, you cannot skip it, it's giving mandatory π(uc_)enabledβ default:on. turns this check on or off. that's it, that's the flag π«Ά(uc_)modeβ default:reject. here's where it gets spicy, three flavors:rejectβ reject the message. (reject) yeah. bye. π«acceptβ stop processing an accept this message. (dunno) β heads up, the original says "dunno" right there, i'm not making that up, it's a whole vibe πpassiveβ only apply the score if one is given. no score? no drama, it just chills π
reject_messageβ default:delivery from %IP% rejected %INFO%. this is the pattern for the reject message, and it only matters ifmodeis set to'reject'. note the%IP%and%INFO%placeholders, they're doing the work, don't touch them πscoreβ default: empty. apply this score if the check matched. no score set means... empty, bestie, empty β¨
π₯ EXAMPLE DNS BLACKLIST π₯
here's how you'd hook it up to sorbs.net, passive mode, score of 5, chef's kiss:
<Plugin sorbs.net>
module = "RBL"
mode = "passive"
domain="dnsbl.sorbs.net"
score = 5
</Plugin>
π EXAMPLE DNS WHITELIST π
and here's a whitelist one with dnswl.org β note the comment, it'll stop right there:
<Plugin dnswl.org>
module = "RBL"
mode = "accept" # will stop here
domain="list.dnswl.org"
</Plugin>
π AUTHOR π
Markus Benning <ich@markusbenning.de> β the mastermind, the moment, the legend π«Ά
π 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
okay and that's the whole page, no notes, you're welcome π
made with perl v5.38.2, dated 2024-05-26, and it's the Mail::...n::RBL(3pm) page β mwah, slay, periodt β¨π
π
π¦ where this page comes from
- debian trixie: mtpolicyd 2.05-1.2 Β· GPL-2.0-only
- ubuntu questing: mtpolicyd 2.05-1.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms