nixos-config/config/fudo/mail/dovecot/imap_sieve/report-spam.sieve
2020-01-15 11:24:11 -06:00

7 lines
198 B
Sieve

require ["vnd.dovecot.pipe", "copy", "imapsieve", "environment", "variables"];
if environment :matches "imap.user" "*" {
set "username" "${1}";
}
pipe :copy "sa-learn-spam.sh" [ "${username}" ];