diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2022-06-19 17:15:25 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2022-06-19 17:15:25 +0100 |
commit | 7d5055276a22a91de71104775ade236051cebefc (patch) | |
tree | 970e5668c3ce454473eef2a760c9b969748dbb6b /test/confs | |
parent | 7a23eb345eb78c928e7d59be4cdc917d63d2a9f9 (diff) | |
download | exim4-7d5055276a22a91de71104775ade236051cebefc.tar.gz |
Regex compile cacheing
Diffstat (limited to 'test/confs')
-rw-r--r-- | test/confs/0632 | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/test/confs/0632 b/test/confs/0632 new file mode 100644 index 000000000..55592bf3b --- /dev/null +++ b/test/confs/0632 @@ -0,0 +1,37 @@ +# Exim test configuration 0632 + +.include DIR/aux-var/std_conf_prefix + +primary_hostname = myhost.test.ex +queue_only + +# ----- Main settings ----- + +acl_smtp_rcpt = chk_rcpt + +# ----- ACL ----- + +begin acl + +chk_rcpt: + # We're doing these to see what REs the daemon compiles, in stderr + warn domains = ^nomatch_list + logwrite = should not match RE in list + + warn condition = ${if match {a_random_string} {static_RE}} + logwrite = should not match RE in match cond + warn condition = ${if match {a_random_string} {tricky_static_RE\$}} + logwrite = should not match RE in match cond + warn condition = ${if match {a_random_string} {pid=${pid} uncacheable_RE}} + logwrite = should not match RE in match cond + accept + +# ----- Routers ----- + +begin routers + +r0: + driver = redirect + data = :blackhole: +# +# End |