mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-25 02:47:04 +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;
|
|
}
|
|
|