The logic is kind of convoluted, but I think the following will do the trick (or at least get you started, you probably have to tune it up a bit).
Create a policy group that contains the "approved" recipients e.g. policy group with members joe@domain1, fred@domain2, etc)
Create a dictionary of your restricted senders. E.g. dictionary name "floor-traders" that contains
trader1@mydomain.com,
trader2@mdomain.com, etc.
Create an outbound policy for the default group that says "if sender is in floor-traders dictionary then delete message"
If the recipient is in the approved group, then it is NOT in the default group, so the default group outbound policy will not be executed for that recipient.
Original Message:
Sent: Dec 07, 2022 04:59 AM
From: Sona T
Subject: policy creation with only allow list
yes
Original Message:
Sent: Dec 07, 2022 04:49 AM
From: Alexander Sanita
Subject: policy creation with only allow list
So this is mostly for outbound to internet email?
Original Message:
Sent: 12/7/2022 12:19:00 AM
From: Sona T
Subject: RE: policy creation with only allow list
yes ,this is just an example , similarly i just have a set of domains in the allow list , i just want my users to sent mails to only that domains , if they are trying to sent to a different domain other than in the allowed list smg should block it or bounce that email,is it possible?
Original Message:
Sent: Dec 06, 2022 11:54 PM
From: Alexander Sanita
Subject: policy creation with only allow list
So you only want emails to be accepted from the internet for ONLY: abc@allowed.com ,xyz@allowed.com ???? Are you sure.
Original Message:
Sent: 12/6/2022 11:32:00 PM
From: Sona T
Subject: RE: policy creation with only allow list
Hello Alexander,
For example, abc@allowed.com ,xyz@allowed.com are allowed in the allow list , i want my sender group only to be allowed to sent mails to these two and automatically block when the sender group is trying to send mails other than this allowed list,kindly help me know to implement that can we create a deny list with a wildcard excepting these two domains so that all the domain will be automatically blocked
Original Message:
Sent: Dec 06, 2022 08:46 AM
From: Alexander Sanita
Subject: policy creation with only allow list
Give an example of what u want pls.
Original Message:
Sent: 12/6/2022 8:35:00 AM
From: Sona T
Subject: policy creation with only allow list
Hello ,
Please let me know can we create a policy only with allow list where the rest of the domains should be blocked by default ,only the domains in the allow list should bypass,please note that i don't want to create a deny list,please let me know if it is possible ,can we add a wildcard to deny list?
Kindly help me with a resolution