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? I have searched for quite a while but could not find a
solution, so I am asking for advice here. Thanks.

-Ralph

Reply via email to