X-Git-Url: https://git.exim.org/users/jgh/exim.git/blobdiff_plain/7e3ce68e68ab9b8906a637d352993abf361554e2..48224640cb97b694c3ea2f159c3e60d64598ba65:/test/scripts/0000-Basic/0900 diff --git a/test/scripts/0000-Basic/0900 b/test/scripts/0000-Basic/0900 index cb8cf63e3..4503ae0c0 100644 --- a/test/scripts/0000-Basic/0900 +++ b/test/scripts/0000-Basic/0900 @@ -2,18 +2,19 @@ exim -DSERVER=server -bd -oX PORT_D **** # +# plain, small message (no body) client 127.0.0.1 PORT_D ??? 220 ehlo tester ??? 250- -??? 250- -??? 250- -??? 250- +??? 250-SIZE +??? 250-8BITMIME +??? 250-PIPELINING ??? 250-CHUNKING ??? 250 HELP mail from:someone@some.domain ??? 250 -rcpt to:CALLER@HOSTNAME +rcpt to:CALLER@test.ex ??? 250 bdat 88 last To: Susan@random.com @@ -26,6 +27,9 @@ quit ??? 221 **** # +# plain, small message (with body) +# nonlast 1st bdat, noop, last-bdat(0) +# immediate followon 2nd message client 127.0.0.1 PORT_D ??? 220 ehlo tester @@ -37,7 +41,7 @@ ehlo tester ??? 250 mail from:someone@some.domain ??? 250 -rcpt to:CALLER@HOSTNAME +rcpt to:CALLER@test.ex ??? 250 bdat 100 To: Susan@random.com @@ -53,7 +57,7 @@ bdat 0 last ??? 250 mail from:someone@some.domain ??? 250 -rcpt to:CALLER@HOSTNAME +rcpt to:CALLER@test.ex ??? 250 bdat 10 To: Susan@bdat 78 last @@ -81,7 +85,7 @@ ehlo tester ??? 250 mail from:someone@some.domain ??? 250 -rcpt to:CALLER@HOSTNAME +rcpt to:CALLER@test.ex ??? 250 bdat 89 last To: Susan@random.com @@ -104,7 +108,7 @@ ehlo tester ??? 250 mail from:someone@some.domain ??? 250 -rcpt to:CALLER@HOSTNAME +rcpt to:CALLER@test.ex ??? 250 bdat 88 To: Susan@random.com @@ -118,6 +122,7 @@ quit ??? 221 **** # +# followon EHLO and another message client 127.0.0.1 PORT_D ??? 220 ehlo tester @@ -129,7 +134,7 @@ ehlo tester ??? 250 mail from:someone@some.domain ??? 250 -rcpt to:CALLER@HOSTNAME +rcpt to:CALLER@test.ex ??? 250 bdat 88 To: Susan@random.com @@ -150,7 +155,7 @@ EHLO tester ??? 250 mail from:someone@some.domain ??? 250 -rcpt to:CALLER@HOSTNAME +rcpt to:CALLER@test.ex ??? 250 bdat 88 To: Susan@random.com @@ -166,5 +171,75 @@ quit ??? 221 **** # +# plain, small message (no body) +# pipelined +client 127.0.0.1 PORT_D +??? 220 +EHLO tester +??? 250- +??? 250-SIZE +??? 250-8BITMIME +??? 250-PIPELINING +??? 250-CHUNKING +??? 250 HELP +MAIL FROM:\r\nRCPT TO:\r\nBDAT 88 LAST\r\nTo: Susan@random.com\r\nFrom: Sam@random.com\r\nSubject: This is a bodyless test message\r\n +??? 250 +??? 250 +??? 250- +??? 250 +quit +??? 221 +**** +# +# plain, longer message (xple chunks), RCPT rejected +# pipelined +client 127.0.0.1 PORT_D +??? 220 +EHLO tester +??? 250- +??? 250-SIZE +??? 250-8BITMIME +??? 250-PIPELINING +??? 250-CHUNKING +??? 250 HELP +MAIL FROM:\r\nRCPT TO:\r\nBDAT 86\r\nTo: Susan@random.com\r\nFrom: Sal@random.com\r\nSubject: This is a bodyless test message\r\nBDAT 6 LAST\r\nZZ\r\n +??? 250 +??? 550 +??? 503- +??? 503- +??? 503 +??? 503- +??? 503- +??? 503 +quit +??? 221 +**** +# +# plain, small message (no body) +# header line with bad line-ending +client 127.0.0.1 PORT_D +??? 220 +ehlo tester +??? 250- +??? 250-SIZE +??? 250-8BITMIME +??? 250-PIPELINING +??? 250-CHUNKING +??? 250 HELP +mail from:someone@some.domain +??? 250 +rcpt to:CALLER@test.ex +??? 250 +bdat 87 last +>>> To: Susan@random.com\n +From: Sam@random.com +Subject: This is a Bodyless test message + +??? 552 +quit +??? 221 +**** +# +# killdaemon no_msglog_check