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