34ea2820b4c832c61c383ea74671e47210b535aa
[hcoop/zz_old/config/exim4-hopper.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
14 real_local:
15 debug_print = "R: real_local for $local_part@$domain"
16 driver = accept
17 domains = +local_domains
18 condition = COND_LOCAL_SUBMITTER
19 local_part_prefix = real-
20 check_local_user
21 transport = LOCAL_DELIVERY
22