DevHeads.net

Postings by Ralph Seichter

Rspamd as milter and 'discard' action

I'm having trouble with Rspamd as a milter for Postfix, specifically
with Rspamd's discard action:

# /etc/rspamd/local.d/force_actions.conf
rules {
FOO_RULE {
expression = 'FOO_EXPR',
action = 'discard'
}
}

If I use the 'reject' action in Rspamd rules like the one shown above,
Postfix rejects matching messages on arrival, as is expected. However,
the actions 'discard' and 'quarantine' have no visible effect.

Since Rspamd merely offers a suggestion on how the MTA is supposed to
treat messages, I probably need to configure Postfix to honor 'discard'
suggestions?