Maybe it could be good to try neural network in rspamd? https://rspamd.com/doc/modules/fann.html Reproducible: Always
1.3.5 is now in the tree, and has a "fann" USE flag.