Testsuite: unbreak testcase
[exim.git] / test / confs / 2007
... / ...
CommitLineData
1# Exim test configuration 2007
2
3SERVER =
4
5.include DIR/aux-var/tls_conf_prefix
6
7primary_hostname = myhost.test.ex
8
9# ----- Main settings -----
10
11acl_smtp_rcpt = accept
12
13log_selector = +smtp_confirmation+tls_peerdn
14
15queue_only
16queue_run_in_order
17
18tls_advertise_hosts = *
19tls_require_ciphers = NORMAL:!DHE-RSA:!DHE-DSS:!ECDHE-RSA:!ECDHE-ECDSA:!ECDHE-PSK
20
21# Set certificate only if server
22
23tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
24tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
25
26
27# ----- Routers -----
28
29begin routers
30
31client:
32 driver = accept
33 condition = ${if eq {SERVER}{server}{no}{yes}}
34 retry_use_local_part
35 transport = send_to_server${if eq{$local_part}{abcd}{2}{1}}
36
37server:
38 driver = accept
39 retry_use_local_part
40 transport = local_delivery
41
42
43# ----- Transports -----
44
45begin transports
46
47local_delivery:
48 driver = appendfile
49 file = DIR/test-mail/${bless:$local_part}
50 headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
51 user = CALLER
52
53send_to_server1:
54 driver = smtp
55 allow_localhost
56 hosts = 127.0.0.1
57 port = PORT_D
58 hosts_try_fastopen = :
59
60send_to_server2:
61 driver = smtp
62 allow_localhost
63 hosts = HOSTIPV4
64 port = PORT_D
65 hosts_try_fastopen = :
66
67# End