* Wietse Venema:

> You may want to configure "cleanup -v" in master.cf to log what
> happens when it receives the Milter's DISCARD response.

Thank you for that. Based on the logs I am now convinced that the
problems lie with either Rspamd or how I use Rspamd based on my
interpretation of the docs (which are not as clear as I would wish).

  postfix/cleanup[3014]: 395EA48C128B: milter-discard: END-OF-MESSAGE
  from mailout12.t-online.de[194.25.134.22]: milter triggers DISCARD
  action; [...]

So, Postfix does honor DISCARD, if the milter actually answers in this
fashion. Problem is, I only managed to get Rspamd to do so by using a
special config parameter:

  # /etc/rspamd/local.d/worker-proxy.inc
  discard_on_reject = true;

If I now use the 'reject' action, Rspamd signals 'discard' instead.
Unfortunately, this affects all rejections, which is not what I need,
but it is clear that Postfix works as desired if I can somehow make
Rspamd do what I need it to do. I hope the Rspamd mailing list will lead
to a solution.

My thanks to you and Viktor for helping me rule out Postfix as the
source of my troubles.

-Ralph

Reply via email to