36 lines
613 B
Plaintext
36 lines
613 B
Plaintext
worker "normal" {
|
|
count = 1;
|
|
bind_socket = "*:11333";
|
|
mime = true;
|
|
}
|
|
|
|
worker "controller" {
|
|
enabled = false;
|
|
count = -1;
|
|
bind_socket = "*:11334";
|
|
}
|
|
|
|
worker "rspamd_proxy" {
|
|
count = 1;
|
|
bind_socket = "*:11332";
|
|
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;
|
|
hosts = "localhost";
|
|
}
|
|
}
|
|
|
|
worker "fuzzy" {
|
|
count = 1;
|
|
bind_socket = "*:11335";
|
|
backend = "redis";
|
|
expire = 90d;
|
|
allow_update = [];
|
|
}
|