[Rspamd] Reduce Sorbs recent score

[Rspamd] Add annoying CSA to bulk symbols and score then with 3.2
[Rspamd] Update to 2.4
master
andryyy 2020-03-06 07:14:06 +01:00
parent d629170b95
commit d248bb660c
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
5 changed files with 15 additions and 3 deletions

View File

@ -103,7 +103,8 @@ touch /etc/rspamd/custom/global_mime_from_blacklist.map \
/etc/rspamd/custom/fishy_tlds.map \
/etc/rspamd/custom/bad_words.map \
/etc/rspamd/custom/bad_asn.map \
/etc/rspamd/custom/bad_words_de.map
/etc/rspamd/custom/bad_words_de.map \
/etc/rspamd/custom/bulk_headers.map
# www-data (82) group needs to write to these files
chown _rspamd:_rspamd /etc/rspamd/custom/

View File

@ -9,6 +9,9 @@ symbols {
"BAD_REP_POLICIES" {
score = 2.5;
}
"BULK_HEADERS" {
score = 3.2;
}
}
group "MX" {

View File

@ -25,6 +25,14 @@ WHITELISTED_FWD_HOST {
symbols_set = ["WHITELISTED_FWD_HOST"];
}
BULK_HEADER {
type = "content";
map = "$LOCAL_CONFDIR/custom/bulk_header.map";
filter = "headers"
regexp = true;
symbols_set = ["BULK_HEADER"];
}
LOCAL_BL_ASN {
require_symbols = "!MAILCOW_WHITE";
type = "asn";

View File

@ -26,7 +26,7 @@ symbols = {
description = "List of Open SMTP relay servers.";
}
"RBL_SORBS_RECENT" {
score = 3.5;
score = 2.0;
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" {

View File

@ -69,7 +69,7 @@ services:
- clamd
rspamd-mailcow:
image: mailcow/rspamd:1.61
image: mailcow/rspamd:1.62
stop_grace_period: 30s
depends_on:
- nginx-mailcow