Rebase Dovecot on Stretch slim, build from stable source with latest stable Pigeonhole for antispam replacement
This commit is contained in:
11
data/Dockerfiles/dovecot/report-ham.sieve
Normal file
11
data/Dockerfiles/dovecot/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 string "${mailbox}" "Trash" {
|
||||
stop;
|
||||
}
|
||||
|
||||
pipe :copy "rspamd-pipe-ham";
|
Reference in New Issue
Block a user