X-Git-Url: https://vcs.fsf.org/?p=exim.git;a=blobdiff_plain;f=test%2Fstdout%2F0901;h=c4020ae5f8bdd29fd9dea7b55d545cc3c5f206e4;hp=88f2c40dea2781722e0115678a34dfdf834cdce5;hb=a9f4f5d741fa0414a4a3e30aabde179dba3fb1ef;hpb=c7cb9a4ad23afdf5998b68edb752ed310f9cb947 diff --git a/test/stdout/0901 b/test/stdout/0901 index 88f2c40de..c4020ae5f 100644 --- a/test/stdout/0901 +++ b/test/stdout/0901 @@ -1,199 +1,336 @@ - -******** SERVER ******** -Listening on port 1224 ... -Connection request from [127.0.0.1] -220 Greetings -EHLO testhost.test.ex -250-Hello there -250 CHUNKING -MAIL FROM:<> -250 OK -RCPT TO: -250 OK -BDAT 343 LAST -250 OK -QUIT -225 OK -Expected EOF read from client +Connecting to 127.0.0.1 port 1225 ... connected +??? 220 +<<< 220 testhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +>>> ehlo tester +??? 250- +<<< 250-testhost.test.ex Hello tester [127.0.0.1] +??? 250-SIZE +<<< 250-SIZE 52428800 +??? 250-8BITMIME +<<< 250-8BITMIME +??? 250-CHUNKING +<<< 250-CHUNKING +??? 250 HELP +<<< 250 HELP +>>> mail from:someone1@some.domain +??? 250 +<<< 250 OK +>>> rcpt to:CALLER@test.ex +??? 250 +<<< 250 Accepted +>>> bdat 88 last +>>> To: Susan@random.com +>>> From: Sam@random.com +>>> Subject: This is a bodyless test message +>>> +??? 250- +<<< 250- 88 byte chunk, total 88 +??? 250 +<<< 250 OK id=10HmaX-0005vi-00 +>>> quit +??? 221 +<<< 221 testhost.test.ex closing connection End of script -Listening on port 1224 ... -Connection request from [127.0.0.1] -220 Greetings -EHLO testhost.test.ex -250-Hello there -250 CHUNKING -MAIL FROM:<> -250 good mail cmd -RCPT TO: -250 acceptable rcpt cmd -BDAT 343 LAST -Unxpected EOF read from client -Listening on port 1224 ... -Connection request from [127.0.0.1] -220 Greetings -EHLO testhost.test.ex -250-Hello there -250 CHUNKING -MAIL FROM:<> -250 OK -RCPT TO: -250 OK -BDAT 343 LAST -250 OK - -Comparison failed - bailing out -Expected: QUIT -Listening on port 1224 ... -Connection request from [127.0.0.1] -220 Greetings -EHLO testhost.test.ex -250-Hello there -250 CHUNKING -MAIL FROM:<> -250 OK -RCPT TO: -250 OK -BDAT 343 LAST -500 oops -QUIT -225 OK +Connecting to 127.0.0.1 port 1225 ... connected +??? 220 +<<< 220 testhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +>>> ehlo tester +??? 250- +<<< 250-testhost.test.ex Hello tester [127.0.0.1] +??? 250- +<<< 250-SIZE 52428800 +??? 250- +<<< 250-8BITMIME +??? 250- +<<< 250-CHUNKING +??? 250 +<<< 250 HELP +>>> mail from:someone2@some.domain +??? 250 +<<< 250 OK +>>> rcpt to:CALLER@test.ex +??? 250 +<<< 250 Accepted +>>> bdat 100 +>>> To: Susan@random.com +>>> From: Sam@random.com +>>> Subject: This is a bodyfull test message +>>> +>>> 1234567890 +??? 250 +<<< 250 100 byte chunk received +>>> noop +??? 250 +<<< 250 OK +>>> bdat 0 last +??? 250- +<<< 250- 0 byte chunk, total 100 +??? 250 +<<< 250 OK id=10HmaY-0005vi-00 +>>> mail from:someone3@some.domain +??? 250 +<<< 250 OK +>>> rcpt to:CALLER@test.ex +??? 250 +<<< 250 Accepted +>>> bdat 10 +>>> To: Susan@ +??? 250 +<<< 250 10 byte chunk received +>>> bdat 78 last +>>> random.com +>>> From: Sam@random.com +>>> Subject: This is a bodyless test message +>>> +??? 250- +<<< 250- 78 byte chunk, total 88 +??? 250 +<<< 250 OK id=10HmaZ-0005vi-00 +>>> quit +??? 221 +<<< 221 testhost.test.ex closing connection End of script -Listening on port 1224 ... -Connection request from [127.0.0.1] -220 Greetings -EHLO testhost.test.ex -250-Hello there -250 CHUNKING -MAIL FROM:<> -250 OK -RCPT TO: -250 OK -BDAT 343 LAST -400 not right now -QUIT -225 OK +Connecting to 127.0.0.1 port 1225 ... connected +??? 220 +<<< 220 testhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +>>> ehlo tester +??? 250- +<<< 250-testhost.test.ex Hello tester [127.0.0.1] +??? 250- +<<< 250-SIZE 52428800 +??? 250- +<<< 250-8BITMIME +??? 250- +<<< 250-CHUNKING +??? 250 +<<< 250 HELP +>>> mail from:someone2A@some.domain +??? 250 +<<< 250 OK +>>> rcpt to:CALLER@test.ex +??? 250 +<<< 250 Accepted +>>> bdat 100 +>>> To: Susan@random.com +>>> From: Sam@random.com +>>> Subject: This is a bodyfull test message +>>> +>>> 1234567890 +??? 250 +<<< 250 100 byte chunk received +>>> noop +??? 250 +<<< 250 OK +>>> bdat 0 last +??? 250- +<<< 250- 0 byte chunk, total 100 +??? 250 +<<< 250 OK id=10HmbA-0005vi-00 +>>> mail from:someone3A@some.domain +??? 250 +<<< 250 OK +>>> rcpt to:CALLER@test.ex +??? 250 +<<< 250 Accepted +>>> bdat 10 +>>> To: Susan@ +??? 250 +<<< 250 10 byte chunk received +>>> bdat 78 last +>>> random.com +>>> From: Sam@random.com +>>> Subject: This is a bodyless test message +>>> +??? 250- +<<< 250- 78 byte chunk, total 88 +??? 250 +<<< 250 OK id=10HmbB-0005vi-00 +>>> quit +??? 221 +<<< 221 testhost.test.ex closing connection End of script -Listening on port 1224 ... -Connection request from [127.0.0.1] -220 Greetings -EHLO testhost.test.ex -250-Hello there -250-PIPELINING -250 CHUNKING -MAIL FROM:<> -RCPT TO: -BDAT 343 LAST -250 OK mail -250 OK rcpt -250 OK bdat -QUIT -225 OK -Expected EOF read from client +Connecting to 127.0.0.1 port 1225 ... connected +??? 220 +<<< 220 testhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +>>> ehlo tester +??? 250- +<<< 250-testhost.test.ex Hello tester [127.0.0.1] +??? 250- +<<< 250-SIZE 52428800 +??? 250- +<<< 250-8BITMIME +??? 250- +<<< 250-CHUNKING +??? 250 +<<< 250 HELP +>>> mail from:someone4@some.domain +??? 250 +<<< 250 OK +>>> rcpt to:CALLER@test.ex +??? 250 +<<< 250 Accepted +>>> bdat 89 last +>>> To: Susan@random.com +>>> From: Sam@random.com +>>> Subject: This is a bodyless test message +>>> +??? 421 +<<< 421 testhost.test.ex SMTP incoming data timeout - closing connection. End of script -Listening on port 1224 ... -Connection request from [127.0.0.1] -220 Greetings -EHLO testhost.test.ex -250-Hello there -250-PIPELINING -250 CHUNKING -MAIL FROM:<> -RCPT TO: -BDAT 343 LAST -Unxpected EOF read from client -Listening on port 1224 ... -Connection request from [127.0.0.1] -220 Greetings -EHLO testhost.test.ex -250-Hello there -250-PIPELINING -250 CHUNKING -MAIL FROM:<> -RCPT TO: -BDAT 343 LAST -250 OK mail -250 OK rcpt -250 OK bdat - -Comparison failed - bailing out -Expected: QUIT -Listening on port 1224 ... -Connection request from [127.0.0.1] -220 Greetings -EHLO testhost.test.ex -250-Hello there -250-PIPELINING -250 CHUNKING -MAIL FROM:<> -RCPT TO: -BDAT 343 LAST -550 unacceptable mail-from -550 rcpt ungood lacking mail-from -500 bdat ungood lacking mail-from -QUIT -225 OK +Connecting to 127.0.0.1 port 1225 ... connected +??? 220 +<<< 220 testhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +>>> ehlo tester +??? 250- +<<< 250-testhost.test.ex Hello tester [127.0.0.1] +??? 250- +<<< 250-SIZE 52428800 +??? 250- +<<< 250-8BITMIME +??? 250- +<<< 250-CHUNKING +??? 250 +<<< 250 HELP +>>> mail from:someone5@some.domain +??? 250 +<<< 250 OK +>>> rcpt to:CALLER@test.ex +??? 250 +<<< 250 Accepted +>>> bdat 88 +>>> To: Susan@random.com +>>> From: Sam@random.com +>>> Subject: This is a bodyless test message +>>> +??? 250 +<<< 250 88 byte chunk received +>>> bdat 0 +??? 504 +<<< 504 zero size for BDAT command +>>> quit +??? 221 +<<< 221 testhost.test.ex closing connection End of script -Listening on port 1224 ... -Connection request from [127.0.0.1] -220 Greetings -EHLO testhost.test.ex -250-Hello there -250-PIPELINING -250 CHUNKING -MAIL FROM:<> -RCPT TO: -BDAT 344 LAST -450 greylisted mail-from -550 rcpt ungood lacking mail-from -500 bdat ungood lacking mail-from -QUIT -225 OK +Connecting to 127.0.0.1 port 1225 ... connected +??? 220 +<<< 220 testhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +>>> ehlo tester +??? 250- +<<< 250-testhost.test.ex Hello tester [127.0.0.1] +??? 250- +<<< 250-SIZE 52428800 +??? 250- +<<< 250-8BITMIME +??? 250- +<<< 250-CHUNKING +??? 250 +<<< 250 HELP +>>> mail from:someone6@some.domain +??? 250 +<<< 250 OK +>>> rcpt to:CALLER@test.ex +??? 250 +<<< 250 Accepted +>>> bdat 88 +>>> To: Susan@random.com +>>> From: Sam@random.com +>>> Subject: This is a bodyless test message +>>> +??? 250 +<<< 250 88 byte chunk received +>>> data +??? 503 +<<< 503 only BDAT permissible after non-LAST BDAT +>>> RSET +??? 250 +<<< 250 Reset OK +>>> EHLO tester +??? 250- +<<< 250-testhost.test.ex Hello tester [127.0.0.1] +??? 250- +<<< 250-SIZE 52428800 +??? 250- +<<< 250-8BITMIME +??? 250- +<<< 250-CHUNKING +??? 250 +<<< 250 HELP +>>> mail from:someone7@some.domain +??? 250 +<<< 250 OK +>>> rcpt to:CALLER@test.ex +??? 250 +<<< 250 Accepted +>>> bdat 88 +>>> To: Susan@random.com +>>> From: Sam@random.com +>>> Subject: This is a bodyless test message +>>> +??? 250 +<<< 250 88 byte chunk received +>>> data +??? 503 +<<< 503 only BDAT permissible after non-LAST BDAT +>>> data +??? 503 +<<< 503 only RSET accepted now +>>> quit +??? 221 +<<< 221 testhost.test.ex closing connection End of script -Listening on port 1224 ... -Connection request from [127.0.0.1] -220 Greetings -EHLO testhost.test.ex -250-Hello there -250-PIPELINING -250 CHUNKING -MAIL FROM:<> -RCPT TO: -BDAT 343 LAST -250 OK mail -550 no such recipient -500 oops bdat -QUIT -225 OK +Connecting to 127.0.0.1 port 1225 ... connected +??? 220 +<<< 220 testhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +>>> ehlo tester +??? 250- +<<< 250-testhost.test.ex Hello tester [127.0.0.1] +??? 250-SIZE +<<< 250-SIZE 52428800 +??? 250-8BITMIME +<<< 250-8BITMIME +??? 250-CHUNKING +<<< 250-CHUNKING +??? 250 HELP +<<< 250 HELP +>>> mail from:someone8@some.domain +??? 250 +<<< 250 OK +>>> rcpt to:CALLER@test.ex +??? 250 +<<< 250 Accepted +>>> bdat 88 last\r\nTo: Susan@random.com +>>> From: Sam@random.com +>>> Subject: This is a bodyless test message +>>> +??? 250- +<<< 250- 88 byte chunk, total 88 +??? 250 +<<< 250 OK id=10HmbD-0005vi-00 +>>> quit +??? 221 +<<< 221 testhost.test.ex closing connection End of script -Listening on port 1224 ... -Connection request from [127.0.0.1] -220 Greetings -EHLO testhost.test.ex -250-Hello there -250-PIPELINING -250 CHUNKING -MAIL FROM:<> -RCPT TO: -BDAT 343 LAST -250 OK mail -250 OK rcpt -500 oops bdat -QUIT -225 OK -End of script -Listening on port 1224 ... -Connection request from [127.0.0.1] -220 Greetings -EHLO testhost.test.ex -250-Hello there -250-PIPELINING -250 CHUNKING -MAIL FROM:<> -RCPT TO: -BDAT 343 LAST -250 OK mail -250 OK rcpt -400 not right now bdat -QUIT -225 OK +Connecting to 127.0.0.1 port 1225 ... connected +??? 220 +<<< 220 testhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +>>> ehlo tester +??? 250- +<<< 250-testhost.test.ex Hello tester [127.0.0.1] +??? 250-SIZE +<<< 250-SIZE 52428800 +??? 250-8BITMIME +<<< 250-8BITMIME +??? 250-CHUNKING +<<< 250-CHUNKING +??? 250 HELP +<<< 250 HELP +>>> MAIL FROM:someone9@some.domain +??? 250 +<<< 250 OK +>>> RCPT TO:CALLER@test.ex +??? 250 +<<< 250 Accepted +>>> BDAT 1\r\nTBDAT 87 last\r\no: Susan@random.com\r\nFrom: Sam@random.com\r\nSubject: This is a bodyless test message\r\n\r\n +??? 554 SMTP synchronization error +<<< 554 SMTP synchronization error End of script