]> git.proxmox.com Git - pmg-log-tracker.git/commit
before-queue: set 'B' status for rule-system blocked mails
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 24 Apr 2020 09:26:50 +0000 (11:26 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 24 Apr 2020 09:57:13 +0000 (11:57 +0200)
commit4d1bf8f92855223d76ad71670cbeb9e7eed0943e
tree528b5791f3cc1128d1d673a46dbd40e5b0ad5629
parent670f064019d27b31601f5db1cc25d32dfd8cb007
before-queue: set 'B' status for rule-system blocked mails

we want to show mails that were blocked by the rule-system as 'Blocked'
in the ui, so we have to use the dstatus of the to entry, and not
'NOQUEUE'

mails rejected by postscreen, etc. still show 'rejected'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/main.rs
tests/test_output_before_queue
tests/test_output_before_queue_host
tests/test_output_before_queue_search_string