Issue
How do I create a filter condition that triggers based on the IP address in a message header (i.e., Received From)?
Solution
The filter is created using CLI (command-line interface) and the filter add command. The condition for the filter must be received contains "Sender IP Address".
So, the filter would be:
CLI> filter add "(domain=primary\any\local\non-local)" "filtername" action allof stop
The condition would be : received contains "Sender's IP Address"
Example:
example.mirapoint.com> filter add "(domain=primary)" "Test_filter" Discard "(notify=)" allof stop
Enter filter rules, finish with '.' on a line by itself:
received contains "10.11.60.21"
.
OK Completed
Comments
0 comments
Please sign in to leave a comment.