public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Commit
[Rspamd] Rate .doc with +10, decrease default bayes ham score
5a0df093
data/conf/rspamd/local.d/mime_types.conf | 1 +
data/conf/rspamd/local.d/statistics_group.conf | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
Diff
diff --git a/data/conf/rspamd/local.d/mime_types.conf b/data/conf/rspamd/local.d/mime_types.conf
index 6a5ed408..eaa8ea09 100644
--- a/data/conf/rspamd/local.d/mime_types.conf
+++ b/data/conf/rspamd/local.d/mime_types.conf
@@ -10,6 +10,7 @@ bad_extensions = {
ace = 4,
arj = 4,
cab = 3,
+ doc = 10,
};
# Extensions that are particularly penalized for archives
diff --git a/data/conf/rspamd/local.d/statistics_group.conf b/data/conf/rspamd/local.d/statistics_group.conf
index 49c952bd..7ed35b15 100644
--- a/data/conf/rspamd/local.d/statistics_group.conf
+++ b/data/conf/rspamd/local.d/statistics_group.conf
@@ -4,7 +4,7 @@ symbols = {
description = "Message probably spam, probability: ";
}
"BAYES_HAM" {
- weight = -10.5;
+ weight = -5.5;
description = "Message probably ham, probability: ";
}
}