update to pre-4.87 master
[exim.git] / test / confs / 2127
CommitLineData
afda344b
PH
1# Exim test configuration 2127
2
3SERVER =
4
5exim_path = EXIM_PATH
6host_lookup_order = bydns
7primary_hostname = myhost.test.ex
afda344b
PH
8spool_directory = DIR/spool
9log_file_path = DIR/spool/log/SERVER%slog
10gecos_pattern = ""
11gecos_name = CALLER_NAME
12
13# ----- Main settings -----
14
15acl_smtp_rcpt = accept
16
17queue_only
18queue_run_in_order
19
20tls_advertise_hosts = *
21tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
22tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
23tls_try_verify_hosts = 127.0.0.1
24tls_verify_hosts = HOSTIPV4
25tls_verify_certificates = DIR/aux-fixed/cert1
26
27# ----- Routers -----
28
29begin routers
30
31client:
32 driver = accept
33 condition = ${if eq {SERVER}{server}{no}{yes}}
34 retry_use_local_part
35 transport = send_to_server
36
37server:
38 driver = accept
39 retry_use_local_part
40 transport = local_delivery
41
42
43# ----- Transports -----
44
45begin transports
46
47local_delivery:
48 driver = appendfile
49 file = DIR/test-mail/$local_part
50 headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
51 user = CALLER
52
53send_to_server:
54 driver = smtp
55 allow_localhost
56 hosts = ${if eq{$local_part}{userx}{127.0.0.1}{HOSTIPV4}}
57 port = PORT_D
0509be35 58 tls_try_verify_hosts = :
afda344b
PH
59
60# End