I have a question on the sieve filter rules. First, a little background on what I am doing:
I am building a client to talk to zimbra's SOAP/XML to get/set rules on an account.
Saving rules for the first time works just fine, and gets saved like:
if anyof (header :contains "From" "user1@localhost" )
And when I do a Get Rules now, this is what I get back:
if anyof (header :contains ["From"] ["user1@localhost"] )
This causes a problem because I cannot append to the existing rule. if I do I get a INVALID_REQUEST as doublequote is not allowed for value k0/k1. And the square bracket also was not intended to be part of the rule.
I have a temporary work around for now to strip these characters when I do a Get Rules. But is this a bug or am I missing something?