sieve filter not working

Oscar del Rio delrio at mie.utoronto.ca
Fri Jan 23 14:21:39 UTC 2015


On 22/01/2015 2:11 PM, Michael Williamson wrote:
> I put a sieve filter in users home directory, "/home/user/.dovecot.sieve":
>
> require ["fileinto"];
> # Move spam to spam folder
> if header :contains "X-Spam-Flag" ["YES"] {
>    fileinto "Maildir/.SPAM";
>    stop;
> }

http://wiki2.dovecot.org/Pigeonhole/Sieve/Examples

require "fileinto";
if header :contains "X-Spam-Flag" "YES" {
   fileinto "Spam";
}




More information about the dovecot mailing list