added expansion tests for bool{} and bool_lax{}
[exim.git] / test / confs / 2011
1 # Exim test configuration 2011
2
3 SERVER =
4 CREQCIP =
5 CREQMAC =
6 SREQCIP =
7 SREQMAC =
8
9 exim_path = EXIM_PATH
10 host_lookup_order = bydns
11 primary_hostname = myhost.test.ex
12 rfc1413_query_timeout = 0s
13 spool_directory = DIR/spool
14 log_file_path = DIR/spool/log/SERVER%slog
15 gecos_pattern = ""
16 gecos_name = CALLER_NAME
17
18 # ----- Main settings -----
19
20 acl_smtp_rcpt = accept
21 log_selector = +tls_peerdn
22 queue_only
23 queue_run_in_order
24
25 tls_advertise_hosts = *
26
27 # Set certificate only if server
28
29 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
30 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
31
32 tls_verify_hosts = *
33 tls_verify_certificates = ${if eq {SERVER}{server}{DIR/aux-fixed/cert2}fail}
34
35 SREQCIP
36 SREQMAC
37
38
39 # ----- Routers -----
40
41 begin routers
42
43 client:
44   driver = accept
45   condition = ${if eq {SERVER}{server}{no}{yes}}
46   retry_use_local_part
47   transport = send_to_server
48
49
50 # ----- Transports -----
51
52 begin transports
53
54 send_to_server:
55   driver = smtp
56   allow_localhost
57   hosts = HOSTIPV4 : 127.0.0.1
58   hosts_require_tls = HOSTIPV4
59   port = PORT_D
60   tls_certificate = DIR/aux-fixed/cert2
61   tls_privatekey = DIR/aux-fixed/cert2
62   CREQCIP
63   CREQMAC
64
65 # End