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" {
|
2021-03-12 10:12:58 +00:00
|
|
|
enabled = true;
|
|
|
|
count = 1;
|
2021-02-14 01:32:38 +00:00
|
|
|
bind_socket = "localhost:7512";
|
2021-01-10 03:44:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
worker "rspamd_proxy" {
|
|
|
|
count = 1;
|
2021-01-27 20:13:07 +00:00
|
|
|
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" {
|
2021-02-14 01:32:38 +00:00
|
|
|
enabled = true;
|
|
|
|
count = 1;
|
2021-02-05 21:11:09 +00:00
|
|
|
bind_socket = "localhost:7513";
|
2021-02-14 01:32:38 +00:00
|
|
|
encrypted_only = false;
|
2021-01-10 03:44:49 +00:00
|
|
|
backend = "redis";
|
|
|
|
expire = 90d;
|
2021-02-14 01:32:38 +00:00
|
|
|
allow_update = ["127.0.0.1", "::1"];
|
2021-01-10 03:44:49 +00:00
|
|
|
}
|