aboutsummaryrefslogtreecommitdiff
path: root/files/usr/local/etc/dovecot/report-spam.sieve.imap_server
blob: d34c71beec823fb6114646e67fcbe24711b41643 (plain) (blame)
1
2
3
4
5
6
7
require ["vnd.dovecot.pipe", "copy", "imapsieve", "environment", "variables"];

if environment :matches "imap.email" "*" {
  set "email" "${1}";
}

pipe :copy "report-spam.sh" [ "${email}" ];