Merge branch 'hs/fix-proxy-bh' (Closes 2656)
[users/heiko/exim.git] / test / confs / 4030
1 # Exim test configuration 4030
2 # Proxy Protocol
3
4 .include DIR/aux-var/std_conf_prefix
5
6 primary_hostname = myhost.test.ex
7 hosts_proxy = HOSTIPV4
8 queue_only
9
10 # ----- Main settings -----
11
12 log_selector = +proxy +incoming_port
13
14 acl_smtp_rcpt = r_acl
15
16
17 begin acl
18
19 r_acl:
20   accept
21         logwrite = proxy session: $proxy_session
22         logwrite = local          [$received_ip_address]:$received_port
23         logwrite = proxy internal [$proxy_local_address]:$proxy_local_port
24         logwrite = proxy external [$proxy_external_address]:$proxy_external_port
25         logwrite = remote         [$sender_host_address]:$sender_host_port
26
27
28 # ----- Routers -----
29
30 begin routers
31
32 dump:
33   driver = redirect
34   data = :blackhole:
35
36 # End