committing changes in /etc made by "-bash"

Package changes:
This commit is contained in:
2022-10-04 15:28:51 +03:00
parent 20a9d17637
commit 991838e31f
6 changed files with 23 additions and 9 deletions

View File

@@ -124,7 +124,7 @@ composites {
} }
BAD_REP_POLICIES { BAD_REP_POLICIES {
description = "Contains valid policies but are also marked by fuzzy/bayes/surbl/rbl"; description = "Contains valid policies but are also marked by fuzzy/bayes/surbl/rbl";
expression = "(~g-:policies) & (-g+:fuzzy | -g+:bayes | -g+:surbl | -g+:rbl)"; expression = "(~g-:policies) & (-g+:fuzzy | -g+:statistics | -g+:surbl | -g+:rbl)";
score = 0.1; score = 0.1;
} }

View File

@@ -136,7 +136,6 @@ rbl {
} }
symbol = "BLOCKLISTDE"; symbol = "BLOCKLISTDE";
rbl = "bl.blocklist.de"; rbl = "bl.blocklist.de";
ipv6 = true;
checks = ['from', 'received']; checks = ['from', 'received'];
} }
@@ -160,6 +159,7 @@ rbl {
RSPAMD_EMAILBL { RSPAMD_EMAILBL {
ignore_whitelist = true; ignore_whitelist = true;
ignore_defaults = true; ignore_defaults = true;
exclude_users = false;
emails_delimiter = "."; emails_delimiter = ".";
hash_format = "base32"; hash_format = "base32";
hash_len = 32; hash_len = 32;
@@ -173,6 +173,7 @@ rbl {
MSBL_EBL { MSBL_EBL {
ignore_whitelist = true; ignore_whitelist = true;
ignore_defaults = true; ignore_defaults = true;
exclude_users = false;
rbl = "ebl.msbl.org"; rbl = "ebl.msbl.org";
checks = ['emails', 'replyto']; checks = ['emails', 'replyto'];
emails_domainonly = false; emails_domainonly = false;
@@ -192,8 +193,9 @@ rbl {
"SURBL_MULTI" { "SURBL_MULTI" {
ignore_defaults = true; ignore_defaults = true;
rbl = "multi.surbl.org"; rbl = "multi.surbl.org";
checks = ['emails', 'dkim', 'urls']; checks = ['emails', 'dkim', 'helo', 'rdns', 'replyto', 'urls'];
emails_domainonly = true; emails_domainonly = true;
exclude_users = false;
returnbits = { returnbits = {
CRACKED_SURBL = 128; # From February 2016 CRACKED_SURBL = 128; # From February 2016
@@ -207,8 +209,9 @@ rbl {
"URIBL_MULTI" { "URIBL_MULTI" {
ignore_defaults = true; ignore_defaults = true;
rbl = "multi.uribl.com"; rbl = "multi.uribl.com";
checks = ['emails', 'dkim', 'urls']; checks = ['emails', 'dkim', 'helo', 'rdns', 'replyto', 'urls'];
emails_domainonly = true; emails_domainonly = true;
exclude_users = false;
returnbits { returnbits {
URIBL_BLOCKED = 1; URIBL_BLOCKED = 1;
@@ -226,6 +229,7 @@ rbl {
hash = 'blake2'; hash = 'blake2';
hash_len = 32; hash_len = 32;
hash_format = 'base32'; hash_format = 'base32';
exclude_users = false;
returncodes = { returncodes = {
RSPAMD_URIBL = [ RSPAMD_URIBL = [
@@ -240,6 +244,7 @@ rbl {
no_ip = true; no_ip = true;
checks = ['emails', 'dkim', 'helo', 'rdns', 'replyto', 'urls']; checks = ['emails', 'dkim', 'helo', 'rdns', 'replyto', 'urls'];
emails_domainonly = true; emails_domainonly = true;
exclude_users = false;
returncodes = { returncodes = {
# spam domain # spam domain

View File

@@ -87,7 +87,7 @@ symbols = {
groups = ["spamhaus"]; groups = ["spamhaus"];
} }
"RBL_SPAMHAUS_SBL" { "RBL_SPAMHAUS_SBL" {
weight = 2.0; weight = 4.0;
description = "From address is listed in ZEN SBL"; description = "From address is listed in ZEN SBL";
groups = ["spamhaus"]; groups = ["spamhaus"];
} }
@@ -127,7 +127,7 @@ symbols = {
groups = ["spamhaus"]; groups = ["spamhaus"];
} }
"RECEIVED_SPAMHAUS_SBL" { "RECEIVED_SPAMHAUS_SBL" {
weight = 1.0; weight = 3.0;
description = "Received address is listed in ZEN SBL"; description = "Received address is listed in ZEN SBL";
groups = ["spamhaus"]; groups = ["spamhaus"];
one_shot = true; one_shot = true;

View File

@@ -23,33 +23,41 @@ symbols = {
"WHITELIST_SPF" { "WHITELIST_SPF" {
weight = -1.0; weight = -1.0;
description = "Mail comes from the whitelisted domain and has a valid SPF policy"; description = "Mail comes from the whitelisted domain and has a valid SPF policy";
groups = ["spf"];
} }
"BLACKLIST_SPF" { "BLACKLIST_SPF" {
weight = 1.0; weight = 1.0;
description = "Mail comes from the whitelisted domain and has no valid SPF policy"; description = "Mail comes from the whitelisted domain and has no valid SPF policy";
groups = ["spf"];
} }
"WHITELIST_DKIM" { "WHITELIST_DKIM" {
weight = -1.0; weight = -1.0;
description = "Mail comes from the whitelisted domain and has a valid DKIM signature"; description = "Mail comes from the whitelisted domain and has a valid DKIM signature";
groups = ["dkim"];
} }
"BLACKLIST_DKIM" { "BLACKLIST_DKIM" {
weight = 2.0; weight = 2.0;
description = "Mail comes from the whitelisted domain and has non-valid DKIM signature"; description = "Mail comes from the whitelisted domain and has non-valid DKIM signature";
groups = ["dkim"];
} }
"WHITELIST_SPF_DKIM" { "WHITELIST_SPF_DKIM" {
weight = -3.0; weight = -3.0;
description = "Mail comes from the whitelisted domain and has valid SPF and DKIM policies"; description = "Mail comes from the whitelisted domain and has valid SPF and DKIM policies";
groups = ["spf", "dkim"];
} }
"BLACKLIST_SPF_DKIM" { "BLACKLIST_SPF_DKIM" {
weight = 3.0; weight = 3.0;
description = "Mail comes from the whitelisted domain and has no valid SPF policy or a bad DKIM signature"; description = "Mail comes from the whitelisted domain and has no valid SPF policy or a bad DKIM signature";
groups = ["spf", "dkim"];
} }
"WHITELIST_DMARC" { "WHITELIST_DMARC" {
weight = -7.0; weight = -7.0;
description = "Mail comes from the whitelisted domain and has valid DMARC and DKIM policies"; description = "Mail comes from the whitelisted domain and has valid DMARC and DKIM policies";
groups = ["dmarc", "spf", "dkim"];
} }
"BLACKLIST_DMARC" { "BLACKLIST_DMARC" {
weight = 6.0; weight = 6.0;
description = "Mail comes from the whitelisted domain and has failed DMARC and DKIM policies"; description = "Mail comes from the whitelisted domain and has failed DMARC and DKIM policies";
groups = ["dmarc", "spf", "dkim"];
} }
} }

View File

@@ -2,15 +2,15 @@
# Please don't modify this file as your changes might be overwritten with # Please don't modify this file as your changes might be overwritten with
# the next update. # the next update.
# #
# You can modify 'local.d/statistics.conf' to add and merge # You can modify 'local.d/statistic.conf' to add and merge
# parameters defined inside this section # parameters defined inside this section
# #
# You can modify 'override.d/statistics.conf' to strictly override all # You can modify 'override.d/statistic.conf' to strictly override all
# parameters defined inside this section # parameters defined inside this section
# #
# If you just need to change the default bayes classifier, you can also use # If you just need to change the default bayes classifier, you can also use
# 'local.d/classifier-bayes.conf' or 'override.d/classifier-bayes.conf'. But # 'local.d/classifier-bayes.conf' or 'override.d/classifier-bayes.conf'. But
# never ever use both `statistics.conf` and `classifier-bayes.conf` locals files # never ever use both `statistic.conf` and `classifier-bayes.conf` locals files
# together! # together!
# #
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories # See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/rspamd.service