check local submitter
[hcoop/config/exim.git] / conf.d / router / 300_exim4-config_real_local
CommitLineData
725c9874 1
d2b0a567 2### router/300_exim4-config_real_local
725c9874 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
d21ec910
CE
9COND_LOCAL_SUBMITTER = "\
10 ${if match_ip{$sender_host_address}{:@[]}\
11 {1}{0}\
12 }"
11dd947c 13# hcoop-change: Use unix_domains rather than local_domains.
14
725c9874 15real_local:
16 debug_print = "R: real_local for $local_part@$domain"
17 driver = accept
ae46c064 18 condition = COND_LOCAL_SUBMITTER
11dd947c 19 domains = +unix_domains
725c9874 20 local_part_prefix = real-
21 check_local_user
22 transport = LOCAL_DELIVERY
23