[Rspamd] Add 00 abuse domains (wip!)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user