1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-01-18 04:59:16 +02:00

12 lines
226 B
Sieve

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";