mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-11-28 08:52:00 +02:00
[Rspamd] Add 00 abuse domains (wip!)
This commit is contained in:
parent
b8f7b00fff
commit
56a085b632
@ -51,6 +51,7 @@ return function(task)
|
||||
and not task:has_symbol('GLOBAL_MIME_FROM_BL')
|
||||
and not task:has_symbol('LOCAL_BL_ASN')
|
||||
and not task:has_symbol('GLOBAL_RCPT_BL')
|
||||
and not task:has_symbol('ABUSE_NULLNULL')
|
||||
and not task:has_symbol('MAILCOW_BLACK') then
|
||||
local action = task:get_metric_action('default')
|
||||
if action == 'reject' or action == 'add header' or action == 'rewrite subject' then
|
||||
|
@ -143,7 +143,7 @@ BAD_LANG {
|
||||
score = 5.0;
|
||||
}
|
||||
|
||||
BAZAR_ABUSE_CH {
|
||||
BAZAAR_ABUSE_CH {
|
||||
type = "selector";
|
||||
selector = "attachments(hex,md5)";
|
||||
map = "https://bazaar.abuse.ch/export/txt/md5/recent/";
|
||||
@ -162,3 +162,10 @@ SMTP_LIMITED_ACCESS {
|
||||
map = "redis://SMTP_LIMITED_ACCESS";
|
||||
symbols_set = ["SMTP_LIMITED_ACCESS"];
|
||||
}
|
||||
|
||||
ABUSE_NULLNULL {
|
||||
type = "selector";
|
||||
selector = "urls:get_host.lower";
|
||||
map = "http://dns.mailcow.email/bad-domains.txt";
|
||||
score = 20.0;
|
||||
}
|
||||
|
@ -71,7 +71,7 @@ services:
|
||||
- clamd
|
||||
|
||||
rspamd-mailcow:
|
||||
image: mailcow/rspamd:1.76
|
||||
image: mailcow/rspamd:1.77
|
||||
stop_grace_period: 30s
|
||||
depends_on:
|
||||
- dovecot-mailcow
|
||||
|
Loading…
Reference in New Issue
Block a user