* 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:
11
root/usr/libexec/dovecot/sieve/report-ham.sieve
Normal file
11
root/usr/libexec/dovecot/sieve/report-ham.sieve
Normal 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";
|
2
root/usr/libexec/dovecot/sieve/report-spam.sieve
Normal file
2
root/usr/libexec/dovecot/sieve/report-spam.sieve
Normal file
@@ -0,0 +1,2 @@
|
||||
require ["vnd.dovecot.pipe", "copy"];
|
||||
pipe :copy "learn-spam.sh";
|
Reference in New Issue
Block a user