# Module documentation can be found at https://rspamd.com/doc/modules/rbl.html
rbl {
- default_from = true;
- default_received = false;
default_exclude_users = true;
+ default_exclude_local = true;
default_unknown = true;
+ default_dkim_domainonly = true;
+ default_dkim_match_from = false;
+ default_ipv4 = true;
+ default_ipv6 = true;
url_whitelist = [
"https://maps.rspamd.com/rspamd/surbl-whitelist.inc.zst",
spamhaus {
symbol = "SPAMHAUS"; # Augmented by prefixes
rbl = "zen.spamhaus.org";
- ipv6 = true;
+ # Check types
received = true;
from = true;
+
symbols_prefixes = {
received = 'RECEIVED',
from = 'RBL',
symbol = "MAILSPIKE";
rbl = "rep.mailspike.net";
is_whitelist = true;
+ from = true; # Check source IP address
whitelist_exception = "MAILSPIKE";
whitelist_exception = "RWL_MAILSPIKE_GOOD";
whitelist_exception = "RWL_MAILSPIKE_NEUTRAL";
senderscore {
symbol = "RBL_SENDERSCORE";
+ from = true; # Check source IP address
rbl = "bl.score.senderscore.com";
}
symbol = "RBL_SEM";
rbl = "bl.spameatingmonkey.net";
ipv6 = false;
+ from = true; # Check source IP address
}
semIPv6 {
rbl = "bl.ipv6.spameatingmonkey.net";
ipv4 = false;
ipv6 = true;
+ from = true; # Check source IP address
}
dnswl {
symbol = "RCVD_IN_DNSWL";
rbl = "list.dnswl.org";
ipv6 = true;
+ from = true; # Check source IP address
+ received = true; # Check source IP address
is_whitelist = true;
whitelist_exception = "RCVD_IN_DNSWL";
whitelist_exception = "RCVD_IN_DNSWL_NONE";
symbol = "RBL_VIRUSFREE_UNKNOWN";
rbl = "bip.virusfree.cz";
ipv6 = true;
+ from = true; # Check source IP address
returncodes {
RBL_VIRUSFREE_BOTNET = "127.0.0.2";
}
symbol = "RBL_NIXSPAM";
rbl = "ix.dnsbl.manitu.net";
ipv6 = true;
+ from = true; # Check source IP address
}
blocklistde {
from = true;
}
+ # Dkim whitelist
dnswl_dwl {
symbol = "DWL_DNSWL";
rbl = "dwl.dnswl.org";
DWL_DNSWL_BLOCKED = "127.0.0.255";
}
}
- # Old emails module
+
RSPAMD_EMAILBL {
ignore_whitelist = true;
ignore_defaults = true;
emails_delimiter = ".";
- emails = true;
hash_format = "base32";
hash_len = 32;
rbl = "email.rspamd.com";
- replyto = true;
+ emails = true; # Emails in body
+ replyto = true; # Email from reply-to header
hash = "blake2";
returncodes = {
RSPAMD_EMAILBL = "127.0.0.2";
ignore_whitelist = true;
ignore_defaults = true;
rbl = "ebl.msbl.org";
- emails = true;
+ emails = true; # Emails in body
+ replyto = true; # Email from reply-to header
emails_domainonly = false;
- replyto = true;
hash = "sha1";
returncodes = {
MSBL_EBL = [
rbl = "multi.surbl.org";
dkim = true;
emails = true;
- emails_domainonly = true;
urls = true;
+ emails_domainonly = true;
returnbits = {
CRACKED_SURBL = 128; # From February 2016
rbl = "multi.uribl.com";
dkim = true;
emails = true;
- emails_domainonly = true;
urls = true;
+ emails_domainonly = true;
returnbits {
URIBL_BLOCKED = 1;
rbl = "uribl.rspamd.com";
dkim = true;
emails = true;
- emails_domainonly = true;
urls = true;
+ emails_domainonly = true;
hash = 'blake2';
hash_len = 32;
hash_format = 'base32';
['default_enabled'] = true,
['default_ipv4'] = true,
['default_ipv6'] = true,
- ['default_received'] = false,
- ['default_from'] = true,
['default_unknown'] = false,
- ['default_rdns'] = false,
- ['default_helo'] = false,
- ['default_dkim'] = false,
['default_dkim_domainonly'] = true,
- ['default_emails'] = false,
- ['default_urls'] = false,
['default_emails_domainonly'] = false,
['default_exclude_private_ips'] = true,
['default_exclude_users'] = false,
['default_exclude_local'] = true,
['default_no_ip'] = false,
- ['default_images'] = false,
- ['default_replyto'] = false,
['default_dkim_match_from'] = false,
}