saving uncommitted changes in /etc prior to dnf run

This commit is contained in:
2023-11-16 14:08:19 +02:00
parent a6d2827810
commit 5583cdecd3
51 changed files with 774 additions and 49 deletions

View File

@@ -16,6 +16,12 @@
composites {
SHORT_PART_BAD_HEADERS {
expression = "MISSING_ESSENTIAL_HEADERS & SINGLE_SHORT_PART";
group = "blankspam";
policy = "leave";
score = 7.0;
}
FORGED_RECIPIENTS_MAILLIST {
expression = "FORGED_RECIPIENTS & -MAILLIST";
}

View File

@@ -9,7 +9,7 @@
# parameters defined inside this section
# Path to the languages shared data
# languages = "${RSPAMD_SHAREDIR}/languages"
# languages = "${SHAREDIR}/languages"
# Limit in words to treat text as short for language detection
# short_text_limit = 10
@@ -21,7 +21,7 @@
# languages_disable = ["fr", "es"]
# Use the following fasttext model for language detection (if Fasttext support is compiled in)
# fasttext_model = "${RSPAMD_SHAREDIR}/languages/fasttext_model.ftz"
# fasttext_model = "${SHAREDIR}/languages/fasttext_model.ftz"
# Prefer fasttext over all other methods
# prefer_fasttext = true;

View File

@@ -105,6 +105,7 @@ rbl {
ipv6 = true;
checks = ['from', 'received'];
is_whitelist = true;
returncodes_matcher = "luapattern";
whitelist_exception = "RCVD_IN_DNSWL";
whitelist_exception = "RCVD_IN_DNSWL_NONE";
whitelist_exception = "RCVD_IN_DNSWL_LOW";
@@ -152,6 +153,7 @@ rbl {
rbl = "dwl.dnswl.org";
checks = ['dkim'];
ignore_whitelist = true;
returncodes_matcher = "luapattern";
unknown = false;
returncodes {
@@ -222,6 +224,7 @@ rbl {
selector = "specific_urls_filter_map('surbl_hashbl_map', {limit = 10}).apply_methods('get_host', 'get_path').join_tables('/')",
hash = 'md5';
hash_len = 32;
returncodes_matcher = "luapattern";
returncodes = {
SURBL_HASHBL_PHISH = "127.0.0.8";
SURBL_HASHBL_MALWARE = "127.0.0.16";