* Wed Sep 11 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-8.sme

- merge dovecot-extra [SME: 12735]
This commit is contained in:
2024-09-11 23:54:44 -04:00
parent 4db0e85afa
commit f1f6daf9e3
23 changed files with 375 additions and 12 deletions

View File

@@ -0,0 +1,11 @@
require ["vnd.dovecot.pipe", "copy", "imapsieve", "environment", "variables"];
if environment :matches "imap.mailbox" "*" {
set "mailbox" "${1}";
}
if anyof (string "${mailbox}" "Trash",
string "${mailbox}" "junkmail",
string "${mailbox}" "Junk",
string "${mailbox}" "Éléments supprimés") {
stop;
}
pipe :copy "learn-ham.sh";

View File

@@ -0,0 +1,2 @@
require ["vnd.dovecot.pipe", "copy"];
pipe :copy "learn-spam.sh";