X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/d658adda50d19b00d2242c0f9162ab510ecda799..2333e06f406b5d66068cef3e20ab223fc6650307:/test/scripts/0000-Basic/0211?ds=sidebyside diff --git a/test/scripts/0000-Basic/0211 b/test/scripts/0000-Basic/0211 index 2775d20ef..dbe41c723 100644 --- a/test/scripts/0000-Basic/0211 +++ b/test/scripts/0000-Basic/0211 @@ -2,6 +2,8 @@ need_ipv4 munge optional_dsn_info # +exim -z "Test: temp-rej connect" +**** server PORT_S 450 I'm busy QUIT @@ -10,6 +12,9 @@ QUIT exim -odi userx@domain1 Test message 1 **** +# +exim -z "Test: temp-rej helo" +**** server PORT_S 220 Connected OK EHLO @@ -21,6 +26,17 @@ QUIT **** exim -qf **** +# +exim -z "Test: drop conn after banner" +**** +server PORT_S +220 Connected OK +**** +exim -qf +**** +# +exim -z "Test: reject connect" +**** server PORT_S 550 Go away QUIT @@ -28,6 +44,9 @@ QUIT **** exim -qf **** +# +exim -z "Test: reject helo" +**** server PORT_S 220 Connected OK EHLO @@ -40,3 +59,19 @@ QUIT exim -odi userx@domain1 usery@domain2 Test message 2 **** +# +exim -z "Test: reject ehlo, then close (late, giving time for HELO)" +**** +sudo rm DIR/spool/db/retry +server PORT_S +220 Connected OK +EHLO +550 You are banned +HELO +**** +exim -odi userx@domain1 +Test message 4 +**** +# +# +no_msglog_check