1 # Exim test configuration 4001: ACL regex=
3 .include DIR/aux-var/std_conf_prefix
5 primary_hostname = myhost.test.ex
6 rfc1413_query_timeout = 0s
9 # ----- Main settings -----
11 acl_smtp_rcpt = check_rcpt
12 acl_smtp_data = check_data
13 acl_smtp_mime = check_mime
14 acl_not_smtp = check_data
25 warn condition = ${if match{$mime_content_type}{text}}
26 mime_regex = \N(?s)([\w.+=-]+@\w[\w-]*\.[\w.-]+\w)\
27 (.+?([\w.+=-]+@\w[\w-]*\.[\w.-]+\w))?\
28 (.+?([\w.+=-]+@\w[\w-]*\.[\w.-]+\w))?\
29 (.+?([\w.+=-]+@\w[\w-]*\.[\w.-]+\w))?\
30 (.+?([\w.+=-]+@\w[\w-]*\.[\w.-]+\w))?\N
34 warn regex = \N(THIS\s((\w+)\s)?REGEX)\N
35 message = X-Regex: Regex matched <$regex1> <$regex3>
37 warn condition = ${if !eq{$h_fakereject:}{}}
40 warn condition = ${if !eq{$h_fakedefer:}{}}
53 # ----- Transports -----
59 file = DIR/test-mail/$local_part
60 create_file = DIR/test-mail