Testsuite: sort output of retry DB dumps
[users/jgh/exim.git] / test / confs / 2117
1 # Exim test configuration 2117
2
3 SERVER =
4
5 exim_path = EXIM_PATH
6 host_lookup_order = bydns
7 primary_hostname = myhost.test.ex
8 spool_directory = DIR/spool
9 log_file_path = DIR/spool/log/SERVER%slog
10 gecos_pattern = ""
11 gecos_name = CALLER_NAME
12
13 # ----- Main settings -----
14
15 acl_smtp_rcpt = accept
16
17 log_selector = +tls_peerdn
18
19 queue_only
20 queue_run_in_order
21
22 tls_advertise_hosts = *
23
24 # Set certificate only if server
25
26 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
27 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
28
29
30 # ----- Routers -----
31
32 begin routers
33
34 client:
35   driver = accept
36   condition = ${if eq {SERVER}{server}{no}{yes}}
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 = 127.0.0.1
60   hosts_nopass_tls = *
61   port = PORT_D
62   tls_try_verify_hosts = :
63
64
65 # ----- Retry -----
66
67
68 begin retry
69
70 * * F,5d,10s
71
72
73 # End