cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1053
Views
0
Helpful
2
Replies

Policy order question

endpoint
Level 1
Level 1

Hi,

how can i perform following on IronPort:

currently i have a policy that will block all emails sent from any .info domain but would like to add few addresses that should receive emails from any .info domains. So, when email from any .info domain is sent to user1@mydomain.com it should be received a dn delivered to users. When email from any .info domain is sent to user2@mydomain.com it should be blocked on IronPort.

I did create a new policy that has user1@mydomain.com as a recipient and it placed before policy that blocks .info emails. Should this be enough or some more steps have to be configured for this to take place?

Thanks

2 Replies 2

Doug Maxfield
Level 1
Level 1

The easiest way would be to create a CLI filter for this.  We have similar requirements for specific domains.  The only way to get it to work was using a filter rule.  Here's an example:

no_google_mail:

if (recv-listener =='IncomingMail') and (mail-from == ".google.com") and (not rcpt-to == "user1@domain.com|user2@domain.com|user3@domain.com")

{

    drop();

}

.

@endpoint: Your approach should work as expected, as you involve message splintering, so even if a message comes with multiple recipients, only the ones not allowed to receive mail from .info will be blocked. As you supposed correctly, the policies are applied in order from top to bottom of the list. Also maintaining the list is easier with policies accessible from the GUI, while message filters require to have the whole filter changed when a recipient is added/removed (unless you use a dictionary, though)

@Doug, while your solution is also possible, however  one problem with your message filter is that it will not work when a message is send to multiple adresses, and one of them is one of the allowed recipients. In this case, the message will pass to all recipients.

Hope that helps,

Andreas