Source

iredmail / iRedMail / samples / dovecot.sieve

Full commit
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;
}