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