ffa2b8e9968a320c420ca90753efe5239ceddaf8
[hcoop/zz_old/config/exim4-hopper.git] / conf.d / router / 900_exim4-config_local_user
1
2 ### router/900_exim4-config_local_user
3 #################################
4
5 # This router matches local user mailboxes. If the router fails, the error
6 # message is "Unknown user".
7
8 # hcoop-change: acquire AFS token for the user
9
10 local_user:
11 debug_print = "R: local_user for $local_part@$domain"
12 driver = accept
13 domains = +local_domains
14 check_local_user
15 local_parts = ! root
16 condition = ${run{/usr/bin/pagsh.openafs -c /etc/exim4/get-token ${local_part}}{1}{0}}
17 transport = LOCAL_DELIVERY
18 cannot_route_message = Unknown user