On 8/24/22 12:43, Stuart Henderson wrote:
On 2022/08/24 11:23, Renaud Allard wrote:Hello, It seems there is a bug in rspamd which makes it segfault on some messages. https://github.com/rspamd/rspamd/issues/3871 This gives smtp error like this, effectively deferring the mail each time: Aug 23 03:59:57 isildur smtpd[21054]: rspamd: failed to receive a response from daemon It has been categorized as WONTFIX, probably because it's a quite hard to reproduce bug and it's dependent on libc implementations.Needs more information to reproduce it, I'm passing at least 5k messages/day through rspamd on OpenBSD. Not loads, but enough to prove that there's no major general problem.
It only triggers on some very specific mails. Unfortunately, I don't have such a mail to reproduce the issue manually.
The attached diff adds -DJEMALLOC=no to disable jemalloc use which seems to be at least part of the culprit. It would be nice if more people would be able to test so we have a functional rspamd in 7.2.rspamd does not enable jemalloc by default, and the OpenBSD port does not enable it.
Indeed, I got again a mail which failed, even with the patch.
smime.p7s
Description: S/MIME Cryptographic Signature
