summaryrefslogtreecommitdiffstats
path: root/debian/debconf/conf.d/router/700_exim4-config_procmail
diff options
context:
space:
mode:
Diffstat (limited to 'debian/debconf/conf.d/router/700_exim4-config_procmail')
-rw-r--r--debian/debconf/conf.d/router/700_exim4-config_procmail15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/debconf/conf.d/router/700_exim4-config_procmail b/debian/debconf/conf.d/router/700_exim4-config_procmail
new file mode 100644
index 0000000..55d4eb6
--- /dev/null
+++ b/debian/debconf/conf.d/router/700_exim4-config_procmail
@@ -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_data}:\
+ ${if exists{/etc/procmailrc}\
+ {/etc/procmailrc}{${home}/.procmailrc}}:\
+ +/usr/bin/procmail
+ no_verify
+ no_expn
+