X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/230205fc0acfc71dff9ce42fb20d2caba82fbd36..c90c2288e88f66ae1d8af198cfa56c401e573ce4:/test/scripts/2200-dnsdb/2200?ds=sidebyside diff --git a/test/scripts/2200-dnsdb/2200 b/test/scripts/2200-dnsdb/2200 index 1277b9ca6..3d78a2639 100644 --- a/test/scripts/2200-dnsdb/2200 +++ b/test/scripts/2200-dnsdb/2200 @@ -4,6 +4,15 @@ exim -be test.ex ${lookup dnsdb{test.ex}{$value}fail} s/lash.test.ex ${lookup dnsdb{s/lash.test.ex}{$value}fail} txt=test.ex ${lookup dnsdb{txt=test.ex}{$value}fail} +>X txt=test.ex ${lookup dnsdb{txt=test.ex}{$value}fail} +>X; txt=test.ex ${lookup dnsdb{txt=test.ex}{$value}fail} +>X, txt=test.ex ${lookup dnsdb{txt=test.ex}{$value}fail} +>X, txt=test.ex ${lookup dnsdb{txt=test.ex}{$value}fail} +txt=long.test.ex ${lookup dnsdb{ txt=long.test.ex}{$value}fail} +>X txt=long.test.ex ${lookup dnsdb{>X txt=long.test.ex}{$value}fail} +>X; txt=long.test.ex ${lookup dnsdb{>X; txt=long.test.ex}{$value}fail} +>X, txt=long.test.ex ${lookup dnsdb{>X, txt=long.test.ex}{$value}fail} +>X,Z txt=long.test.ex ${lookup dnsdb{>X,Z txt=long.test.ex}{$value}fail} a=black-1.test.ex ${lookup dnsdb{a=black-1.test.ex}{$value}fail} xxx=test.ex ${lookup dnsdb{xxx=test.ex}{$value}fail} a=localhost.test.ex ${lookup dnsdb{a=localhost.test.ex}{$value}fail} @@ -21,12 +30,16 @@ srv=_smtp._tcp.nosmtp.test.ex ${lookup dnsdb{srv=_smtp._tcp.nosmtp.test.ex}{$ csa=csa1.test.ex ${lookup dnsdb{csa=csa1.test.ex}} csa=csa2.test.ex ${lookup dnsdb{csa=csa2.test.ex}} +soa=test.ex ${lookup dnsdb{soa=test.ex}{$value}{fail}} +soa=a.test.ex ${lookup dnsdb{>:, soa=test.ex}{$value}{fail}} + # DNS lookups with multiple items ten-1:ten2 ${lookup dnsdb{a=ten-1.test.ex:ten-2.test.ex}} ten-1:defer:ten2 ${lookup dnsdb{a=ten-1.test.ex:test.again.dns:ten-2.test.ex}} ten-1|ten2 ${lookup dnsdb{a=<|ten-1.test.ex|ten-2.test.ex}} mxt1;mxt2 | output ${lookup dnsdb{>|mx=<;mxt1.test.ex;mxt2.test.ex}} +mxt1;mxt2 | output+field ${lookup dnsdb{>|,:mx=<;mxt1.test.ex;mxt2.test.ex}} mxt1;mxt2 | output ${lookup dnsdb{>|mxh=<;mxt1.test.ex;mxt2.test.ex}} 13/14 rbl ${lookup dnsdb{> 13.12.11.V4NET.rbl.test.ex:13.12.11.V4NET.rbl.test.ex}} double ptr ${lookup dnsdb{ptr=V4NET.0.0.1:V4NET.0.0.2}} @@ -39,4 +52,30 @@ defer_lax:ten-1 ${lookup dnsdb{defer_lax,a=test.again.dns:ten-1.test. defer_never:ten-1 ${lookup dnsdb{defer_never,a=test.again.dns:ten-1.test.ex}} defer_never:defer ${lookup dnsdb{defer_never,a=test.again.dns:test.again.dns}} defer_strict:ten-1 ${lookup dnsdb{defer_strict,a=test.again.dns:ten-1.test.ex}} + +# Retry timeout and count. This only tests the syntax; we do not +# have any good way of testing the function. + +delay1500 ${lookup dnsdb{retrans_1s,retry_2,a=delay1500.test.ex}} +**** +# +# Cacheability +exim -d-all+lookup -be +a=localhost.test.ex ${lookup dnsdb{a=localhost.test.ex}{$value}fail} +a=localhost.test.ex ${lookup dnsdb{a=localhost.test.ex}{$value}fail} +**** +# +# TTL-limited noncacheability +exim -d-all+lookup -odq user@shorthost.test.ex +**** +# +# ACL defer_strict +exim -bs +HELO test +MAIL FROM:<> +RCPT TO: +QUIT **** +# +no_msglog_check +#