Additional tests - didn't show any problems.
[exim.git] / test / confs / 2027
CommitLineData
afda344b
PH
1# Exim test configuration 2027
2
3SERVER =
4
5exim_path = EXIM_PATH
6host_lookup_order = bydns
7primary_hostname = myhost.test.ex
8rfc1413_query_timeout = 0s
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
21tls_advertise_hosts = *
22tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
23tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
24tls_try_verify_hosts = 127.0.0.1
25tls_verify_hosts = HOSTIPV4
26tls_verify_certificates = DIR/aux-fixed/cert1
27
28# ----- Routers -----
29
30begin routers
31
32client:
33 driver = accept
34 condition = ${if eq {SERVER}{server}{no}{yes}}
35 retry_use_local_part
36 transport = send_to_server
37
38server:
39 driver = accept
40 retry_use_local_part
41 transport = local_delivery
42
43
44# ----- Transports -----
45
46begin transports
47
48local_delivery:
49 driver = appendfile
50 file = DIR/test-mail/$local_part
51 headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
52 user = CALLER
53
54send_to_server:
55 driver = smtp
56 allow_localhost
57 hosts = ${if eq{$local_part}{userx}{127.0.0.1}{HOSTIPV4}}
58 port = PORT_D
59
60# End