blob: 578e7b215fb5ba29a10d3b2071fd31419bec0d9e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
require ["vnd.dovecot.pipe", "copy", "imapsieve", "environment", "variables"];
if environment :matches "imap.mailbox" "*" {
set "mailbox" "${1}";
}
if string "${mailbox}" "Trash" {
stop;
}
if environment :matches "imap.email" "*" {
set "email" "${1}";
}
pipe :copy "report-ham.sh" [ "${email}" ];
|