Testtsuite: portability
[exim.git] / test / confs / 2108
CommitLineData
afda344b
PH
1# Exim test configuration 2108
2
3SERVER =
4
d4dc049f 5.include DIR/aux-var/tls_conf_prefix
afda344b 6
d4dc049f 7primary_hostname = myhost.test.ex
afda344b
PH
8
9# ----- Main settings -----
10
11domainlist local_domains = test.ex : *.test.ex
12
13acl_smtp_rcpt = check_recipient
14log_selector = +tls_peerdn
15queue_only
16queue_run_in_order
17remote_max_parallel = 1
18
19tls_advertise_hosts = *
20
21# Set certificate only if server
22
23tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
24
afda344b
PH
25# ------ ACL ------
26
27begin acl
28
29check_recipient:
30 accept domains = +local_domains
31 deny message = relay not permitted
32
33
34# ----- Routers -----
35
36begin routers
37
38client:
39 driver = accept
40 condition = ${if eq {SERVER}{server}{no}{yes}}
41 retry_use_local_part
42 transport = send_to_server${if eq{$local_part}{abcd}{2}{1}}
43
44server:
45 driver = accept
46 retry_use_local_part
47 transport = local_delivery
48
49
50# ----- Transports -----
51
52begin transports
53
54local_delivery:
55 driver = appendfile
0d2e392e 56 file = DIR/test-mail/${bless:$local_part}
afda344b
PH
57 headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
58 user = CALLER
59
60send_to_server1:
61 driver = smtp
62 allow_localhost
63 hosts = 127.0.0.1
64 port = PORT_D
277b9979 65 hosts_try_fastopen = :
afda344b
PH
66 helo_data = helo.data.changed
67
68send_to_server2:
69 driver = smtp
70 allow_localhost
71 hosts = HOSTIPV4
72 port = PORT_D
277b9979 73 hosts_try_fastopen = :
afda344b
PH
74
75
76# ----- Retry -----
77
78
79begin retry
80
81* * F,5d,10s
82
83
84# End