Lazy-create builtin macros
[users/heiko/exim.git] / test / confs / 2010
1 # Exim test configuration 2010
2
3 SERVER =
4 TIMES =
5 HOSTS = 127.0.0.1 : HOSTIPV4
6
7 .include DIR/aux-var/tls_conf_prefix
8
9 primary_hostname = myhost.test.ex
10
11 # ----- Main settings -----
12
13 log_selector = +outgoing_port
14
15 acl_smtp_rcpt = accept
16
17 queue_only
18 queue_run_in_order
19
20 # Set certificate only if server
21
22 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
23 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
24
25 tls_advertise_hosts = HOSTIPV4
26
27
28 # ----- Routers -----
29
30 begin routers
31
32 client:
33   driver = accept
34   condition = ${if eq {SERVER}{server}{no}{yes}}
35   retry_use_local_part
36   transport = send_to_server
37
38
39 # ----- Transports -----
40
41 begin transports
42
43 send_to_server:
44   driver = smtp
45   allow_localhost
46   hosts = HOSTS
47   hosts_require_tls = *
48   port = PORT_D
49
50
51 # ----- Retry -----
52
53 begin retry
54
55 * tls_required  TIMES
56 * *  F,1d,5m
57
58 # End