Hello! Please help a newbie. I’m trying to setup my home mail server on openSUSE. I’ve got Postfix + Dovecot + Roundcube working already.
I want to configure Redis and Nginx for using with Rspamd via Unix sockets. In fact, I have Nextcloud working on my server too, and it uses Redis via a Unix socket. Besides, my Nginx makes fastcgi_pass to php handler via a Unix socket too.
So, is it possible to configure Rspamd to use Redis somehow like this:
/etc/rspamd/local.d/redis.confservers = "unix:/var/run/redis/redis.sock";
/etc/rspamd/local.d/classifier-bayes.confservers = "unix:/var/run/redis/redis.sock";
backend = "redis";
autolearn = true;
And
may I configure Rspamd for using with Nginx proxy like this:
/etc/rspamd/local.d/worker-controller.incbind_socket = "/run/rspamd/worker-controller.socket mode=0666 owner=_rspamd";
/etc/nginx/nginx.conflocation /rspamd/ {
proxy_pass unix:/run/php/php7.1-fpm.sock;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For "";
}