Doc: clarify the syntax of the "begin <section>"
[exim.git] / test / confs / 2110
CommitLineData
afda344b
PH
1# Exim test configuration 2110
2
3SERVER =
e97957bc 4HOSTS = 127.0.0.1 : HOSTIPV4
afda344b
PH
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
18queue_only
19queue_run_in_order
20
21# Set certificate only if server
22
23tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
24tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
25
26tls_advertise_hosts = HOSTIPV4
27
28
29# ----- Routers -----
30
31begin routers
32
33client:
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
42begin transports
43
44send_to_server:
45 driver = smtp
46 allow_localhost
e97957bc 47 hosts = HOSTS
afda344b
PH
48 hosts_require_tls = *
49 port = PORT_D
50
e97957bc
PH
51
52# ----- Retry -----
53
54begin retry
55
56* tls_required
57* * F,1d,5m
58
afda344b 59# End