Merge pull request #617 from HorayNarea/patch-3
backport fix for #474 to 1.5
This commit is contained in:
@@ -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";
|
execute :pipe "mailtrain" "ham";
|
||||||
|
|||||||
Reference in New Issue
Block a user