X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/2d14f39731e88a6d6bb9f1b5c56f497eb12198c4..87229a18d1fbe959d38f82bde661b57fed11d220:/test/scripts/0000-Basic/0900?ds=sidebyside diff --git a/test/scripts/0000-Basic/0900 b/test/scripts/0000-Basic/0900 index 435906d60..4edc82952 100644 --- a/test/scripts/0000-Basic/0900 +++ b/test/scripts/0000-Basic/0900 @@ -14,7 +14,7 @@ ehlo tester ??? 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 @@ -38,10 +38,53 @@ ehlo tester ??? 250- ??? 250- ??? 250- -??? 250 +??? 250 +mail from:someone@some.domain +??? 250 +rcpt to:CALLER@test.ex +??? 250 +bdat 100 +To: Susan@random.com +From: Sam@random.com +Subject: This is a bodyfull test message + +1234567890 +??? 250 +noop +??? 250 +bdat 0 last +??? 250- +??? 250 mail from:someone@some.domain ??? 250 -rcpt to:CALLER@HOSTNAME +rcpt to:CALLER@test.ex +??? 250 +bdat 10 +To: Susan@bdat 78 last +??? 250 +random.com +From: Sam@random.com +Subject: This is a bodyless test message + +??? 250- +??? 250 +quit +??? 221 +**** +# +# Same again but with RSET between the two +client 127.0.0.1 PORT_D +??? 220 +ehlo tester +??? 250- +??? 250- +??? 250- +??? 250- +??? 250- +??? 250 +mail from:some_ne@some.domain +??? 250 +rcpt to:CALLER@test.ex ??? 250 bdat 100 To: Susan@random.com @@ -55,9 +98,11 @@ noop bdat 0 last ??? 250- ??? 250 +RSET +??? 250 mail from:someone@some.domain ??? 250 -rcpt to:CALLER@HOSTNAME +rcpt to:CALLER@test.ex ??? 250 bdat 10 To: Susan@bdat 78 last @@ -82,10 +127,10 @@ ehlo tester ??? 250- ??? 250- ??? 250- -??? 250 +??? 250 mail from:someone@some.domain ??? 250 -rcpt to:CALLER@HOSTNAME +rcpt to:CALLER@test.ex ??? 250 bdat 89 last To: Susan@random.com @@ -105,10 +150,10 @@ ehlo tester ??? 250- ??? 250- ??? 250- -??? 250 +??? 250 mail from:someone@some.domain ??? 250 -rcpt to:CALLER@HOSTNAME +rcpt to:CALLER@test.ex ??? 250 bdat 88 To: Susan@random.com @@ -131,10 +176,10 @@ ehlo tester ??? 250- ??? 250- ??? 250- -??? 250 +??? 250 mail from:someone@some.domain ??? 250 -rcpt to:CALLER@HOSTNAME +rcpt to:CALLER@test.ex ??? 250 bdat 88 To: Susan@random.com @@ -152,10 +197,10 @@ EHLO tester ??? 250- ??? 250- ??? 250- -??? 250 +??? 250 mail from:someone@some.domain ??? 250 -rcpt to:CALLER@HOSTNAME +rcpt to:CALLER@test.ex ??? 250 bdat 88 To: Susan@random.com @@ -182,14 +227,152 @@ EHLO tester ??? 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 +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 +**** +# +# Two rejected messages, pipielined, RSET between +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 relay not permitted +??? 503-All RCPT commands were rejected +??? 503- +??? 503 +??? 503-All RCPT commands were rejected +??? 503- +??? 503 +RSET +??? 250 +NOOP +??? 250 +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-All RCPT commands were rejected +??? 503- +??? 503 +??? 503- +??? 503- +??? 503 +quit +??? 221 +**** +# +# Two messages, pipielined, 1st abandoned midway, RSET between +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: Sa5@random.com\r\nSubject: This is a bodyless test message\r\nRSET +??? 250 OK +??? 250 Accepted +??? 250 86 byte chunk received +??? 250 Reset OK +MAIL FROM:\r\nRCPT TO:\r\nBDAT 86\r\nTo: Susan@random.com\r\nFrom: Sa6@random.com\r\nSubject: This is a bodyless test message\r\nBDAT 6 LAST\r\nZZ\r\n +??? 250 OK +??? 250 Accepted +??? 250 86 byte chunk received +??? 250- 6 byte chunk, total 93 +??? 250 OK +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 +**** +# +# plain, small message (body w/o lineend) +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 98 last +To: Susan@random.com +From: Sam@random.com +Subject: This is a bodyfull test message + +>>> 1234567890 ??? 250- ??? 250 quit ??? 221 **** # +# killdaemon no_msglog_check