Public bug reported: As discussed in [1], it has been decided to demote amavisd-new from main in favor of rspamd.
Right now, this bug is not a formal MIR, and as such will be marked incomplete until the MIR proper starts. The following is the result of some preliminary MIR research on this package, excerpted from [1]: The clearest candidate for promotion to replace amavisd-new to maintain officially supported features is rspamd. It has a very active upstream [2] and supports the milter protocol, meaning it also can work perfectly well with postfix. We currently have the package, with some small delta from Debian related to build flags (and some OpenSSL build fixes likely to get removed as upstream/Debian adopt them). MIRing this package would require the elevation of several dependencies, however, each requiring varying levels of changes to rspamd's packaging: - hyperscan - the most problematic of the dependencies hyperscan is a regular expression matching library by Intel. In the past, this library was fully open source (BSD license), but after 5.4.2 Intel took the project proprietary. Intel still backports security fixes to the latest open source release of hyperscan at [3], but even then neither Ubuntu nor Debian is up to date on the security fixes that already exist. - vectorscan - fixes the problem of hyperscan vectorscan is an actively maintained open source fork of hyperscan located at [4]. Already conditionally present in the dependency closure of rspamd: libhyperscan-dev [amd64 i386] | libvectorscan-dev [arm64], as a replacement for hyperscan. An rspamd MIR would likely involve replacing hyperscan with vectorscan on those architectures where we currently use hyperscan (amd64, i386). vectorscan also has one transitive dependency, isa-support, that requires MIR, which is straightforward. - bootstrap-html - static files for rspamd's optional GUI. This requires one dependency of its own to be promoted (node-popper2), and consists of only static files. I think the sanest option here might be to just introduce a delta dropping it to Suggests. - requirejs - also required for the optional GUI only, same recommendation as bootstrap-html - luajit Being a JIT compiler, security will need to take a closer look at this one given the attack surface of executing code, which might be concerning given that the original, legacy upstream is maintained by a single person. However, Ubuntu via Debian already ships a fork of luaJIT maintained by OpenResty [5], which should mitigate those concerns. Furthermore, as far as rspamd is concerned, luajit does not run any end-user supplied untrusted code, only rspamd's own. No transitive dependencies require promotion, save for those aforementioned. Note also rspamd has a segfault bug [6] on arm64 that will need re- triage and evaluation before the MIR can proceed. [1] https://bugs.launchpad.net/ubuntu/+source/amavisd-new/+bug/2175041 [2] https://github.com/rspamd/rspamd [3] https://github.com/intel/hyperscan [4] https://github.com/VectorCamp/vectorscan [5] https://launchpad.net/ubuntu/+source/luajit/2.1.0+openresty20251030-1 [6] https://bugs.launchpad.net/ubuntu/+source/rspamd/+bug/1947495 ** Affects: rspamd (Ubuntu) Importance: Undecided Status: Incomplete ** Changed in: rspamd (Ubuntu) Status: New => Incomplete ** Description changed: As discussed in [1], it has been decided to demote amavisd-new from main in favor of rspamd. Right now, this bug is not a formal MIR, and as such will be marked incomplete until the MIR proper starts. The following is the result of some preliminary MIR research on this package, excerpted from [1]: The clearest candidate for promotion to replace amavisd-new to maintain officially supported features is rspamd. It has a very active upstream [2] and supports the milter protocol, meaning it also can work perfectly well with postfix. We currently have the package, with some small delta from Debian related to build flags (and some OpenSSL build fixes likely to get removed as upstream/Debian adopt them). MIRing this package would require the elevation of several dependencies, however, each requiring varying levels of changes to rspamd's packaging: - hyperscan - the most problematic of the dependencies - hyperscan is a regular expression matching library by Intel. In the past, this library was fully open source (BSD license), but after 5.4.2 Intel took the project proprietary. - Intel still backports security fixes to the latest open source release of hyperscan at [3], but even then neither Ubuntu nor Debian is up to date on the security fixes that already - exist. + hyperscan is a regular expression matching library by Intel. In the past, this library was fully open source (BSD license), but after 5.4.2 Intel took the project proprietary. + Intel still backports security fixes to the latest open source release of hyperscan at [3], but even then neither Ubuntu nor Debian is up to date on the security fixes that already + exist. - vectorscan - fixes the problem of hyperscan - vectorscan is an actively maintained open source fork of hyperscan + vectorscan is an actively maintained open source fork of hyperscan located at [4]. Already conditionally present in the dependency closure of rspamd: - libhyperscan-dev [amd64 i386] | libvectorscan-dev [arm64], + libhyperscan-dev [amd64 i386] | libvectorscan-dev [arm64], - as a replacement for hyperscan. An rspamd MIR would likely involve + as a replacement for hyperscan. An rspamd MIR would likely involve replacing hyperscan with vectorscan on those architectures where we currently use hyperscan (amd64, i386). - vectorscan also has one transitive dependency, isa-support, that + vectorscan also has one transitive dependency, isa-support, that requires MIR, which is straightforward. - bootstrap-html - static files for rspamd's optional GUI. - This requires one dependency of its own to be promoted (node-popper2), and consists of only static files. - I think the sanest option here might be to just introduce a delta dropping it to Suggests. + This requires one dependency of its own to be promoted (node-popper2), and consists of only static files. + I think the sanest option here might be to just introduce a delta dropping it to Suggests. - requirejs - also required for the optional GUI only, same recommendation as bootstrap-html - luajit - Being a JIT compiler, security will need to take a closer look at this one given the attack surface of executing code, which might be concerning given that - the original, legacy upstream is maintained by a single person. However, Ubuntu via Debian already ships a fork of luaJIT maintained by OpenResty [5], which should - mitigate those concerns. Furthermore, as far as rspamd is concerned, luajit does not run any end-user supplied untrusted code, only rspamd's own. + Being a JIT compiler, security will need to take a closer look at this one given the attack surface of executing code, which might be concerning given that + the original, legacy upstream is maintained by a single person. However, Ubuntu via Debian already ships a fork of luaJIT maintained by OpenResty [5], which should + mitigate those concerns. Furthermore, as far as rspamd is concerned, luajit does not run any end-user supplied untrusted code, only rspamd's own. No transitive dependencies require promotion, save for those aforementioned. Note also rspamd has a segfault bug [6] on arm64 that will need re- triage and evaluation before the MIR can proceed. [1] https://bugs.launchpad.net/ubuntu/+source/amavisd-new/+bug/2175041 - [2] https://github.com/rspamd/rspamd, last commit 5 hours ago at time of writing + [2] https://github.com/rspamd/rspamd [3] https://github.com/intel/hyperscan [4] https://github.com/VectorCamp/vectorscan [5] https://launchpad.net/ubuntu/+source/luajit/2.1.0+openresty20251030-1 [6] https://bugs.launchpad.net/ubuntu/+source/rspamd/+bug/1947495 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2178481 Title: [MIR] Promote rspamd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rspamd/+bug/2178481/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
