Testsuite: fix testcase use of paths
[exim.git] / test / confs / 4525
CommitLineData
179ed8c3
JH
1# Exim test configuration 4525
2
3SERVER=
4OPT=
5FAKE =
6
580f3252 7keep_environment = PATH
179ed8c3
JH
8exim_path = EXIM_PATH
9host_lookup_order = bydns
580f3252 10spool_directory = DIR/spool
179ed8c3
JH
11
12.ifdef SERVER
580f3252 13log_file_path = DIR/spool/log/SERVER%slog
179ed8c3 14.else
580f3252 15log_file_path = DIR/spool/log/%slog
179ed8c3
JH
16.endif
17
18gecos_pattern = ""
19gecos_name = CALLER_NAME
20dns_cname_loops = 9
21chunking_advertise_hosts = *
22
23.ifdef _HAVE_REQTLS
24tls_advertise_requiretls =
25.endif
26.ifdef _HAVE_PIPE_CONNECT
27pipelining_connect_advertise_hosts = :
28.endif
29.ifdef _HAVE_DMARC
30dmarc_tld_file =
31.endif
32tls_advertise_hosts =
33
34primary_hostname = myhost.test.ex
35
36# ----- Main settings -----
37
38acl_smtp_rcpt = accept logwrite = rcpt acl: macro: _DKIM_SIGN_HEADERS
39acl_smtp_dkim = accept logwrite = dkim_acl: signer: $dkim_cur_signer bits: $dkim_key_length h=$dkim_headernames
40acl_smtp_data = accept logwrite = data acl: dkim status $dkim_verify_status
41
42dkim_verify_signers = $dkim_signers
43
44DDIR=DIR/aux-fixed/dkim
45
46log_selector = +received_recipients
47
48
49# ----- Routers
50
51begin routers
52
53server_store:
54 driver = accept
55 condition = ${if eq {SERVER}{server}{yes}{no}}
56 transport = file
57
58client:
59 driver = accept
60 transport = send_to_server
61
62# ----- Transports
63
64begin transports
65
66send_to_server:
67 driver = smtp
68 allow_localhost
69 hosts = HOSTIPV4
70 port = PORT_D
71
72.ifdef FILTER
73 transport_filter = /bin/cat - DIR/aux-fixed/TESTNUM.mlistfooter
74.endif
75.ifndef ALLOW
76 hosts_try_chunking = :
77.endif
78
79 dkim_domain = test.ex
80.ifdef SELECTOR
81 dkim_selector = SELECTOR
82.else
83 dkim_selector = sel
84.endif
85
86 dkim_private_key = ${extract {${length_3:$dkim_selector}} {\
87 ses=dkim512.private \
88 sel=dkim.private \
89 sed=dkim_ed25519.private \
90 }{DDIR/$value}}
91
92.ifndef HEADERS_MAXSIZE
93 dkim_sign_headers = OPT
94.else
95 dkim_identity = allheaders@$dkim_domain
96.endif
97.ifdef VALUE
98 dkim_hash = VALUE
99.endif
100.ifdef STRICT
101 dkim_strict = STRICT
102.endif
103.ifdef TIMES
104 dkim_timestamps = TIMES
105.endif
106
107file:
108 driver = appendfile
109 file = DIR/test-mail/$local_part
110 user = CALLER
111
112# End