diff --git a/data/conf/rspamd/local.d/rbl.conf b/data/conf/rspamd/local.d/rbl.conf index 3936cbbf..b208c15c 100644 --- a/data/conf/rspamd/local.d/rbl.conf +++ b/data/conf/rspamd/local.d/rbl.conf @@ -7,4 +7,20 @@ rbls { symbol = "RBL_UCEPROTECT_LEVEL2"; rbl = "dnsbl-2.uceprotect.net"; } + sorbs { + symbol = "RBL_SORBS"; + rbl = "dnsbl.sorbs.net"; + returncodes { + # http:// www.sorbs.net/general/using.shtml + RBL_SORBS_HTTP = "127.0.0.2"; + RBL_SORBS_SOCKS = "127.0.0.3"; + RBL_SORBS_MISC = "127.0.0.4"; + RBL_SORBS_SMTP = "127.0.0.5"; + RBL_SORBS_RECENT = "127.0.0.6"; + RBL_SORBS_WEB = "127.0.0.7"; + RBL_SORBS_DUL = "127.0.0.10"; + RBL_SORBS_BLOCK = "127.0.0.8"; + RBL_SORBS_ZOMBIE = "127.0.0.9"; + } + } } diff --git a/data/conf/rspamd/local.d/rbl_group.conf b/data/conf/rspamd/local.d/rbl_group.conf index 86c4e023..2dc9486d 100644 --- a/data/conf/rspamd/local.d/rbl_group.conf +++ b/data/conf/rspamd/local.d/rbl_group.conf @@ -5,4 +5,44 @@ symbols = { "RBL_UCEPROTECT_LEVEL2" { score = 1.5; } + "RBL_SORBS" { + score = 0.0; + description = "Unrecognised result from SORBS RBL"; + } + "RBL_SORBS_HTTP" { + score = 2.5; + description = "List of Open HTTP Proxy Servers."; + } + "RBL_SORBS_SOCKS" { + score = 2.5; + description = "List of Open SOCKS Proxy Servers."; + } + "RBL_SORBS_MISC" { + score = 1.0; + description = "List of open Proxy Servers not listed in the SOCKS or HTTP lists."; + } + "RBL_SORBS_SMTP" { + score = 4.0; + description = "List of Open SMTP relay servers."; + } + "RBL_SORBS_RECENT" { + score = 3.5; + description = "List of hosts that have been noted as sending spam/UCE/UBE to the admins of SORBS within the last 28 days (includes new.spam.dnsbl.sorbs.net)."; + } + "RBL_SORBS_WEB" { + score = 2.0; + description = "List of web (WWW) servers which have spammer abusable vulnerabilities (e.g. FormMail scripts)"; + } + "RBL_SORBS_DUL" { + score = 2.0; + description = "Dynamic IP Address ranges (NOT a Dial Up list!)"; + } + "RBL_SORBS_BLOCK" { + score = 0.5; + description = "List of hosts demanding that they never be tested by SORBS."; + } + "RBL_SORBS_ZOMBIE" { + score = 2.0; + description = "List of networks hijacked from their original owners, some of which have already used for spamming."; + } } diff --git a/data/conf/rspamd/override.d/worker-proxy.inc b/data/conf/rspamd/override.d/worker-proxy.inc index 92527f2b..bff24ca0 100644 --- a/data/conf/rspamd/override.d/worker-proxy.inc +++ b/data/conf/rspamd/override.d/worker-proxy.inc @@ -5,4 +5,5 @@ upstream "local" { default = true; hosts = "rspamd:11333" } +reject_message = "This message does not meet our delivery requirements"; .include(try=true; priority=20) "$CONFDIR/override.d/worker-proxy.custom.inc"