]> Git — Sourcephile - sourcephile-nix.git/blob - hosts/mermet/dovecot/sieve/global/report-spam.sieve
nix: rename { machines => hosts }
[sourcephile-nix.git] / hosts / mermet / dovecot / sieve / global / report-spam.sieve
1 require [ "copy", "imapsieve", "environment", "variables", "vnd.dovecot.pipe" ];
2
3 if environment :matches "imap.user" "*" { set "username" "${1}"; }
4
5 pipe :copy :try "learn-spam.sh" [ "${username}" ];