Dovecot relevante Files hinzugefügt

This commit is contained in:
Patrick Niebeling
2022-08-11 10:14:16 +02:00
parent cd3a5891e6
commit bde33a1c14
4 changed files with 45 additions and 0 deletions

11
dovecot/report-ham.sieve Normal file
View File

@ -0,0 +1,11 @@
require ["vnd.dovecot.pipe", "copy", "imapsieve", "environment", "variables"];
if environment :matches "imap.mailbox" "*" {
set "mailbox" "${1}";
}
if string "${mailbox}" [ "Trash", "train_ham", "train_prob", "train_spam" ] {
stop;
}
pipe :copy "sa-learn-ham.sh";