X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/59371ea735c941334861aa5b8e1e9a06facf044f..46ad960434683b3e15eb17edf3b2d748c191fbc4:/test/scripts/0000-Basic/0023 diff --git a/test/scripts/0000-Basic/0023 b/test/scripts/0000-Basic/0023 index 1f9cb2ee8..109037f69 100644 --- a/test/scripts/0000-Basic/0023 +++ b/test/scripts/0000-Basic/0023 @@ -1,5 +1,8 @@ # ACL basic tests +need_ipv4 +# exim -bh 1.2.3.4 +helo test mail from: rcpt to: rcpt to: @@ -13,6 +16,7 @@ rcpt to: quit **** exim -bh 5.6.7.8 +helo test mail from: rcpt to: rcpt to: @@ -21,24 +25,28 @@ rcpt to: quit **** exim -bh 9.9.9.9 +helo test mail from: rcpt to: rcpt to: quit **** exim -bh 9.9.9.8 +helo test mail from: rcpt to: rcpt to: quit **** exim -bh 9.9.9.255 +helo test mail from: rcpt to: rcpt to: quit **** exim -bh 5.6.8.1 +helo test mail from: rcpt to: rcpt to: @@ -59,6 +67,7 @@ rset quit **** exim -bh 5.6.11.1 +helo test mail from: rcpt to: rcpt to: @@ -66,23 +75,27 @@ rcpt to: quit **** exim -bh 5.6.12.1 +helo test mail from: rcpt to: rcpt to: quit **** exim -bh 5.6.12.2 +helo test mail from: rcpt to: rcpt to: quit **** exim -bh 8.8.8.8 +helo test mail from: rcpt to: quit **** exim -bh 5.6.13.1 +helo test mail from: rcpt to: rcpt to: @@ -90,30 +103,35 @@ rcpt to: quit **** exim -bh V4NET.11.12.13 +helo test mail from: rcpt to: rcpt to: quit **** exim -bh V4NET.11.12.12 +helo test mail from: rcpt to: rcpt to: quit **** exim -bh 20.20.20.20 +helo test mail from: rcpt to: rcpt to: quit **** exim -bh 20.20.20.20 +helo test mail from: rcpt to: rcpt to: quit **** exim -bh 21.21.21.21 +helo test mail from: rcpt to: rcpt to: @@ -128,12 +146,14 @@ rcpt to: quit **** exim -bh 22.22.22.22 +helo test mail from: rcpt to: rcpt to: quit **** exim -bh 23.23.23.0 +helo test mail from: rcpt to: rset @@ -142,21 +162,25 @@ rcpt to: quit **** exim -bh 23.23.23.1 +helo test mail from: rcpt to: quit **** exim -bh 24.24.24.24 +helo test mail from: rcpt to: quit **** exim -bh 25.25.25.25 +helo test mail from: rcpt to: quit **** exim -bh 26.26.26.26 +helo test mail from:<> rcpt to: rcpt to: @@ -164,11 +188,13 @@ rcpt to: quit **** exim -bh 27.27.27.27 +helo test mail from:<> rcpt to: quit **** exim -bh 28.28.28.28 +helo test mail from:<> rcpt to: rset @@ -180,16 +206,32 @@ rcpt to: quit **** exim -bh V4NET.0.0.3 +helo test mail from:<> rcpt to: quit **** exim -bh V4NET.0.0.97 +helo test mail from:<> rcpt to: quit **** +# This resolves to a name which will give `try again' when looked up +exim -bh V4NET.99.99.96 +helo test +mail from:<> +rcpt to: +quit +**** +exim -bh V4NET.99.99.96 +helo test +mail from:<> +rcpt to: +quit +**** exim -bh 29.29.29.29 +helo test mail from: rcpt to: rset @@ -198,6 +240,7 @@ rcpt to: quit **** exim -bh 30.30.30.30 +helo test mail from: rcpt to: rset @@ -209,11 +252,13 @@ rcpt to: quit **** exim -bh 31.31.31.31 +helo test mail from: rcpt to: quit **** exim -odi -bs -oMa 32.32.32.32 +helo test mail from: rcpt to: data @@ -222,6 +267,7 @@ Test with verify sender. quit **** exim -odi -bs -oMa 32.32.32.32 +helo test mail from: rcpt to: data @@ -230,6 +276,7 @@ Test without verify sender. quit **** exim -bh 33.33.33.33 +helo test mail from: rcpt to: rcpt to: @@ -237,11 +284,13 @@ quit **** # The 1 causes a 1-second delay in the test.again.dns lookup exim -bh 44.44.44.1 +helo test mail from: rcpt to: quit **** exim -odi -bs -oMa 55.55.55.55 +helo test mail from: rcpt to: data @@ -250,6 +299,7 @@ ACL header adding test. quit **** exim -odi -bs -oMa 56.56.56.56 +helo test mail from: rcpt to: data @@ -293,15 +343,22 @@ data quit **** exim -odi -bs -oMa 56.56.57.57 +helo test mail from: rcpt to: data . mail from: rcpt to: +rset +mail from: +rcpt to: +data +. quit **** exim -DLOG_SELECTOR=log_selector=-acl_warn_skipped -odi -bs -oMa 56.56.56.56 +helo test mail from: rcpt to: data @@ -309,6 +366,7 @@ data quit **** exim -odi -bs -oMa 56.56.58.58 +helo test mail from: rcpt to: rcpt to: @@ -321,13 +379,22 @@ data quit **** exim -odi -bs -oMa 56.56.59.59 +helo test mail from: rcpt to: quit **** exim -odi -bs -oMa V4NET.11.12.13 +helo test mail from: rcpt to: rcpt to: quit **** +exim -bh 60.60.60.60 +helo test +mail from: +rcpt to: +rcpt to: +quit +****