Expansions: more detail in error messages
[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 log_selector = +outgoing_port
17
18 acl_smtp_rcpt = accept
19
20 queue_only
21 queue_run_in_order
22
23 # Set certificate only if server
24
25 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
26 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
27
28 tls_advertise_hosts = HOSTIPV4
29
30
31 # ----- Routers -----
32
33 begin routers
34
35 client:
36   driver = accept
37   condition = ${if eq {SERVER}{server}{no}{yes}}
38   retry_use_local_part
39   transport = send_to_server
40
41
42 # ----- Transports -----
43
44 begin transports
45
46 send_to_server:
47   driver = smtp
48   allow_localhost
49   hosts = HOSTS
50   hosts_require_tls = *
51   port = PORT_D
52
53
54 # ----- Retry -----
55
56 begin retry
57
58 * tls_required
59 * *  F,1d,5m
60
61 # End