aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ansible/roles/opendmarc-inbox/templates/dmarc.sieve.j27
1 files changed, 7 insertions, 0 deletions
diff --git a/ansible/roles/opendmarc-inbox/templates/dmarc.sieve.j2 b/ansible/roles/opendmarc-inbox/templates/dmarc.sieve.j2
new file mode 100644
index 0000000..eb7ac87
--- /dev/null
+++ b/ansible/roles/opendmarc-inbox/templates/dmarc.sieve.j2
@@ -0,0 +1,7 @@
+# Managed by Ansible
+
+require ["fileinto", "envelope", "subaddress", "mailbox"];
+
+if envelope :detail "to" "reports" {
+ fileinto :create "Reports.New";
+}