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