summaryrefslogtreecommitdiffstats
path: root/pigeonhole/tests/extensions/reject/execute/basic.sieve
diff options
context:
space:
mode:
Diffstat (limited to 'pigeonhole/tests/extensions/reject/execute/basic.sieve')
-rw-r--r--pigeonhole/tests/extensions/reject/execute/basic.sieve8
1 files changed, 8 insertions, 0 deletions
diff --git a/pigeonhole/tests/extensions/reject/execute/basic.sieve b/pigeonhole/tests/extensions/reject/execute/basic.sieve
new file mode 100644
index 0000000..d3b7dc9
--- /dev/null
+++ b/pigeonhole/tests/extensions/reject/execute/basic.sieve
@@ -0,0 +1,8 @@
+require "reject";
+
+if address :contains "to" "frop.example" {
+ reject "Don't send unrequested messages.";
+ stop;
+}
+
+keep;