06-16-2011 09:44 AM
I am trying to create a condition in a Content Filter that adds Disclaimer Text as its action. I want the Content Filter to not add the disclaimer text if the subject line starts with re or fw with the condition being case-insensitive. I have been messing with Subject Header settings in the condition by specifying that the Subject Header Does Not Begin With Re and then modifying the subject line on my test email to be "Re" but no joy - multiple disclaimers stack up on the bottom of my sent email message. Anyone know how to do this?
Thank you
Solved! Go to Solution.
06-16-2011 09:56 AM
Greetings,
I think this should be possible however it is going to depend on how your adding the disclaimer to our messages. If your adding the disclaimer at the listener level then the filter action may not be a good choice in that it will not work correctly. You can check to see if your adding the disclaimer in the listener by going to to the network tab then select listeners. From there click on the name of the outbound listener. You should see options for disclaimer above and disclaimer below. If this is set up it could be the cause of your problem.
If your adding the disclaimer in a filter then you should be able to do this by modifying the existing disclaimer filter. For simplicity you may even want to create 2 different filters. First a filter that says in the condition if subject header includes or starts with re for fw, then the action deliver final action. Below the filter a second filter that simply has the disclaimer being added as an action with no condition.
Christopher C Smith
CSE
Cisco IronPort Customer Support
06-21-2011 08:03 AM
Greetings Claire,
To ignore case in regular expression, you can use (?i) preceding re|fw to ignore case. Hope this helps.
Jyothi Gandla
Customer Support Engineer
06-16-2011 09:56 AM
Greetings,
I think this should be possible however it is going to depend on how your adding the disclaimer to our messages. If your adding the disclaimer at the listener level then the filter action may not be a good choice in that it will not work correctly. You can check to see if your adding the disclaimer in the listener by going to to the network tab then select listeners. From there click on the name of the outbound listener. You should see options for disclaimer above and disclaimer below. If this is set up it could be the cause of your problem.
If your adding the disclaimer in a filter then you should be able to do this by modifying the existing disclaimer filter. For simplicity you may even want to create 2 different filters. First a filter that says in the condition if subject header includes or starts with re for fw, then the action deliver final action. Below the filter a second filter that simply has the disclaimer being added as an action with no condition.
Christopher C Smith
CSE
Cisco IronPort Customer Support
06-16-2011 11:06 AM
Thank you!!! I am not using a listener so I followed your advice in the 2nd paragraph and rather than trying to combine the condition with the action I created a 2nd condition that looks for re or fw and if found ignores any subsequent filters. Not certain why I can’t combine this condition with the disclaimer action – seems a rather roundabout way to do it but it’s working.
Do you know how to state the regular expression for re and fw that ignores case? Currently my regular expression is re|Re|RE|FW|Fw|fw
Thanks for your help!
Claire
06-21-2011 08:03 AM
Greetings Claire,
To ignore case in regular expression, you can use (?i) preceding re|fw to ignore case. Hope this helps.
Jyothi Gandla
Customer Support Engineer
06-21-2011 08:05 AM
Excellent!! Thanks for your response Jyothi!
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