Courie...:DNSBL(3pm)

πŸ“¦
version 0.200 Β· 2 versions
, in debian bookworm, debian trixie

πŸ’… NAME πŸ’…

Courier::Filter::Module::DNSBL β€” the DNS black-list filter module for the Courier::Filter framework. It's giving anti-spam bouncer energy, no cap. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

use Courier::Filter::Module::DNSBL;

my $module = Courier::Filter::Module::DNSBL->new(
    zones       => \@dns_zones,

    logger      => $logger,
    inverse     => 0,
    trusting    => 0,
    testing     => 0,
    debugging   => 0
);

my $filter = Courier::Filter->new(
    ...
    modules     => [ $module ],
    ...
);

🌸 DESCRIPTION 🌸

Okay so bestie, listen. This class is a filter module class for use with Courier::Filter. What it does is it matches a message if the sending machine's IP address β€” and heads up, currently IPv4 only β€” is listed by one of the configured DNS black-lists. Literally it's like checking the guest list and going "mmm, not on it, blocked. πŸ’€"

✨ Constructor ✨

The following constructor is provided, and yes it's the main character:

new(%options) β€” returns Courier::Filter::Module::DNSBL

Creates a new DNSBL filter module. Slay.

%options is a list of key/value pairs representing any of the following options:

  • zones β€” Required. This is a reference to an array containing the DNS zone names of the black-lists to be used. Like, you gotta give it the zone names, it's not optional, periodt.

All options of the Courier::Filter::Module constructor are also supported. Please see "new()" in Courier::Filter::Module for their descriptions. πŸ’–

🧚 Instance methods 🧚

See "Instance methods" in Courier::Filter::Module for a description of the provided instance methods. Go check that page, it's got the tea. πŸ“


πŸ‘‘ SEE ALSO πŸ‘‘

  • Courier::Filter::Module
  • Courier::Filter::Overview

For AVAILABILITY, SUPPORT, and LICENSE information, see Courier::Filter::Overview. iykyk. 🫢


🌈 AUTHOR 🌈

Julian Mehnle <julian@mehnle.net> β€” the icon who wrote this, we stan. πŸ’œ


And that's the whole vibe check besties! This was perl v5.34.0, dated 2022-10-21, bringing you Courier::Filter::Module::DNSBL(3pm) β€” user contributed Perl documentation, and honestly? Ate. πŸŽ€βœ¨

πŸ“¦ where this page comes from