Re: amavisd-new & rspamd
Damian <[email protected]> Wed, 22 Oct 2025 22:37:35 +0200
| Newsgroups | gmane.mail.virus.amavis.user |
|---|---|
| Message-ID | <[email protected]> |
> @spam_scanners =3D ( [
>=20
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 'Local Rspamd', 'Amavis::SpamControl::R=
spamdClient',
>=20
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 score_factor =3D> $sa_tag2_level_deflt =
/ 15.0,
>=20
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 mta_name =3D> 'myserver.kolcore.com'
>=20
> =C2=A0 ] );
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 n=
o matter the $log_level:
> Local Rspamd client failed: ...
Other potential problems could log "Error calling rspamd" or "Missing rsp=
amd response".
With $log_level 5 one would expect to see
> Rspamd response: ...