check local submitter
[hcoop/config/exim.git] / conf.d / router / 300_exim4-config_real_local
1
2 ### router/300_exim4-config_real_local
3 #################################
4
5 # This router allows reaching a local user while avoiding local
6 # processing. This can be used to inform a user of a broken .forward
7 # file, for example. The userforward router does this.
8
9 COND_LOCAL_SUBMITTER = "\
10 ${if match_ip{$sender_host_address}{:@[]}\
11 {1}{0}\
12 }"
13 # hcoop-change: Use unix_domains rather than local_domains.
14
15 real_local:
16 debug_print = "R: real_local for $local_part@$domain"
17 driver = accept
18 condition = COND_LOCAL_SUBMITTER
19 domains = +unix_domains
20 local_part_prefix = real-
21 check_local_user
22 transport = LOCAL_DELIVERY
23