PIPE_CONNECT: avoid using when the transport helo_data uses $sending_ip_address
[exim.git] / test / confs / 4001
... / ...
CommitLineData
1# Exim test configuration 4001: ACL regex=
2
3.include DIR/aux-var/std_conf_prefix
4
5primary_hostname = myhost.test.ex
6rfc1413_query_timeout = 0s
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