Add proxy_protocol_timeout main config option.
[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 # default timeout is 3s, speed up the timeout test here
9 proxy_protocol_timeout = 1s
10 queue_only
11
12 # ----- Main settings -----
13
14 log_selector = +proxy +incoming_port
15
16 acl_smtp_rcpt = r_acl
17
18
19 begin acl
20
21 r_acl:
22   accept
23         logwrite = proxy session: $proxy_session
24         logwrite = local          [$received_ip_address]:$received_port
25         logwrite = proxy internal [$proxy_local_address]:$proxy_local_port
26         logwrite = proxy external [$proxy_external_address]:$proxy_external_port
27         logwrite = remote         [$sender_host_address]:$sender_host_port
28
29
30 # ----- Routers -----
31
32 begin routers
33
34 dump:
35   driver = redirect
36   data = :blackhole:
37
38 # End