I need to create multiple policies for adding disclaimers.
We have a default disclaimer and now two unique ones for domains that need to maintain their own.
I created text recourses for all disclaimers and like to make a content filter that does the following:
if the senderdomain = UniqueDomain1 then
Else if the senderdomain = UniqueDomain2 then
Add default Disclaimer
I created the following filter syntax:
add_disclaimer: if (recv-listener == "relay") AND (mail-from == "[email protected]\\.com$")
elif (recv-listener == "relay") AND (mail-from == "[email protected]\\.com$")
elif (recv-listener == "relay")
When I submit the filter I get the error "An error occurred during processing: Syntax error at the end of filter".
Does anyone know if Ironport filters support the Python "elif" routine? if so, what am I doing wrong, if not..... does anyone have any suggestions what way I can deliver this functionality?