DKIM: Allow the DKIM ACL to override verification results. Bug 2186
[exim.git] / test / confs / 4010
CommitLineData
b83823bd
JH
1# Exim test configuration 0568: ACL regex=
2
d4dc049f
JH
3.include DIR/aux-var/std_conf_prefix
4
b83823bd
JH
5primary_hostname = myhost.test.ex
6rfc1413_query_timeout = 0s
b83823bd
JH
7
8
9# ----- Main settings -----
10
11acl_smtp_rcpt = check_rcpt
12acl_smtp_data = check_data
13acl_not_smtp = check_data
14
15
16# ----- ACL -----
17
18begin acl
19
20check_rcpt:
21 accept
22
23check_data:
24 warn regex = \N(THIS\s((\w+)\s)?REGEX)\N
25 message = X-Regex: Regex matched <$regex1> <$regex3>
26
27 warn condition = ${if !eq{$h_fakereject:}{}}
28 control = fakereject
29
30 warn condition = ${if !eq{$h_fakedefer:}{}}
31 control = fakedefer
32
33 accept
34
35# ----- Routers -----
36
37begin routers
38
39r1:
40 driver = accept
41 transport = t1
42
43# ----- Transports -----
44
45begin transports
46
47t1:
48 driver = appendfile
49 file = DIR/test-mail/$local_part
50 user = CALLER
51
52
53# End