SOCKS: support option expansion result for no-proxy. Bug 3118
[exim.git] / test / confs / 1157
1 # Exim test configuration 1157
2
3 SERVER =
4 PEX = :
5
6 .include DIR/aux-var/tls_conf_prefix
7
8 primary_hostname = myhost.test.ex
9
10 # ----- Main settings -----
11
12 acl_smtp_rcpt = accept
13
14 log_selector = +smtp_connection+incoming_port+received_recipients
15
16 queue_only
17 queue_run_in_order
18
19 smtp_accept_max_nonmail = 0
20
21 tls_advertise_hosts = *
22
23 tls_certificate = DIR/aux-fixed/cert1
24
25
26 # ----- Routers -----
27
28 begin routers
29
30 .ifdef REQUIRE
31 cl_override:
32   driver = manualroute
33   route_data = HOSTIPV4
34   retry_use_local_part
35   transport = send_to_server
36   self = send
37 .endif
38
39 client:
40   driver = accept
41   condition = ${if eq {SERVER}{server}{no}{yes}}
42   retry_use_local_part
43   transport = send_to_server
44
45 server:
46   driver = accept
47   retry_use_local_part
48   transport = local_delivery
49
50
51 # ----- Transports -----
52
53 begin transports
54
55 local_delivery:
56   driver = appendfile
57   file = DIR/test-mail/$local_part
58   create_file = DIR/test-mail
59   headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
60   user = CALLER
61
62 send_to_server:
63   driver = smtp
64   allow_localhost
65   hosts_override
66   hosts = 127.0.0.1
67   port = PORT_D
68   hosts_try_fastopen =  :
69   hosts_noproxy_tls = PEX
70   tls_verify_certificates = DIR/aux-fixed/cert1
71   tls_verify_cert_hostnames = :
72
73 # End