[Rspamd-Users] Rspamd as milter for Postfix and 'discard' forced action
Ralph Seichter
abbot at monksofcool.net
Thu Mar 14 20:27:05 UTC 2019
I performed more tests. The following configuration combo (#1) does not
work, i.e. Rspamd does not signal Postfix with either SMFIR_DISCARD or
SMFIR_REJECT:
# /etc/rspamd/local.d/force_actions.conf
rules {
FOO_RULE {
expression = 'FOO_EXPR', action = 'discard'
}
}
# /etc/rspamd/local.d/worker-proxy.inc
discard_on_reject = false;
The following combination (#2) causes Postfix to REJECT messages:
rules {
FOO_RULE {
expression = 'FOO_EXPR', action = 'reject'
}
}
discard_on_reject = false;
The following combination (#3) causes Postfix to DISCARD message:
rules {
FOO_RULE {
expression = 'FOO_EXPR', action = 'reject'
}
}
discard_on_reject = true;
Of course, #3 causes all nominally rejected messages to be discarded,
which does not help me. I wish to discard only a small subset of
messages. How can I achieve this?
-Ralph
More information about the Users
mailing list