cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1114
Views
0
Helpful
1
Replies

Message filter

network992014
Level 1
Level 1

Hello,

I have a problem when I am trying to create a message filter on ESA and the string contains /.

I tried to use \ before /, but doesn't work.

 

If not body-contains('^class: message / attachment')

{

drop();

}

.

Thank you.

1 Reply 1

gkumarj
Cisco Employee
Cisco Employee

HI,

I tried to create the filter shared on my lab and was able to addd it successfully. Try with the filter created below:

Choose the operation you want to perform:
- NEW - Create a new filter.
- IMPORT - Import a filter script from a file.
[]> new

Enter filter script. Enter '.' on its own line to end.
test:
If not body-contains('^class: message / attachment')
{
drop();
}
.
1 filters added.

 

Rgds,

Gagan