mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-29 03:27:05 +00:00
9 lines
148 B
Plaintext
9 lines
148 B
Plaintext
require ["regex", "fileinto", "imap4flags"];
|
|
|
|
if allof (header :regex "X-Spam-Status" "^Yes") {
|
|
setflag "\\\\Seen";
|
|
fileinto "Spam";
|
|
stop;
|
|
}
|
|
|