aports/config/rspamd/workers.conf

39 lines
701 B
Plaintext
Raw Normal View History

2021-01-10 03:44:49 +00:00
worker "normal" {
count = 1;
2021-02-05 21:11:09 +00:00
bind_socket = "localhost:7511";
2021-01-10 03:44:49 +00:00
mime = true;
}
worker "controller" {
enabled = true;
count = 1;
bind_socket = "localhost:7512";
2021-01-10 03:44:49 +00:00
}
worker "rspamd_proxy" {
count = 1;
bind_socket = "*:7510";
2021-01-10 03:44:49 +00:00
milter = yes;
timeout = 120s; # Needed for Milter usually
max_retries = 5;
discard_on_reject = false;
quarantine_on_reject = false;
spam_header = "X-Spam";
reject_message = "RedXen Mail: Spam message rejected";
upstream "local" {
default = yes;
2021-01-27 21:15:27 +00:00
hosts = "localhost:7511";
2021-01-10 03:44:49 +00:00
}
}
worker "fuzzy" {
enabled = true;
count = 1;
2021-02-05 21:11:09 +00:00
bind_socket = "localhost:7513";
encrypted_only = false;
2021-01-10 03:44:49 +00:00
backend = "redis";
expire = 90d;
allow_update = ["localhost"];
sync = 1m;
2021-01-10 03:44:49 +00:00
}