]> git.proxmox.com Git - pmg-api.git/commit
fix #2228: automatically deliver/delete on whitelist/blacklist
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 30 Mar 2021 15:05:47 +0000 (17:05 +0200)
committerStoiko Ivanov <s.ivanov@proxmox.com>
Wed, 31 Mar 2021 11:40:56 +0000 (13:40 +0200)
commit69048a045c926d7af7eeb71c9a8cff59c8b449fe
tree22167a1a534699fada0acd9e79eee58be0416c31
parentcb6137e604de545a0fed8c8cc71b223f835f016d
fix #2228: automatically deliver/delete on whitelist/blacklist

If a user chooses to blacklist a specific sender of a mail, the mail
is highly probably undesired too, so delete it in that case.

The reverse should hold for white listing a mail's sender, deliver it
in that case.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Tested-By: Stoiko Ivanov <s.ivanov@proxmox.com>
Reviewed-By: Stoiko Ivanov <s.ivanov@proxmox.com>
src/PMG/API2/Quarantine.pm