This can be useful when certain emails sent to internal domains should be excluded from detection.
You can use global SMTP filter by doing the following:
*@mydomain.com to ignore all messages sent to mydomain.com.
- Login as Administrator
- Go to Administration > System Overview > click on the detection server
- Click on the packet capture section
- Click on the SMTP protocol
- In the L7 filter section "L7 recipient filter" you can enter
NOTE: L7 filters only affect network monitor servers.
Please also note: For SMTP the following applies.
L7 Sender Filter: Any sender email (for SMTP/MSN IM) or IP addresses (for UTCP), proxy-authenticated user names (for proxied HTTP/FTP), or user names (for AIM/Yahoo IM) to be evaluated
You can use filters to include (inspect) or exclude (ignore) messages from specific senders and/or to specific recipients. The specific filter syntax depends on the protocol. For example, for email addresses, you can use wildcards anywhere in the filter string:
You can add the following symbols to modify sender or recipient filters:
Plus sign (+)
Any email address mask preceded by a plus sign (+) keeps matching messages for inspection. For example, if you add the sender filter +*@abc.com, all messages sent from anyone in the abc.com domain are inspected.
Minus sign (-)
Any email address mask preceded by a minus sign (-) excludes matching messages from inspection. For example, if you add the recipient filter -*@xyz.com, all messages sent to anyone in the xyz.com domain are not inspected.
If you add an asterisk (*) to the end of the filter expression, any message not explicitly matching any of the filter masks is ignored. For example, if you add the sender filter +*@abc.com,*, all messages from anyone in the abc.com domain are inspected, but all other messages are ignored.
The order in which filters are evaluated is from left to right. For example, if you add the recipient filter
In case of conflicting sender and recipient filters (for example, if the sender filter for a particular message evaluates as "inspect" and the recipient filter evaluates as "ignore"), the message resulting in such a case is ignored.
If you add multiple exclusion masks to a recipient filter, all message recipients must match any of the exclusion masks for the message to be excluded. For example, if the recipient filter is -*@xyz.com, -*@abc.com, all messages sent to xyz.com and abc.com domains are ignored; however, messages sent to either xyz.com or abc.com (but not both) are inspected. If messages have any additional recipients in other domains, the messages are inspected.
You can monitor messages sent from the xyz.com domain but ignore message sent to that domain by adding the following filters:
Sender Filter: +*@xyz.com, *
Recipient Filter: -*@xyz.comPlease note: The recipient filter only filters out messages where *all* the recipients (including cc and bcc) match a filter condition.