Community
I sent a PR to rspamd that seems to resolve this by doing a PTR lookup from inside hfilter when one is necessary.
hfilter