John Jetmore's -Mset patch.
[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 rfc1413_query_timeout = 0s
10 spool_directory = DIR/spool
11 log_file_path = DIR/spool/log/SERVER%slog
12 gecos_pattern = ""
13 gecos_name = CALLER_NAME
14
15 # ----- Main settings -----
16
17 acl_smtp_rcpt = accept
18
19 queue_only
20 queue_run_in_order
21
22 # Set certificate only if server
23
24 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
25 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
26
27 tls_advertise_hosts = HOSTIPV4
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
41 # ----- Transports -----
42
43 begin transports
44
45 send_to_server:
46   driver = smtp
47   allow_localhost
48   hosts = HOSTS
49   hosts_require_tls = *
50   port = PORT_D
51
52
53 # ----- Retry -----
54
55 begin retry
56
57 * tls_required
58 * *  F,1d,5m
59
60 # End