7 lines
198 B
Sieve
Raw Normal View History

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