mmv

mailserver bootstrap script
git clone git://git.yotsev.xyz/mmv.git
Log | Files | Refs | README | LICENSE

report-ham.sieve (265B)


      1 require ["vnd.dovecot.pipe", "copy", "imapsieve", "environment", "variables"];
      2 
      3 if environment :matches "imap.mailbox" "*" {
      4   set "mailbox" "${1}";
      5 }
      6 
      7 if string "${mailbox}" "Trash" {
      8   stop;
      9 }
     10 
     11 if environment :matches "imap.user" "*" {
     12   set "username" "${1}";
     13 }