mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-25 02:47:04 +00:00
8 lines
126 B
Plaintext
8 lines
126 B
Plaintext
|
require ["regex", "fileinto", "imap4flags"];
|
||
|
|
||
|
if allof (header :regex "X-Spam-Status" "^Yes") {
|
||
|
fileinto "Spam";
|
||
|
stop;
|
||
|
}
|
||
|
|