summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-10-27 06:19:21 (GMT)
committerMontel Laurent <montel@kde.org>2016-10-27 06:19:21 (GMT)
commit9655108a4524c394d73765dba12267f0afe88570 (patch)
tree4a1002b4a68a7b2fea019a75ded6dc337bb6b378
parent65df1f9bd3634609956c65e58a7e129c14fd8053 (diff)
Add failed script
-rw-r--r--src/ksieveui/scriptsparsing/tests/failed/script1.siv7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ksieveui/scriptsparsing/tests/failed/script1.siv b/src/ksieveui/scriptsparsing/tests/failed/script1.siv
new file mode 100644
index 0000000..fb7f021
--- /dev/null
+++ b/src/ksieveui/scriptsparsing/tests/failed/script1.siv
@@ -0,0 +1,7 @@
+## Flag: |UniqueId:2|Rulename: Mail delivery failed <bae.vo.pb+ma@gmail.com>
+if allof ( header :contains "From" "mailer-daemon@foo.de" , header :matches "Subject" "Mail delivery failed: returning message to sender" , size :under 10000 , body :contains :text "<blo@dd.com>" )
+{
+ fileinto "folder" ;
+ addflag "\\seen" ;
+ stop ;
+}