Truncate delay when peer closes connection. Bug 348
[exim.git] / test / confs / 2107
CommitLineData
afda344b
PH
1# Exim test configuration 2107
2
3SERVER =
4
5exim_path = EXIM_PATH
6host_lookup_order = bydns
7primary_hostname = myhost.test.ex
afda344b
PH
8spool_directory = DIR/spool
9log_file_path = DIR/spool/log/SERVER%slog
10gecos_pattern = ""
11gecos_name = CALLER_NAME
12
13# ----- Main settings -----
14
15acl_smtp_rcpt = accept
16
17log_selector = +smtp_confirmation+tls_peerdn
18
19queue_only
20queue_run_in_order
21
22tls_advertise_hosts = *
23
24# Set certificate only if server
25
26tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
27tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
28
29
30# ----- Routers -----
31
32begin routers
33
34client:
35 driver = accept
36 condition = ${if eq {SERVER}{server}{no}{yes}}
37 retry_use_local_part
38 transport = send_to_server${if eq{$local_part}{abcd}{2}{1}}
39
40server:
41 driver = accept
42 retry_use_local_part
43 transport = local_delivery
44
45
46# ----- Transports -----
47
48begin transports
49
50local_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
56send_to_server1:
57 driver = smtp
58 allow_localhost
59 hosts = 127.0.0.1
60 port = PORT_D
61
62send_to_server2:
63 driver = smtp
64 allow_localhost
65 hosts = HOSTIPV4
66 port = PORT_D
67
68# End