1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-20 18:27:23 +01:00

sieve-spam.txt do not stop evaluation

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.
This commit is contained in:
Chris (Homy)
2021-03-15 18:03:18 +01:00
committed by GitHub
parent 6653dbb2e2
commit 6537cf4aa8

View File

@@ -2,6 +2,5 @@ require ["regex", "fileinto", "imap4flags"];
if allof (header :regex "X-Spam-Status" "^Yes") {
fileinto "Spam";
stop;
}