Clean the dovecot configuration dir
This commit is contained in:
11
core/dovecot/conf/report-ham.sieve
Normal file
11
core/dovecot/conf/report-ham.sieve
Normal 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";
|
||||
Reference in New Issue
Block a user