Filter rspamd
Here is a more useful filter, filter_rspamd. It's inspired by gilles@ Python implementation, however, handles concurrent requests.
rspamd protocol exposes spam score, DKIM signature, gray-listing among other things via HTTP. This filter injects new headers and rejects/proceeds the session based on the rpsamd results.
31 January 2019