summaryrefslogtreecommitdiffstats
path: root/pigeonhole/tests/execute/actions/fileinto.sieve
diff options
context:
space:
mode:
Diffstat (limited to 'pigeonhole/tests/execute/actions/fileinto.sieve')
-rw-r--r--pigeonhole/tests/execute/actions/fileinto.sieve17
1 files changed, 17 insertions, 0 deletions
diff --git a/pigeonhole/tests/execute/actions/fileinto.sieve b/pigeonhole/tests/execute/actions/fileinto.sieve
new file mode 100644
index 0000000..e9c133b
--- /dev/null
+++ b/pigeonhole/tests/execute/actions/fileinto.sieve
@@ -0,0 +1,17 @@
+require "fileinto";
+
+/* Three store actions */
+
+if address :contains "to" "frop.example" {
+ /* #1 */
+ fileinto "INBOX.VB";
+}
+
+/* #2 */
+fileinto "INBOX.backup";
+
+/* #3 */
+keep;
+
+/* Duplicate of keep */
+fileinto "INBOX";