]> Git — Sourcephile - sourcephile-nix.git/blob - hosts/mermet/dovecot/sieve/global/report-spam.sieve
losurdo: enable nix-serve only over wg-intra
[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}" ];