mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 21:50:46 +00:00
12 lines
264 B
Sieve
12 lines
264 B
Sieve
|
require ["vnd.dovecot.pipe", "copy", "imapsieve", "environment", "variables"];
|
||
|
|
||
|
if environment :matches "imap.mailbox" "*" {
|
||
|
set "mailbox" "${1}";
|
||
|
}
|
||
|
|
||
|
if string :matches "${mailbox}" ["*/Trash", "Trash"] {
|
||
|
stop;
|
||
|
}
|
||
|
|
||
|
pipe :copy "learn-rspamd.script" ["ham"];
|