Discard on reject

45 views
Skip to first unread message

Bill Pye

unread,
Jul 28, 2017, 2:47:08 AM7/28/17
to rspamd
Hi all

This feature was added to a recent version of rspamd and I have a few questions.

I have a file in /etc/rspamd/local.d/worker-proxy.inc with an entry enabling the milter and I'm assuming that the discard o reject option goes in there and that it's simply adding a statement with "action = "discard_on_reject";" - is that the correct format and the correct place for it? When the discard is triggered will there be a log entry for the discarded message similar to the current "reject" entries?


Regards


Bill

Vsevolod Stakhov

unread,
Jul 28, 2017, 9:07:18 AM7/28/17
to Bill Pye, rspamd
discard_on_reject=true;

in worker-proxy.inc.

Bill Pye

unread,
Jul 28, 2017, 9:11:28 AM7/28/17
to rspamd, bill....@gmail.com

Duh! I knew there was something amiss but I totally forgot about "true", thanks for the quick reply. :)

Regards


Bill

Bill Pye

unread,
Jul 29, 2017, 4:43:05 AM7/29/17
to rspamd, bill....@gmail.com
Hi

Just a quick follow-up to my original post. I've made the changes above and I've added the entry to the file: /etc/rspamd/local.d/worker-
proxy.inc - however, I'm still seeing mails being rejected rather than discarded. Is there any logging for these discarded emails, should they be showing in the web UI as discarded/dropped or will they just continue to be shown as 'reject'? I suppose my basic question is, how can I confirm this feature is working as expected?

Regards


Bill
Reply all
Reply to author
Forward
0 new messages