Skip to content
Snippets Groups Projects
Commit 45e617d9 authored by Stephan Bosch's avatar Stephan Bosch
Browse files

Forgot to add niet testsuite files.

parent dc61b367
No related branches found
No related tags found
No related merge requests found
require "vnd.dovecot.testsuite";
/*
* Execution testing (currently just meant to trigger any segfaults)
*/
test "Flags Side Effect" {
if not test_compile "execute/flags-side-effect.sieve" {
test_fail "script compile failed";
}
if not test_execute {
test_fail "script execute failed";
}
}
require "imap4flags";
require "fileinto";
/*
* When keep/fileinto is used multiple times in a script and duplicate
* message elimination is performed, the last flag list value MUST win.
*/
setflag "IMPLICIT";
fileinto :flags "\\Seen \\Draft" "INBOX.Junk";
fileinto :flags "NONSENSE" "INBOX.Junk";
keep;
keep :flags "\\Seen";
fileinto :flags "\\Seen" "Inbox.Nonsense";
fileinto "Inbox.Nonsense";
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.