Don't use Rmilter for anything but just passing messages from MTA to
Rspamd. In turn, Rspamd can do what you'd like by writing a simple
prefilter rule like this one:
rspamd_config.TEST_CHECK = {
callback = function(task)
if not task:get_header(...) then
task:set_pre_result('no action')
end
end,
type = 'prefilter',
score = 0.0,
> --
> You received this message because you are subscribed to the Google
> Groups "rspamd" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
rspamd+un...@googlegroups.com
> <mailto:
rspamd+un...@googlegroups.com>.
> Visit this group at
https://groups.google.com/group/rspamd.
--
Vsevolod Stakhov