Having user whitelists override user blacklists

mko

New Member
Feb 3, 2021
8
0
1
46
I have a PMG user who wants to blacklist everything and only allow certain senders via their user whitelist. Currently if the user blacklist is matched the mail will be considered spam even if there is a more specific whitelist entry. Is there a way to have user whitelists take priority over user blacklists?

Thanks in advance.
 
The order of evaluation for the user-lists is hardcoded and cannot be changed.

You could create a specific rule for that user in the rule-system ...
 
The rule system would work great but is there a way to use user-lists in Who objects so the user can update their own lists? With this particular use case of only allowing whitelisted senders they would need to update their list frequently. Being able to use user-lists in the rule-system might be useful for other things too. I suppose something could be scripted via the API to periodically dump user-lists and turn them into who objects, but not sure if there's a better way.

Thanks for the reply and for PMG/PVE, they are truly awesome products!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!