I'm administrating and testing a zimbra opensource
I'm converting some sieve script elements from cyrus to zimbra.
When I try "header named" "received" contains "128",
say, if it fails on the first occurrence of a "received" header
if that instance (working down from the top of the
message headers) doesn't contain "128". I want it
to match if ANY "received" header contains a "128".
If a following "recieved" line does contain a "128" it still
Cyrus's sieve does this differently, matching if ANY
line with that header does match the string.
In actuality, I'm trying to match against "Delivered-To"
headers, as that is helpful for matching against messages
that traversed qmail installations. I'm just using "Received"
as an example of how I want to use it.
I think in fact, this might be due to a difference in the
way jsieve has implemented the rfc, but I'm willing to
find out there's something else at play here. Or perhaps
there's a work-around trick. I'd very much like to check
multiple "Delivered-To:" instances for the string that
would assist in a filter action.
if anyof (header :contains "Received" "128" )
doesn't find 128 if a non-first Received line does contain 128.