aboutsummaryrefslogtreecommitdiff
path: root/modules/private/mail/sieve_scripts/report_ham.sieve
blob: f9b848152de3c7933fcfde84ba6262462657d42e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
require ["vnd.dovecot.pipe", "copy", "imapsieve", "environment", "variables"];

if environment :matches "imap.mailbox" "*" {
    set "mailbox" "${1}";
}

if string "${mailbox}" "Trash" {
    stop;
}

pipe :copy "imapsieve_copy" [ "ham" ];