2018-07-29 00:34:36 +02:00
|
|
|
rule "local" {
|
|
|
|
# Fuzzy storage server list
|
|
|
|
servers = "localhost:11445";
|
|
|
|
# Default symbol for unknown flags
|
|
|
|
symbol = "LOCAL_FUZZY_UNKNOWN";
|
|
|
|
# Additional mime types to store/check
|
|
|
|
mime_types = ["application/*"];
|
|
|
|
# Hash weight threshold for all maps
|
2018-07-29 23:03:49 +02:00
|
|
|
max_score = 100.0;
|
2018-07-29 00:34:36 +02:00
|
|
|
# Whether we can learn this storage
|
|
|
|
read_only = no;
|
|
|
|
# Ignore unknown flags
|
|
|
|
skip_unknown = yes;
|
|
|
|
# Hash generation algorithm
|
|
|
|
algorithm = "mumhash";
|
|
|
|
|
|
|
|
# Map flags to symbols
|
|
|
|
fuzzy_map = {
|
|
|
|
LOCAL_FUZZY_DENIED {
|
|
|
|
max_score = 10.0;
|
2018-07-29 23:03:49 +02:00
|
|
|
flag = 11;
|
2018-07-29 00:34:36 +02:00
|
|
|
}
|
|
|
|
LOCAL_FUZZY_WHITE {
|
2018-07-29 23:03:49 +02:00
|
|
|
max_score = 5.0;
|
2018-07-29 00:34:36 +02:00
|
|
|
flag = 13;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-02-26 15:24:19 +02:00
|
|
|
rule "mailcow" {
|
|
|
|
# Fuzzy storage server list
|
2020-02-26 15:30:44 +02:00
|
|
|
servers = "fuzzy.mailcow.email:11445";
|
2020-02-26 15:24:19 +02:00
|
|
|
# Default symbol for unknown flags
|
|
|
|
symbol = "MAILCOW_FUZZY_UNKNOWN";
|
|
|
|
# Additional mime types to store/check
|
|
|
|
mime_types = ["application/*"];
|
|
|
|
# Hash weight threshold for all maps
|
|
|
|
max_score = 100.0;
|
|
|
|
# Whether we can learn this storage
|
|
|
|
read_only = yes;
|
|
|
|
# Ignore unknown flags
|
|
|
|
skip_unknown = yes;
|
|
|
|
# Hash generation algorithm
|
|
|
|
algorithm = "mumhash";
|
2018-07-29 00:34:36 +02:00
|
|
|
|
2020-02-26 15:24:19 +02:00
|
|
|
# Map flags to symbols
|
|
|
|
fuzzy_map = {
|
|
|
|
MAILCOW_FUZZY_DENIED {
|
|
|
|
max_score = 10.0;
|
|
|
|
flag = 11;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|