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