b992747e25efa42dad05c3cd895074601d2ce757
[users/heiko/exim.git] / test / confs / 2113
1 # Exim test configuration 2113
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 = +tls_peerdn+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/${bless:$local_part}
58   headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
59   user = CALLER
60
61 send_to_server:
62   driver = smtp
63   allow_localhost
64   hosts_override
65   hosts = 127.0.0.1
66   port = PORT_D
67   hosts_try_fastopen =  :
68   hosts_noproxy_tls = PEX
69   tls_verify_certificates = DIR/aux-fixed/cert1
70   tls_verify_cert_hostnames = :
71
72 # End