Cutthrough: expand transport dkim_domain option when testing for dkim signing
[exim.git] / test / confs / 3451
CommitLineData
afda344b
PH
1# Exim test configuration 3451
2
3SERVER =
4
5exim_path = EXIM_PATH
bc3c7bb7 6keep_environment =
afda344b
PH
7host_lookup_order = bydns
8primary_hostname = myhost.test.ex
afda344b
PH
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
18log_selector = +tls_peerdn
19
20queue_only
21queue_run_in_order
22
23smtp_accept_max_nonmail = 0
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
32
33# ----- Authenticators -----
34
35begin authenticators
36
37plain:
38 driver = plaintext
39 public_name = PLAIN
40 server_condition = "\
41 ${if and {{eq{$2}{userx}}{eq{$3}{secret}}}{yes}{no}}"
42 server_set_id = $2
43 client_send = ^userx^secret
44
45
46# ----- Routers -----
47
48begin routers
49
50client:
51 driver = accept
52 condition = ${if eq {SERVER}{server}{no}{yes}}
53 retry_use_local_part
54 transport = send_to_server
55
56server:
57 driver = accept
58 retry_use_local_part
59 transport = local_delivery
60
61
62# ----- Transports -----
63
64begin transports
65
66local_delivery:
67 driver = appendfile
68 file = DIR/test-mail/$local_part
69 headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
70 user = CALLER
71
72send_to_server:
73 driver = smtp
74 allow_localhost
75 hosts = 127.0.0.1
76 hosts_try_auth = *
77 port = PORT_D
78
79# End