NAME
Mail::Decency::Policy::CWL
DESCRIPTION
Implementation of a custom whitelist based on sending server (ip/hostname), sending domain or (domain.tld) sending address (email@domain.tld).
CONFIG
---
disable: 0
# enable negative cache (non-hits)
use_negative_cache: 1
# enable all tables
tables:
- ips
- domains
- addresses
DATABASE
CREATE TABLE cbl_ips (
id INTEGER PRIMARY KEY,
recipient_domain varchar( 255 ),
client_address varchar( 39 )
);
CREATE UNIQUE INDEX cbl_ips_uk ON cbl_ips( recipient_domain, client_address );
CREATE TABLE cbl_domains (
id INTEGER PRIMARY KEY,
recipient_domain varchar( 255 ),
sender_domain varchar( 255 )
);
CREATE UNIQUE INDEX cbl_domains_uk ON cbl_domains( recipient_domain, sender_domain );
CREATE TABLE cbl_addresses (
id INTEGER PRIMARY KEY,
recipient_domain varchar( 255 ),
sender_address varchar( 255 )
);
CREATE UNIQUE INDEX cbl_addresses_uk ON cbl_addresses( recipient_domain, sender_address );
CLASS ATTRIBUTES
METHODS
init
AUTHOR
Ulrich Kautz <uk@fortrabbit.de>
COPYRIGHT
Copyright (c) 2010 the "AUTHOR" as listed above
LICENCSE
This library is free software and may be distributed under the same terms as perl itself.