mwolson: First attempt at delivering to AFS
[hcoop/zz_old/config/exim4-hopper.git] / conf.d / router / 700_exim4-config_procmail
1 # hcoop-change: acquire AFS token for the user
2
3 procmail:
4 debug_print = "R: procmail for $local_part@$domain"
5 driver = accept
6 domains = +local_domains
7 check_local_user
8 transport = procmail_pipe
9 # emulate OR with "if exists"-expansion
10 require_files = ${local_part}:\
11 ${if exists{/etc/procmailrc}\
12 {/etc/procmailrc}{${home}/.procmailrc}}:\
13 +/usr/bin/procmail
14 condition = ${run{/usr/bin/pagsh.openafs -c /etc/exim4/get-token ${local_part}}{1}{0}}
15 no_verify
16 no_expn
17