Fix post-transport-crash: safeguard for missing spool BUG 1671
[users/jgh/exim.git] / test / confs / 2110
1 # Exim test configuration 2110
2
3 SERVER =
4 HOSTS = 127.0.0.1 : HOSTIPV4
5
6 exim_path = EXIM_PATH
7 host_lookup_order = bydns
8 primary_hostname = myhost.test.ex
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/SERVER%slog
11 gecos_pattern = ""
12 gecos_name = CALLER_NAME
13
14 # ----- Main settings -----
15
16 acl_smtp_rcpt = accept
17
18 queue_only
19 queue_run_in_order
20
21 # Set certificate only if server
22
23 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
24 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
25
26 tls_advertise_hosts = HOSTIPV4
27
28
29 # ----- Routers -----
30
31 begin routers
32
33 client:
34   driver = accept
35   condition = ${if eq {SERVER}{server}{no}{yes}}
36   retry_use_local_part
37   transport = send_to_server
38
39
40 # ----- Transports -----
41
42 begin transports
43
44 send_to_server:
45   driver = smtp
46   allow_localhost
47   hosts = HOSTS
48   hosts_require_tls = *
49   port = PORT_D
50
51
52 # ----- Retry -----
53
54 begin retry
55
56 * tls_required
57 * *  F,1d,5m
58
59 # End