Dont flag spam as ham if moved to trash (fix #474)

master
hoellen 7 years ago
parent 75a1bf967c
commit ca26264d01

@ -1,3 +1,11 @@
require "vnd.dovecot.execute";
require ["vnd.dovecot.execute", "copy", "imapsieve", "environment", "variables"];
if environment :matches "imap.mailbox" "*" {
set "mailbox" "${1}";
}
if string "${mailbox}" "Trash" {
stop;
}
execute :pipe "mailtrain" "ham";

Loading…
Cancel
Save