cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1108
Views
5
Helpful
1
Replies

How to add a Subdomain rule in Message filter and Content filter ?

Vinay babu
Level 1
Level 1

How to add a Subdomain rule in Message filter and Content filter ?

Subdomain will be .*uc4.example.com and needs to be case-insensitive. Thanks in advance.

 

It needs to match it the sending domain is anyone of the below domains:

1.uc4.example.com

second.uc4.example.com

THIRD.uc4.example.com

etc.,

1 Reply 1

beanand
Cisco Employee
Cisco Employee

Hi Vinay,

 

The Content Filter Syntax can be specified as: (?i).*uc4\.example\.com

For a Message Filter regex you must use two backslashes so that after parsing, only one real backslash remains, thus the Syntax would be: (?i).*uc4\\.example\\.com

 

(?i) is used for Case-Insensitivity which can be placed at the Beginning of a case-sensitive regular-expression.

 

You can create a Dictionary as an alternative method in order to add the terms as mentioned in the query which could be used in any Content Filter / Message Filter.

image.png

Try to perform a Trace under System Administration and validate if it works as per your requirement.

Thanks,

Anand