39 lines
701 B
Plaintext
39 lines
701 B
Plaintext
worker "normal" {
|
|
count = 1;
|
|
bind_socket = "localhost:7511";
|
|
mime = true;
|
|
}
|
|
|
|
worker "controller" {
|
|
enabled = true;
|
|
count = 1;
|
|
bind_socket = "localhost:7512";
|
|
}
|
|
|
|
worker "rspamd_proxy" {
|
|
count = 1;
|
|
bind_socket = "*:7510";
|
|
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:7511";
|
|
}
|
|
}
|
|
|
|
worker "fuzzy" {
|
|
enabled = true;
|
|
count = 1;
|
|
bind_socket = "localhost:7513";
|
|
encrypted_only = false;
|
|
backend = "redis";
|
|
expire = 90d;
|
|
allow_update = ["localhost"];
|
|
sync = 1m;
|
|
}
|