report-ham.sieve 226 B

123456789101112
  1. require ["vnd.dovecot.pipe", "copy", "imapsieve", "environment", "variables"];
  2. if environment :matches "imap.mailbox" "*" {
  3. set "mailbox" "${1}";
  4. }
  5. if string "${mailbox}" "Trash" {
  6. stop;
  7. }
  8. pipe :copy "rspamd-pipe-ham";