TLS: when tls_certificates unset, generate a selfsigned cert
[exim.git] / test / confs / 4010
CommitLineData
b83823bd
JH
1# Exim test configuration 0568: ACL regex=
2
3exim_path = EXIM_PATH
bc3c7bb7 4keep_environment =
b83823bd
JH
5host_lookup_order = bydns
6primary_hostname = myhost.test.ex
7rfc1413_query_timeout = 0s
8spool_directory = DIR/spool
9log_file_path = DIR/spool/log/%slog
10gecos_pattern = ""
11gecos_name = CALLER_NAME
23f3dc67 12tls_advertise_hosts =
b83823bd
JH
13
14
15# ----- Main settings -----
16
17acl_smtp_rcpt = check_rcpt
18acl_smtp_data = check_data
19acl_not_smtp = check_data
20
21
22# ----- ACL -----
23
24begin acl
25
26check_rcpt:
27 accept
28
29check_data:
30 warn regex = \N(THIS\s((\w+)\s)?REGEX)\N
31 message = X-Regex: Regex matched <$regex1> <$regex3>
32
33 warn condition = ${if !eq{$h_fakereject:}{}}
34 control = fakereject
35
36 warn condition = ${if !eq{$h_fakedefer:}{}}
37 control = fakedefer
38
39 accept
40
41# ----- Routers -----
42
43begin routers
44
45r1:
46 driver = accept
47 transport = t1
48
49# ----- Transports -----
50
51begin transports
52
53t1:
54 driver = appendfile
55 file = DIR/test-mail/$local_part
56 user = CALLER
57
58
59# End