FreeBSD/jails/config/mail/dovecot/sieve/report-spam.sieve

8 lines
191 B
Sieve
Raw Normal View History

2020-02-25 11:28:31 -08:00
require ["vnd.dovecot.pipe", "copy", "imapsieve", "environment", "variables"];
if environment :matches "imap.email" "*" {
set "email" "${1}";
}
pipe :copy "train-spam.sh" [ "${email}" ];