2017-03-02 11:23:23 +01:00
|
|
|
# rspamd.conf.local
|
2018-07-29 00:34:36 +02:00
|
|
|
|
|
|
|
worker "fuzzy" {
|
|
|
|
# Socket to listen on (UDP and TCP from rspamd 1.3)
|
|
|
|
bind_socket = "*:11445";
|
|
|
|
allow_update = ["127.0.0.1", "::1"];
|
|
|
|
# Number of processes to serve this storage (useful for read scaling)
|
|
|
|
count = 2;
|
|
|
|
# Backend ("sqlite" or "redis" - default "sqlite")
|
|
|
|
backend = "redis";
|
|
|
|
# Hashes storage time (3 months)
|
|
|
|
expire = 90d;
|
|
|
|
# Synchronize updates to the storage each minute
|
|
|
|
sync = 1min;
|
|
|
|
}
|
|
|
|
|