Clean the dovecot configuration dir

This commit is contained in:
kaiyou
2018-09-27 16:01:21 +02:00
parent f9c6c98180
commit dc4b0d21ea
4 changed files with 6 additions and 3 deletions

View File

@@ -0,0 +1,11 @@
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";