mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-21 03:02:09 +00:00
Allow sieve rules to be executed on spam messages
This commit is contained in:
parent
178527dab1
commit
f8e848aeb3
@ -2,6 +2,5 @@ require ["regex", "fileinto", "imap4flags"];
|
|||||||
|
|
||||||
if allof (header :regex "X-Spam-Status" "^Yes") {
|
if allof (header :regex "X-Spam-Status" "^Yes") {
|
||||||
fileinto "Spam";
|
fileinto "Spam";
|
||||||
stop;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user