Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1008158: rspamd returns 404 error when mail already learned

139 views
Skip to first unread message

Ingo Juergensmann

unread,
Mar 23, 2022, 7:10:02 AM3/23/22
to
Package: rspamd
Version: 3.1-1~bpo11+1
Severity: normal

Dear Maintainer,

rspamc reports an HTTP 404 error when a mail has already been learnt:

HTTP error: 404, all learn conditions denied learning spam in default classifier

See the discussion upstream here:
https://github.com/rspamd/rspamd/issues/3956

... and the fix/patch can be found here:
https://github.com/rspamd/rspamd/commit/58037bbffc0e3fd7873b6b411ea2c3aeb0f3ea91

It would be great if you could implement this fix in the next upload of rspamd, because apparently (and discussed upstream) this is not an error but either info/notify or warning level.
HTTP 404 is misleading the user to believe there is an error with the configuration like some webserver is not reachable or so.

This happens also with version in bullseye itself, just used backports for counter-checking...

Regards,
Ingo

-- System Information:
Debian Release: 11.2
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-12-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_DE:en_US:en_GB:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages rspamd depends on:
ii adduser 3.118
ii ca-certificates 20210119
ii fonts-glyphicons-halflings 1.009~3.4.1+dfsg-2
ii init-system-helpers 1.60
ii libc6 2.31-13+deb11u2
ii libgcc-s1 10.2.1-6
ii libglib2.0-0 2.66.8-1
ii libhyperscan5 5.4.0-2
ii libicu67 67.1-7
ii libjs-bootstrap4 4.5.2+dfsg1-7
ii libjs-jquery 3.5.1+dfsg+~3.5.5-7
ii libjs-requirejs 2.3.6+ds-1
ii libluajit-5.1-2 2.1.0~beta3+dfsg-5.3
ii libpcre2-8-0 10.36-2
ii libsodium23 1.0.18-1
ii libsqlite3-0 3.34.1-3
ii libssl1.1 1.1.1k-1+deb11u2
ii libstdc++6 10.2.1-6
ii libunwind8 1.3.2-2
ii lsb-base 11.1.0
ii perl 5.32.1-4+deb11u2
ii zlib1g 1:1.2.11.dfsg-2

Versions of packages rspamd recommends:
ii redis-server 5:6.0.16-1+deb11u2

rspamd suggests no packages.

-- Configuration Files:
/etc/rspamd/rspamd.conf changed [not included]
/etc/rspamd/worker-controller.inc changed [not included]

-- no debconf information
0 new messages