11-26-2013 11:46 AM
Currently we have a content filter that checks message content against a regex dictionary. The filter is triggered by a Policy with a defined list of Sender domains. The user community is now asking for the same filter to be applied to specific sending IP addresses. The Incoming Policy does not appear to allow me to enter IP's. Is there an easy/efficient way to do this?
11-28-2013 10:13 AM
Have you tried with message filter.
From Advanced Guide just for demo that there is option remote-ip then you can check wanted IPs.
notMineFilter:
if (remote-ip != '10.1.1.50-55')
{
bounce();
}
I need to check (I cannot to this at this time beacuse my test IP is at customer) can you do remote-ip matched against dictionary so you can populate dictionary with IP addresses.
12-02-2013 02:39 AM
Hello Greg,
mail policies match on email addresses only, not on IP addresses, this is per design, so like Juraj stated you would need a filter condition to do the tasks. Another solution is also to create a sendergroud in the HAT that includes all the IPs you want to match on, and then use the 'sendergroup' condition in message filters to match on this group. Here is an example from the Advanced User Guide:
The advantage of this solution is that you can edit the list of IPs on the GUI, without changing the filter itself, so that would be more maintenance friendly.
Hope that helps,
Andreas
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide