I am facing a problem in zimbra filters. I have an account in zimbra that receives email for multiple email addresses. Now I need to create a filter to match an email address (say firstname.lastname@example.org) when it occurs in To/CC.
Normally one would create a filter like this:
The problem comes up when you have another recipient whose email address is some thing like: email@example.com. If you get an email from such address, it would be matched for the above filter. "matches exactly" cannot be used instead of "contains" in the filter because then the filter will not catch the case where the said email address is mentioned with other email addresses in the To or CC field.
# Test Filter
if anyof (
header :contains "to" "firstname.lastname@example.org",
header :contains "cc" "email@example.com"
some action here;
I've looked around the forum and didn't find any one else facing this/similar problem. Any help/hints would be highly appreciated.