]> Git — Sourcephile - sourcephile-nix.git/blob - machines/mermet/dovecot/sieve/global/report-spam.sieve
nix: servers.nix -> machines.nix
[sourcephile-nix.git] / machines / 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}" ];