Integrate sensible changes from upstream Debian 4.84
[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 # hcoop-change: disable local submitter test, this rejects from trusted relay hosts
19 # condition = COND_LOCAL_SUBMITTER
20 domains = +unix_domains
21 local_part_prefix = real-
22 check_local_user
23 transport = LOCAL_DELIVERY
24