Hello,
I want to do not any checks(email security) for multiple IPs.
=== ESA diagram====
Internet -- MTA(Other Email Security Gateway) --- MTA(Cisco ESA C690X) – Mail Server
I entered [Message filter] for do not any security check 2.2.2.0/24 and 1.1.1.1
Whitlist_1: if remote-ip == "2.2.2.0/24" {
skip-spamcheck();
skip-viruscheck();
skip-ampcheck();
skip-vofcheck();
}
Whitlist_2: if remote-ip == "1.1.1.1" {
skip-spamcheck();
skip-viruscheck();
skip-ampcheck();
skip-vofcheck();
}
I have a question.
If i want to do not any check for 300 IPs or subnets. (1.1.1.1 2.2.2.2 3.3.3.0/23 ....... 5.5.5.5 7.7.7.7 ...... 200.1.1.0/24 ......)
Do I need to type the following grammar 300 times?
Or Is there a way to shorten it?
Please advice.
Thank you.