LibreSSL: fixes pulled from OpenBSD patchset
[exim.git] / test / confs / 4032
1 # Exim test configuration 4032
2 # XCLIENT proxy
3
4 .ifdef OPTION
5 .include DIR/aux-var/tls_conf_prefix
6 .else
7 .include DIR/aux-var/std_conf_prefix
8 .endif
9
10 primary_hostname = myhost.test.ex
11 hosts_xclient = HOSTIPV4
12 queue_only
13
14 # ----- Main settings -----
15
16 log_selector = +proxy +incoming_port
17
18 acl_smtp_rcpt = r_acl
19
20
21 begin acl
22
23 r_acl:
24   accept
25         logwrite = tls session:   ${if def:tls_in_cipher {yes}{no}}
26         logwrite = proxy session: $proxy_session
27         logwrite = local          [$received_ip_address]:$received_port
28         logwrite = proxy internal [$proxy_local_address]:$proxy_local_port
29         logwrite = proxy external [$proxy_external_address]:$proxy_external_port
30         logwrite = remote         [$sender_host_address]:$sender_host_port
31
32
33 # ----- Routers -----
34
35 begin routers
36
37 dump:
38   driver = redirect
39   data = :blackhole:
40
41 # End