]> Git — Sourcephile - sourcephile-nix.git/blob - servers/mermet/dovecot/sieve/global/report-ham.sieve
dovecot: update fts_xapian
[sourcephile-nix.git] / servers / mermet / dovecot / sieve / global / report-ham.sieve
1 require [ "copy", "environment", "imapsieve", "variables", "vnd.dovecot.pipe" ];
2
3 if environment :matches "imap.mailbox" "*" { set "mailbox" "${1}"; }
4 if string "${mailbox}" "Trash" { stop; }
5 if string "${mailbox}" "Corbeille" { stop; }
6
7 if environment :matches "imap.user" "*" { set "username" "${1}"; }
8
9 pipe :copy :try "learn-ham.sh" [ "${username}" ];