cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
643
Views
0
Helpful
3
Replies

Restricting receiving domain to accept email from one sender domain only

Hi,

I need to configure one of our receiving domains to accept email from only one sender domain, is that possible?

Best regards

Fredrik

3 Replies 3

Libin Varghese
Cisco Employee
Cisco Employee

Hi Fredrik,

You should be able to accomplish that using message filters or incoming mail policies which match both the envelope sender and envelope recipient.

Sample message filter

Test:
if (mail-from != "@allowedsenderdomain.com") AND (rcpt-to == "@receivingdomain.com")
{
log-entry("Sender domain not allowed as per message filter");
quarantine("Policy");
}
.

The filter condition checks the one sender who is allowed and one recipient domain to which it is allowed and sends them to quarantine if both conditions do not match.

You can also add an incoming mail policy such as shown in screenshot attached. A content filter can then be added to this mail policy alone to quarantine all emails that match this incoming mail policy.

Only sending domains not allowed would match the filter and policy sending emails to quarantine while the allowed domain would continue processing further as normal.

I would recommend testing these without the quarantine or drop action at first to see which works best for you and test out different scenarios such as emails with multiple recipient domains, etc.

Thanks
Libin Varghese

Hi Libin,
Thank's for your help.

Best Regards
Fredrik

Not a problem. Glad to help.

- Libin V