User verification for receiving and sending

hogan87

New Member
Aug 15, 2021
1
0
1
38
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!