Fix GCrypt build
[users/heiko/exim.git] / test / confs / 2038
1 # Exim test configuration 2035
2
3 SERVER =
4
5 .include DIR/aux-var/tls_conf_prefix
6
7 primary_hostname = myhost.test.ex
8
9 # ----- Main settings -----
10
11 acl_smtp_rcpt = accept
12
13 log_selector = +tls_peerdn+smtp_connection+incoming_port+received_recipients
14
15 queue_only
16 queue_run_in_order
17
18 smtp_accept_max_nonmail = 0
19
20 tls_advertise_hosts = *
21
22 # Set certificate only if server
23
24 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
25 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
26
27
28 # ----- Routers -----
29
30 begin routers
31
32 client:
33   driver =      manualroute
34   condition =   ${if eq {SERVER}{server}{no}{yes}}
35   route_data =  127.0.0.1
36   self =        send
37   retry_use_local_part
38   transport =   send_to_server
39
40 server:
41   driver = accept
42   retry_use_local_part
43   transport = local_delivery
44
45
46 # ----- Transports -----
47
48 begin transports
49
50 local_delivery:
51   driver = appendfile
52   file = DIR/test-mail/$local_part
53   headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
54   user = CALLER
55
56 send_to_server:
57   driver =      smtp
58   allow_localhost
59   hosts_noproxy_tls = :
60   port =        PORT_D
61   max_rcpt =    1
62
63 # End