Yes.

root@myserver:~# netstat -napt |grep 11333
tcp        0      0 127.0.0.1:11333         0.0.0.0:*               LISTEN      
16300/rspamd: main  
root@myserver:~#

Plus I am getting the curl response, didn’t want to paste it here.

Regards,
Dudi


-----Original Message-----
From: amavis-users <[email protected]> On Behalf 
Of Damian
Sent: Wednesday, 22 October, 2025 11:38 PM
To: [email protected]
Subject: Re: amavisd-new & rspamd

> @spam_scanners = ( [
> 
>        'Local Rspamd', 'Amavis::SpamControl::RspamdClient',
> 
>        score_factor => $sa_tag2_level_deflt / 15.0,
> 
>        mta_name => 'myserver.kolcore.com'
> 
>    ] );
Does rspamd listen on the expected endpoint?

> $ curl http://127.0.0.1:11333/checkv2
> {"is_skipped":false,"score":15.0,"required_score":15.0,"action":"reject","thresholds":{"reject":15.0,"add
>  
> header":6.0,"greylist":4.0},"symbols":{"COMPLETELY_EMPTY":{"name":"COMPLETELY_EMPTY","score":15.0,"metric_score":15.0}},"messages":{},"time_real":0.000669,"milter":{"remove_headers":{"X-Spam":0}}}

If there is a connection problem, there should be an according log-line no 
matter the $log_level:

> Local Rspamd client failed: ...
Other potential problems could log "Error calling rspamd" or "Missing rspamd 
response".

With $log_level 5 one would expect to see

> Rspamd response: ...

Reply via email to