i am facing issue while creating spam filters on user account through zmprov, the filter gets created if i see it through "zmprov ga
user@domain.com"
i am using the command :
zmprov ma
user@domain.com zimbraMailSieveScript 'require ["fileinto", "reject", "tag", "flag"]; # 1 if anyof (header :is "subject" "test" ) { fileinto "/mail_r"; stop; }'
i have also tried to create the filter with the newline characters in the command but still the problem persists.
zmprov ma
user@domain.com zimbraMailSieveScript 'require ["fileinto", "reject", "tag", "flag"]; \n # 1 if anyof (header :is "subject" "test" )\n { fileinto "/mail_r"; stop; }\n'