[Rspamd-Users] Local fuzzy worker: connection refused
Johannes Rohr
johannes at rohr.org
Fri Aug 16 11:24:47 UTC 2024
Sorry, responding to myself: Turns out, one has to explicitly enable the
server in local.d/worker-fuzzy.inc like this:
# Socket to listen on (UDP and TCP from rspamd 1.3)
bind_socket = "*:11335";
Am 16.08.24 um 13:17 schrieb Johannes Rohr:
> Dear all,
>
> no matter what I do, I see the following error recurring in the log:
>
> 16.8.2024, 13:00:09 normal 3078232 task cd316b got
> error on IO with server localhost:11335(127.0.0.1:11335), on write,
> 111, Connection refused
>
> And indeed, there seems to be nothing listening on that port:
>
> root at ida:/etc/rspamd# sudo lsof -nP -i:11335
> root at ida:/etc/rspamd# echo $?
> 1
>
> What can I do to enable it?
>
> What have so far tried to solve it:
>
> - in local.d/worker-fuzzy.inc I added the lines:
>
> allow_update = ["localhost", "127.0.0.1", "::1"];
> backend = "redis";
> servers = "localhost" # <- use proper server for fuzzy
> enabled = true;
>
> I tried
>
> rspamc -S LOCAL_DENIED -w 10 -f 11 mail.eml
>
> whose output looks like rspamc gets a connection and communicates with
> the server:
>
> Results for file: mail.eml (0.3 seconds)
> [Metric: default]
> Action: reject
> Spam: true
> Score: 16.95 / 13.00
> [...]
>
> Would be so grateful for a headsup!
>
> Johannes
More information about the Users
mailing list