Supress TLS/Env warnings in checking and listing mode
[exim.git] / test / confs / 4010
1 # Exim test configuration 0568:  ACL regex=
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 primary_hostname = myhost.test.ex
7 rfc1413_query_timeout = 0s
8 spool_directory = DIR/spool
9 log_file_path = DIR/spool/log/%slog
10 gecos_pattern = ""
11 gecos_name = CALLER_NAME
12 tls_advertise_hosts =
13
14
15 # ----- Main settings -----
16
17 acl_smtp_rcpt = check_rcpt
18 acl_smtp_data = check_data
19 acl_not_smtp  = check_data
20
21
22 # ----- ACL -----
23
24 begin acl
25
26 check_rcpt:
27   accept
28
29 check_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
43 begin routers
44
45 r1:
46   driver = accept
47   transport = t1
48
49 # ----- Transports -----
50
51 begin transports
52
53 t1:
54   driver = appendfile
55   file = DIR/test-mail/$local_part
56   user = CALLER
57
58
59 # End