Routers: make retry_use_local_part default true when any non-domain condition is...
[exim.git] / test / confs / 4001
CommitLineData
c11d665d 1# Exim test configuration 4001: ACL regex=
a60f6c07 2
d4dc049f
JH
3.include DIR/aux-var/std_conf_prefix
4
a60f6c07 5primary_hostname = myhost.test.ex
c11d665d 6rfc1413_query_timeout = 0s
a60f6c07 7
a60f6c07
JH
8
9# ----- Main settings -----
10
c11d665d
JH
11acl_smtp_rcpt = check_rcpt
12acl_smtp_data = check_data
13acl_not_smtp = check_data
14
15
16# ----- ACL -----
a60f6c07
JH
17
18begin acl
19
c11d665d
JH
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
a60f6c07
JH
34
35# ----- Routers -----
36
37begin routers
38
c11d665d
JH
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
a60f6c07
JH
52
53# End