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
Trace
data/conf/rspamd/local.d/fuzzy_check.conf
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
Author
Date
Commit
Line
Code
1
rule "local" {
2
# Fuzzy storage server list
3
servers = "localhost:11445";
4
# Default symbol for unknown flags
5
symbol = "LOCAL_FUZZY_UNKNOWN";
6
# Additional mime types to store/check
7
mime_types = ["application/*"];
8
# Hash weight threshold for all maps
9
max_score = 100.0;
10
# Whether we can learn this storage
11
read_only = no;
12
# Ignore unknown flags
13
skip_unknown = yes;
14
# Hash generation algorithm
15
algorithm = "mumhash";
17
# Map flags to symbols
18
fuzzy_map = {
19
LOCAL_FUZZY_DENIED {
20
max_score = 10.0;
21
flag = 11;
22
}
23
LOCAL_FUZZY_WHITE {
24
max_score = 5.0;
25
flag = 13;
26
}
27
}
28
}
30
rule "mailcow" {
31
# Fuzzy storage server list
32
servers = "fuzzy.mailcow.email:11445";
33
# Default symbol for unknown flags
34
symbol = "MAILCOW_FUZZY_UNKNOWN";
35
# Additional mime types to store/check
36
mime_types = ["application/*"];
37
# Hash weight threshold for all maps
38
max_score = 100.0;
39
# Whether we can learn this storage
40
read_only = yes;
41
# Ignore unknown flags
42
skip_unknown = yes;
43
# Hash generation algorithm
44
algorithm = "mumhash";
45
# Encrypt connection
46
encryption_key = "oa7xjgdr9u7w3hq1xbttas6brgau8qc17yi7ur5huaeq6paq8h4y";
47
# Map flags to symbols
48
fuzzy_map = {
49
MAILCOW_FUZZY_DENIED {
50
max_score = 10.0;
51
flag = 11;
52
}
53
}
54
}