mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-12-22 07:17: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;
|
|
}
|
|
|