mirror of
https://github.com/Mailu/Mailu.git
synced 2025-03-03 14:52:36 +02:00
Merge pull request #510 from hoellen/spam-trash-fix
Dont flag spam as ham if moved to trash
This commit is contained in:
commit
5dc9ee9516
@ -1,3 +1,11 @@
|
|||||||
require "vnd.dovecot.execute";
|
require ["vnd.dovecot.execute", "copy", "imapsieve", "environment", "variables"];
|
||||||
|
|
||||||
|
if environment :matches "imap.mailbox" "*" {
|
||||||
|
set "mailbox" "${1}";
|
||||||
|
}
|
||||||
|
|
||||||
|
if string "${mailbox}" "Trash" {
|
||||||
|
stop;
|
||||||
|
}
|
||||||
|
|
||||||
execute :pipe "mailtrain" "ham";
|
execute :pipe "mailtrain" "ham";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user