Source

iredmail / iRedMail / samples / dovecot.sieve

Zhang Huangbin 845674b 
Zhang Huangbin 0ef2bbd 
Zhang Huangbin 7c26194 
Zhang Huangbin 845674b 
Zhang Huangbin 81c6a52 



Zhang Huangbin 7c26194 
1
2
3
4
5
6
7
8
9
require ["fileinto"];

# rule:[Move Spam to Junk Folder]
if header :is "X-Spam-Flag" "YES"
{
    fileinto "Junk";
    stop;
}