05-01-2013 06:54 PM
I have a list of about 15 IP addresses that I need to "change the recipient to" for any e-mails that come through. If I setup a content filter with 15 conditions, one for each Remote IP/Hostname, and then one action, change recipient to the address I want the e-mails to go to. The appliance accepts the filter and I have added it to a couple policies.
However, if I send e-mail from any of those IP addresses the filter isn't hitting.
I used the TRACE functionality and it skipped the content filter and said it was invalid.
The IP addresses are not in a range and I'm not finding a way to list multiple IP addresses.. I was thinking something like (10.1.1.1|10.2.2.2) would work, it doesn't accept it.
I'm at the point where I'm going to create 15 content filters, anyone have any better ideas?
Appreciate any thoughts...
05-01-2013 07:02 PM
Hi,
You can create a dictionary and define all the IP address in that dictionary.
Gui -> Mail Policies -> Dictionary
This will also help to add/remove IP address later on without modifying the filter.
The next step will to used dictionary in filter and apply to proper incoming or outgoing policy.
Hope that helps
Thanks
Nasir
05-01-2013 07:24 PM
OK, have the dictionary setup... called redirect and am building the filter.. and have..
MyRedirect: if (remote-ip-dictionary-match("redirect",1) {
alt-rcpt-to (new.recipient@mydomain.com);
}
.
An error occurred during processing: filter:1:43:unknown fdl operator "remote-ip-dictionary-match"
Appreciate your help..
05-01-2013 07:40 PM
Hi,
Sorry for my the mistake. I have misunderstood the issue. can you please provide me samples headers? so i can workout some workable solution for you.
Thanks
05-01-2013 07:55 PM
I Private Messaged you some of the headers... I was hoping to be able to use the Received: header...
05-01-2013 08:17 PM
Hi Jason,
I have sent you privat message with filter. I am able to test and it is working.
Thanks
Nasir
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