mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-19 02:42:15 +00:00
Hi I want to be able to discard messages with "X-Spam-Status" = ^YES To do that I create a sieve in roundcube mail. But since the evaluation of Spam e-mails is stopped at a very early step of the processing the roundcube dovecot filter does not apply. To make that possible the `stop;`command is removed.
7 lines
118 B
Plaintext
7 lines
118 B
Plaintext
require ["regex", "fileinto", "imap4flags"];
|
|
|
|
if allof (header :regex "X-Spam-Status" "^Yes") {
|
|
fileinto "Spam";
|
|
}
|
|
|