User verification for receiving and sending

hogan87

New Member
Aug 15, 2021
1
0
1
37
Hi,

I'm using proxmox mail gateway version 6.4.4.
I've configured ldap and get a copy of all valid users to pmg.
Now I'd like to create a rule for sending out if a user belongs to a specified group. if not, it should block the message and send a notification back.
Also, if the user not belongs to this specified group, the gateway should not forward the message when it receives it inbound.

How should I build the rule? there is only a if belongs to group not a "NOT".

Please advice.

Thanks
Börny
 
Now I'd like to create a rule for sending out if a user belongs to a specified group. if not, it should block the message and send a notification back.
Also, if the user not belongs to this specified group, the gateway should not forward the message when it receives it inbound.
This can be (in most cases) accomplished by using the rule priorities:
Create two rules:
* one with the LDAP group that is allowed to send as 'From' and Accept as 'Action'
* one with lower priority without 'From' and Block as 'Action'

(similar for the inbound case)

I hope this helps!
 

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!