exim: Add initial configuration.
[matthijs/servers/drsnuggles.git] / etc / exim4 / conf.d / router / 700_exim4-config_procmail
diff --git a/etc/exim4/conf.d/router/700_exim4-config_procmail b/etc/exim4/conf.d/router/700_exim4-config_procmail
new file mode 100644 (file)
index 0000000..8d827c7
--- /dev/null
@@ -0,0 +1,15 @@
+
+procmail:
+  debug_print = "R: procmail for $local_part@$domain"
+  driver = accept
+  domains = +local_domains
+  check_local_user
+  transport = procmail_pipe
+  # emulate OR with "if exists"-expansion
+  require_files = ${local_part}:\
+                  ${if exists{/etc/procmailrc}\
+                    {/etc/procmailrc}{${home}/.procmailrc}}:\
+                  +/usr/bin/procmail
+  no_verify
+  no_expn
+