committing changes in /etc made by "-bash"
Package changes:
This commit is contained in:
@@ -56,7 +56,7 @@ composites {
|
||||
description = "Authenticating message via SPF/DKIM/DMARC/ARC not possible";
|
||||
}
|
||||
DKIM_MIXED {
|
||||
expression = "-R_DKIM_ALLOW & (R_DKIM_DNSFAIL | R_DKIM_PERMFAIL | R_DKIM_REJECT)"
|
||||
expression = "-R_DKIM_ALLOW & (R_DKIM_TEMPFAIL | R_DKIM_PERMFAIL | R_DKIM_REJECT)"
|
||||
policy = "remove_weight";
|
||||
}
|
||||
MAIL_RU_MAILER_BASE64 {
|
||||
|
||||
@@ -88,7 +88,7 @@ group "mime_types" {
|
||||
.include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/mime_types_group.conf"
|
||||
}
|
||||
|
||||
# Used to limit maximium score
|
||||
# Used to limit maximum score
|
||||
group "excessqp" {
|
||||
max_score = 2.4;
|
||||
.include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/excessqp_group.conf"
|
||||
|
||||
@@ -199,6 +199,7 @@ application/p2p-overlay+xml 0
|
||||
application/patch-ops-error+xml 0
|
||||
application/pdf 0
|
||||
application/pgp-encrypted 0
|
||||
application/pgp-keys 0
|
||||
application/pgp-signature 0
|
||||
application/pidf+xml 0
|
||||
application/pidf-diff+xml 0
|
||||
|
||||
@@ -16,6 +16,7 @@ aws_s3 {
|
||||
# Required attributes
|
||||
#s3_bucket = 'xxx';
|
||||
s3_region = 'us-east-1';
|
||||
s3_host = 's3.amazonaws.com';
|
||||
#s3_secret_key = 'xxx';
|
||||
#s3_key_id = 'xxx';
|
||||
# Enable in local.d/aws_s3.conf
|
||||
|
||||
29
rspamd/modules.d/bimi.conf
Normal file
29
rspamd/modules.d/bimi.conf
Normal file
@@ -0,0 +1,29 @@
|
||||
# Please don't modify this file as your changes might be overwritten with
|
||||
# the next update.
|
||||
#
|
||||
# You can modify 'local.d/asn.conf' to add and merge
|
||||
# parameters defined inside this section
|
||||
#
|
||||
# You can modify 'override.d/asn.conf' to strictly override all
|
||||
# parameters defined inside this section
|
||||
#
|
||||
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
|
||||
# for details
|
||||
#
|
||||
# Module documentation can be found at https://rspamd.com/doc/modules/asn.html
|
||||
|
||||
bimi {
|
||||
# Required attributes
|
||||
#helper_url = "http://127.0.0.1:3030",
|
||||
helper_timeout = 5s;
|
||||
helper_sync = true;
|
||||
vmc_only = true;
|
||||
redis_prefix = 'rs_bimi';
|
||||
redis_min_expiry = 24h;
|
||||
|
||||
# Enable in local.d/bimi.conf
|
||||
enabled = false;
|
||||
.include(try=true,priority=5) "${DBDIR}/dynamic/bimi.conf"
|
||||
.include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/bimi.conf"
|
||||
.include(try=true,priority=10) "$LOCAL_CONFDIR/override.d/bimi.conf"
|
||||
}
|
||||
@@ -30,7 +30,8 @@ mime_types {
|
||||
];
|
||||
pdf = [
|
||||
"application/octet-stream",
|
||||
"application/pdf"
|
||||
"application/pdf",
|
||||
"application/x-pdf"
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
@@ -238,7 +238,7 @@ rbl {
|
||||
ignore_defaults = true;
|
||||
rbl = "dbl.spamhaus.org";
|
||||
no_ip = true;
|
||||
checks = ['emails', 'dkim', 'urls'];
|
||||
checks = ['emails', 'dkim', 'helo', 'rdns', 'replyto', 'urls'];
|
||||
emails_domainonly = true;
|
||||
|
||||
returncodes = {
|
||||
@@ -269,18 +269,19 @@ rbl {
|
||||
}
|
||||
|
||||
# Not enabled by default due to privacy concerns! (see also groups.d/surbl_group.conf)
|
||||
#"SPAMHAUS_ZEN_URIBL" {
|
||||
# suffix = "zen.spamhaus.org";
|
||||
# resolve_ip = true;
|
||||
# check_emails = true;
|
||||
# ips {
|
||||
# URIBL_SBL = "127.0.0.2";
|
||||
# URIBL_SBL_CSS = "127.0.0.3";
|
||||
# URIBL_XBL = ["127.0.0.4", "127.0.0.5", "127.0.0.6", "127.0.0.7"];
|
||||
# URIBL_PBL = ["127.0.0.10", "127.0.0.11"];
|
||||
# URIBL_DROP = "127.0.0.9";
|
||||
# }
|
||||
#}
|
||||
"SPAMHAUS_ZEN_URIBL" {
|
||||
enabled = false;
|
||||
rbl = "zen.spamhaus.org";
|
||||
checks = ['emails'];
|
||||
resolve_ip = true;
|
||||
returncodes = {
|
||||
URIBL_SBL = "127.0.0.2";
|
||||
URIBL_SBL_CSS = "127.0.0.3";
|
||||
URIBL_XBL = ["127.0.0.4", "127.0.0.5", "127.0.0.6", "127.0.0.7"];
|
||||
URIBL_PBL = ["127.0.0.10", "127.0.0.11"];
|
||||
URIBL_DROP = "127.0.0.9";
|
||||
}
|
||||
}
|
||||
|
||||
"SEM_URIBL_UNKNOWN" {
|
||||
ignore_defaults = true;
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
|
||||
|
||||
description = "Various headers checks";
|
||||
max_score = 8.0;
|
||||
|
||||
symbols = {
|
||||
"FORGED_SENDER" {
|
||||
|
||||
@@ -16,6 +16,9 @@
|
||||
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
|
||||
|
||||
description = "Mime attachments rules";
|
||||
# Define some limit for this group
|
||||
max_score = 10.0;
|
||||
|
||||
|
||||
symbols = {
|
||||
"MIME_GOOD" {
|
||||
@@ -43,6 +46,11 @@ symbols = {
|
||||
description = "Encrypted archive in a message";
|
||||
one_shot = true;
|
||||
}
|
||||
"MIME_OBFUSCATED_ARCHIVE" {
|
||||
weight = 8.0;
|
||||
description = "Archive has files with clear obfuscation signs";
|
||||
one_shot = true;
|
||||
}
|
||||
"MIME_EXE_IN_GEN_SPLIT_RAR" {
|
||||
weight = 5.0;
|
||||
description = "EXE file in RAR archive with generic split extension (e.g. .001)";
|
||||
|
||||
@@ -117,14 +117,14 @@ symbols = {
|
||||
groups = ["spamhaus"];
|
||||
}
|
||||
"RBL_SPAMHAUS_BLOCKED_OPENRESOLVER" {
|
||||
weight = 0.0;
|
||||
description = "You are querying Spamhaus from an open resolver, please see https://www.spamhaus.org/returnc/pub/";
|
||||
groups = ["spamhaus"];
|
||||
weight = 0.0;
|
||||
description = "You are querying Spamhaus from an open resolver, please see https://www.spamhaus.org/returnc/pub/";
|
||||
groups = ["spamhaus"];
|
||||
}
|
||||
"RBL_SPAMHAUS_BLOCKED" {
|
||||
weight = 0.0;
|
||||
description = "You are exceeding the query limit, please see https://www.spamhaus.org/returnc/vol/";
|
||||
groups = ["spamhaus"];
|
||||
weight = 0.0;
|
||||
description = "You are exceeding the query limit, please see https://www.spamhaus.org/returnc/vol/";
|
||||
groups = ["spamhaus"];
|
||||
}
|
||||
"RECEIVED_SPAMHAUS_SBL" {
|
||||
weight = 1.0;
|
||||
@@ -157,14 +157,14 @@ symbols = {
|
||||
one_shot = true;
|
||||
}
|
||||
"RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER" {
|
||||
weight = 0.0;
|
||||
description = "You are querying Spamhaus from an open resolver, please see https://www.spamhaus.org/returnc/pub/";
|
||||
groups = ["spamhaus"];
|
||||
weight = 0.0;
|
||||
description = "You are querying Spamhaus from an open resolver, please see https://www.spamhaus.org/returnc/pub/";
|
||||
groups = ["spamhaus"];
|
||||
}
|
||||
"RECEIVED_SPAMHAUS_BLOCKED" {
|
||||
weight = 0.0;
|
||||
description = "You are exceeding the query limit, please see https://www.spamhaus.org/returnc/vol/";
|
||||
groups = ["spamhaus"];
|
||||
weight = 0.0;
|
||||
description = "You are exceeding the query limit, please see https://www.spamhaus.org/returnc/vol/";
|
||||
groups = ["spamhaus"];
|
||||
}
|
||||
|
||||
"RBL_SENDERSCORE" {
|
||||
@@ -202,17 +202,17 @@ symbols = {
|
||||
groups = ["mailspike"];
|
||||
}
|
||||
"RWL_MAILSPIKE_GOOD" {
|
||||
weight = 0.0;
|
||||
weight = -0.1;
|
||||
description = "From address is listed in RWL - good reputation";
|
||||
groups = ["mailspike"];
|
||||
}
|
||||
"RWL_MAILSPIKE_VERYGOOD" {
|
||||
weight = 0.0;
|
||||
weight = -0.2;
|
||||
description = "From address is listed in RWL - very good reputation";
|
||||
groups = ["mailspike"];
|
||||
}
|
||||
"RWL_MAILSPIKE_EXCELLENT" {
|
||||
weight = 0.0;
|
||||
weight = -0.4;
|
||||
description = "From address is listed in RWL - excellent reputation";
|
||||
groups = ["mailspike"];
|
||||
}
|
||||
|
||||
@@ -23,26 +23,31 @@ symbols = {
|
||||
"SURBL_BLOCKED" {
|
||||
weight = 0.0;
|
||||
description = "SURBL: blocked by policy/overusage";
|
||||
one_shot = true;
|
||||
groups = ["surblorg", "blocked"];
|
||||
}
|
||||
"PH_SURBL_MULTI" {
|
||||
weight = 5.5;
|
||||
description = "SURBL: Phishing sites";
|
||||
one_shot = true;
|
||||
groups = ["surblorg", "phishing"];
|
||||
}
|
||||
"MW_SURBL_MULTI" {
|
||||
weight = 5.5;
|
||||
description = "SURBL: Malware sites";
|
||||
one_shot = true;
|
||||
groups = ["surblorg"];
|
||||
}
|
||||
"ABUSE_SURBL" {
|
||||
weight = 5.5;
|
||||
description = "SURBL: ABUSE";
|
||||
one_shot = true;
|
||||
groups = ["surblorg"];
|
||||
}
|
||||
"CRACKED_SURBL" {
|
||||
weight = 4.0;
|
||||
description = "SURBL: cracked site";
|
||||
one_shot = true;
|
||||
groups = ["surblorg"];
|
||||
}
|
||||
"RSPAMD_URIBL" {
|
||||
@@ -76,108 +81,129 @@ symbols = {
|
||||
"SEM_URIBL_UNKNOWN" {
|
||||
weight = 0.0;
|
||||
description = "Spameatingmonkey uribl: unknown result";
|
||||
one_shot = true;
|
||||
groups = ["sem"];
|
||||
}
|
||||
"SEM_URIBL" {
|
||||
weight = 3.5;
|
||||
description = "Spameatingmonkey uribl";
|
||||
one_shot = true;
|
||||
groups = ["sem"];
|
||||
}
|
||||
|
||||
"SEM_URIBL_FRESH15_UNKNOWN" {
|
||||
weight = 0.0;
|
||||
description = "Spameatingmonkey Fresh15 uribl: unknown result";
|
||||
one_shot = true;
|
||||
groups = ["sem"];
|
||||
}
|
||||
"SEM_URIBL_FRESH15" {
|
||||
weight = 3.0;
|
||||
description = "Spameatingmonkey uribl. Domains registered in the last 15 days (.AERO,.BIZ,.COM,.INFO,.NAME,.NET,.PRO,.SK,.TEL,.US)";
|
||||
one_shot = true;
|
||||
groups = ["sem"];
|
||||
}
|
||||
|
||||
"DBL" {
|
||||
weight = 0.0;
|
||||
description = "DBL unknown result";
|
||||
one_shot = true;
|
||||
groups = ["spamhaus"];
|
||||
}
|
||||
"DBL_SPAM" {
|
||||
weight = 6.5;
|
||||
description = "DBL uribl spam";
|
||||
one_shot = true;
|
||||
groups = ["spamhaus"];
|
||||
}
|
||||
"DBL_PHISH" {
|
||||
weight = 6.5;
|
||||
description = "DBL uribl phishing";
|
||||
one_shot = true;
|
||||
groups = ["spamhaus"];
|
||||
}
|
||||
"DBL_MALWARE" {
|
||||
weight = 6.5;
|
||||
description = "DBL uribl malware";
|
||||
one_shot = true;
|
||||
groups = ["spamhaus"];
|
||||
}
|
||||
"DBL_BOTNET" {
|
||||
weight = 5.5;
|
||||
description = "DBL uribl botnet C&C domain";
|
||||
one_shot = true;
|
||||
groups = ["spamhaus"];
|
||||
}
|
||||
"DBL_ABUSE" {
|
||||
weight = 6.5;
|
||||
description = "DBL uribl abused legit spam";
|
||||
one_shot = true;
|
||||
groups = ["spamhaus"];
|
||||
}
|
||||
"DBL_ABUSE_REDIR" {
|
||||
weight = 1.5;
|
||||
description = "DBL uribl abused spammed redirector domain";
|
||||
one_shot = true;
|
||||
groups = ["spamhaus"];
|
||||
}
|
||||
"DBL_ABUSE_PHISH" {
|
||||
weight = 7.5;
|
||||
description = "DBL uribl abused legit phish";
|
||||
one_shot = true;
|
||||
groups = ["spamhaus"];
|
||||
}
|
||||
"DBL_ABUSE_MALWARE" {
|
||||
weight = 7.5;
|
||||
description = "DBL uribl abused legit malware";
|
||||
one_shot = true;
|
||||
groups = ["spamhaus"];
|
||||
}
|
||||
"DBL_ABUSE_BOTNET" {
|
||||
weight = 5.5;
|
||||
description = "DBL uribl abused legit botnet C&C";
|
||||
one_shot = true;
|
||||
groups = ["spamhaus"];
|
||||
}
|
||||
"DBL_PROHIBIT" {
|
||||
weight = 0.0;
|
||||
description = "DBL uribl IP queries prohibited!";
|
||||
one_shot = true;
|
||||
groups = ["spamhaus"];
|
||||
}
|
||||
"DBL_BLOCKED_OPENRESOLVER" {
|
||||
weight = 0.0;
|
||||
description = "You are querying Spamhaus from an open resolver, please see https://www.spamhaus.org/returnc/pub/";
|
||||
groups = ["spamhaus"];
|
||||
weight = 0.0;
|
||||
description = "You are querying Spamhaus from an open resolver, please see https://www.spamhaus.org/returnc/pub/";
|
||||
one_shot = true;
|
||||
groups = ["spamhaus"];
|
||||
}
|
||||
"DBL_BLOCKED" {
|
||||
weight = 0.0;
|
||||
description = "You are exceeding the query limit, please see https://www.spamhaus.org/returnc/vol/";
|
||||
groups = ["spamhaus"];
|
||||
weight = 0.0;
|
||||
description = "You are exceeding the query limit, please see https://www.spamhaus.org/returnc/vol/";
|
||||
one_shot = true;
|
||||
groups = ["spamhaus"];
|
||||
}
|
||||
"URIBL_MULTI" {
|
||||
weight = 0.0;
|
||||
description = "uribl.com: unrecognised result";
|
||||
one_shot = true;
|
||||
groups = ["uribl"];
|
||||
}
|
||||
"URIBL_BLOCKED" {
|
||||
weight = 0.0;
|
||||
description = "uribl.com: query refused";
|
||||
one_shot = true;
|
||||
groups = ["uribl", "blocked"];
|
||||
}
|
||||
"URIBL_BLACK" {
|
||||
weight = 7.5;
|
||||
description = "uribl.com black url";
|
||||
one_shot = true;
|
||||
groups = ["uribl"];
|
||||
}
|
||||
"URIBL_RED" {
|
||||
weight = 3.5;
|
||||
description = "uribl.com red url";
|
||||
one_shot = true;
|
||||
groups = ["uribl"];
|
||||
}
|
||||
"URIBL_GREY" {
|
||||
@@ -186,40 +212,48 @@ symbols = {
|
||||
one_shot = true;
|
||||
groups = ["uribl"];
|
||||
}
|
||||
#"SPAMHAUS_ZEN_URIBL" {
|
||||
# weight = 0.0;
|
||||
# description = "Spamhaus ZEN URIBL: Filtered result";
|
||||
# groups = ["spamhaus"];
|
||||
#}
|
||||
#"URIBL_SBL" {
|
||||
# weight = 6.5;
|
||||
# description = "A domain in the message body resolves to an IP listed in Spamhaus SBL";
|
||||
# one_shot = true;
|
||||
# groups = ["v"];
|
||||
#}
|
||||
#"URIBL_SBL_CSS" {
|
||||
# weight = 6.5;
|
||||
# description = "A domain in the message body resolves to an IP listed in Spamhaus SBL CSS";
|
||||
# one_shot = true;
|
||||
# groups = ["spamhaus"];
|
||||
#}
|
||||
#"URIBL_XBL" {
|
||||
# weight = 1.5;
|
||||
# description = "A domain in the message body resolves to an IP listed in Spamhaus XBL";
|
||||
# one_shot = true;
|
||||
# groups = ["spamhaus"];
|
||||
#}
|
||||
#"URIBL_PBL" {
|
||||
# weight = 0.01;
|
||||
# description = "A domain in the message body resolves to an IP listed in Spamhaus PBL";
|
||||
# groups = ["spamhaus"];
|
||||
#}
|
||||
#"URIBL_DROP" {
|
||||
# weight = 5.0;
|
||||
# description = "A domain in the message body resolves to an IP listed in Spamhaus DROP";
|
||||
# one_shot = true;
|
||||
# groups = ["spamhaus"];
|
||||
#}
|
||||
"SPAMHAUS_ZEN_URIBL" {
|
||||
ignore = true;
|
||||
weight = 0.0;
|
||||
description = "Spamhaus ZEN URIBL: Filtered result";
|
||||
one_shot = true;
|
||||
groups = ["spamhaus"];
|
||||
}
|
||||
"URIBL_SBL" {
|
||||
ignore = true;
|
||||
weight = 6.5;
|
||||
description = "A domain in the message body resolves to an IP listed in Spamhaus SBL";
|
||||
one_shot = true;
|
||||
groups = ["spamhaus"];
|
||||
}
|
||||
"URIBL_SBL_CSS" {
|
||||
ignore = true;
|
||||
weight = 6.5;
|
||||
description = "A domain in the message body resolves to an IP listed in Spamhaus SBL CSS";
|
||||
one_shot = true;
|
||||
groups = ["spamhaus"];
|
||||
}
|
||||
"URIBL_XBL" {
|
||||
ignore = true;
|
||||
weight = 1.5;
|
||||
description = "A domain in the message body resolves to an IP listed in Spamhaus XBL";
|
||||
one_shot = true;
|
||||
groups = ["spamhaus"];
|
||||
}
|
||||
"URIBL_PBL" {
|
||||
ignore = true;
|
||||
weight = 0.01;
|
||||
description = "A domain in the message body resolves to an IP listed in Spamhaus PBL";
|
||||
one_shot = true;
|
||||
groups = ["spamhaus"];
|
||||
}
|
||||
"URIBL_DROP" {
|
||||
ignore = true;
|
||||
weight = 5.0;
|
||||
description = "A domain in the message body resolves to an IP listed in Spamhaus DROP";
|
||||
one_shot = true;
|
||||
groups = ["spamhaus"];
|
||||
}
|
||||
#"RBL_SARBL_BAD" {
|
||||
# weight = 2.5;
|
||||
# description = "A domain in the message body is blacklisted in SARBL";
|
||||
|
||||
Reference in New Issue
Block a user