Additional features for Dovecot on SME Server, like IMAP shares, spam learning
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
require ["vnd.dovecot.pipe", "copy", "imapsieve", "environment", "variables"];
|
|
if environment :matches "imap.mailbox" "*" {
|
|
set "mailbox" "${1}";
|
|
}
|
|
if anyof (string "${mailbox}" "Trash",
|
|
string "${mailbox}" "junkmail",
|
|
string "${mailbox}" "Junk") {
|
|
stop;
|
|
}
|
|
pipe :copy "learn-ham.sh";
|
|
|