35 lines
627 B
Plaintext
35 lines
627 B
Plaintext
|
worker "normal" {
|
||
|
count = 1;
|
||
|
bind_socket = "localhost:11333";
|
||
|
mime = true;
|
||
|
}
|
||
|
|
||
|
worker "controller" {
|
||
|
count = -1;
|
||
|
bind_socket = "localhost:11334";
|
||
|
}
|
||
|
|
||
|
worker "rspamd_proxy" {
|
||
|
count = 1;
|
||
|
bind_socket = "localhost: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 = "localhost:11335";
|
||
|
backend = "redis";
|
||
|
expire = 90d;
|
||
|
allow_update = [];
|
||
|
}
|