Logging: support +outgoing_port on defer lines and per-host error lines
[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 tls_advertise_hosts =
12
13
14 # ----- Main settings -----
15
16 acl_smtp_rcpt = check_rcpt
17 acl_smtp_data = check_data
18 acl_not_smtp = check_data
19
20
21 # ----- ACL -----
22
23 begin acl
24
25 check_rcpt:
26 accept
27
28 check_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
42 begin routers
43
44 r1:
45 driver = accept
46 transport = t1
47
48 # ----- Transports -----
49
50 begin transports
51
52 t1:
53 driver = appendfile
54 file = DIR/test-mail/$local_part
55 user = CALLER
56
57
58 # End