sieve filter not working

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Fri Jan 23 07:17:41 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 22 Jan 2015, Michael Williamson wrote:

>
> require ["fileinto"];
> # Move spam to spam folder
> if header :contains "X-Spam-Flag" ["YES"] {
>  fileinto "Maildir/.SPAM";
>  stop;
> }
>
> It is not working. How do I diagnose the problem?

There should be an .err file in the location of the binary form of the 
Sieve script.

Also, the argument of fileinto looks wrong; maybe it was correct in v2.0, 
but current versions would require just "SPAM";

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEVAwUBVMH1lXz1H7kL/d9rAQLzLQgAsfIvOkAB4zP9WfIplriW9d/KlQa5wdOU
Fq4ZjHHD0huKedxAJeMH9HMpYFGhtZqtFFfrSIeKR3lfFNGHjjN9n4QE2z3aEmcQ
XHBAkR0DmcruAsGumRZJJK6SUeocdWCj9NrlMliz2nga+hJFHH6iTSuNwkjfz1hZ
R+/9h+Dq9jKot1jNPREo4dEM3lKi1sG5002xgxmCZ3hTz1ook/uT4WR0IMWMmcKW
LRDbaXExvYlb5nLC33q/xM81avgK2dVUgDL+NJS13beMKUJerap3cCSrYi5iLNiZ
S7mzABZZDm0V0kXC4bvILfNBM87L8Ru69lFH+gDpjO6Yjg9FYintBg==
=13MG
-----END PGP SIGNATURE-----


More information about the dovecot mailing list