Additional tests - didn't show any problems.
[exim.git] / test / confs / 2011
CommitLineData
afda344b
PH
1# Exim test configuration 2011
2
3SERVER =
83da1223
PH
4CREQCIP =
5CREQMAC =
6SREQCIP =
7SREQMAC =
afda344b
PH
8
9exim_path = EXIM_PATH
10host_lookup_order = bydns
11primary_hostname = myhost.test.ex
12rfc1413_query_timeout = 0s
13spool_directory = DIR/spool
14log_file_path = DIR/spool/log/SERVER%slog
15gecos_pattern = ""
16gecos_name = CALLER_NAME
17
18# ----- Main settings -----
19
20acl_smtp_rcpt = accept
21log_selector = +tls_peerdn
22queue_only
23queue_run_in_order
24
25tls_advertise_hosts = *
26
27# Set certificate only if server
28
29tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
30tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
31
32tls_verify_hosts = *
33tls_verify_certificates = ${if eq {SERVER}{server}{DIR/aux-fixed/cert2}fail}
34
83da1223
PH
35SREQCIP
36SREQMAC
37
afda344b
PH
38
39# ----- Routers -----
40
41begin routers
42
43client:
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
52begin transports
53
54send_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
83da1223
PH
62 CREQCIP
63 CREQMAC
afda344b
PH
64
65# End