X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/44bc8f0c2f3576b46bd6df1b818cb29eaf84df5b..d63a9563033c690d8b7f572780b332fa9620ef3b:/test/scripts/0000-Basic/0902 diff --git a/test/scripts/0000-Basic/0902 b/test/scripts/0000-Basic/0902 index a1c4de4e1..5be294087 100644 --- a/test/scripts/0000-Basic/0902 +++ b/test/scripts/0000-Basic/0902 @@ -12,8 +12,8 @@ MAIL FROM 250 OK RCPT TO 250 OK -BDAT 317 -*data 317 +BDAT 295 +*data 295 250 OK nonlast bdat BDAT 8380 LAST *data 8380 @@ -22,7 +22,11 @@ QUIT 225 OK *eof **** -exim -odf a@test.ex +sudo exim -odf -bS +EHLO +MAIL FROM: +RCPT TO: +DATA Subject: foo 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 @@ -115,6 +119,8 @@ Subject: foo 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +. +QUIT **** # # @@ -128,13 +134,17 @@ MAIL FROM 250 OK RCPT TO 250 OK -BDAT 317 -*data 317 +BDAT 295 +*data 295 500 oops bdat-nonlast QUIT 225 OK **** -exim -odf d@test.ex +sudo exim -odf -bS +EHLO +MAIL FROM: +RCPT TO: +DATA Subject: foo 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 @@ -227,6 +237,8 @@ Subject: foo 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +. +QUIT **** # # @@ -243,10 +255,10 @@ EHLO 250 CHUNKING MAIL FROM RCPT TO -BDAT 317 +BDAT 295 250 OK mail 250 OK rcpt -*data 317 +*data 295 250 OK nonlast bdat BDAT 8380 LAST *data 8380 @@ -255,7 +267,11 @@ QUIT 225 OK *eof **** -exim -odf p@test.ex +sudo exim -odf -bS +EHLO +MAIL FROM: +RCPT TO: +DATA Subject: foo 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 @@ -348,6 +364,8 @@ Subject: foo 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +. +QUIT **** # # server rejects MAIL cmd @@ -362,15 +380,19 @@ EHLO 250 CHUNKING MAIL FROM RCPT TO -BDAT 317 -*data 317 +BDAT 295 +*data 295 550 unacceptable mail-from 550 rcpt ungood lacking mail-from 500 bdat (nonlast) ungood lacking mail-from QUIT 225 OK **** -exim -odf s@test.ex +sudo exim -odf -bS +EHLO +MAIL FROM: +RCPT TO: +DATA Subject: foo 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 @@ -463,6 +485,8 @@ Subject: foo 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +. +QUIT **** # # server rejects RCPT cmd @@ -474,15 +498,19 @@ EHLO 250 CHUNKING MAIL FROM RCPT TO -BDAT 317 -*data 317 +BDAT 295 +*data 295 250 OK mail 550 no such recipient 500 oops nonlast bdat - no rcpt QUIT 225 OK **** -exim -odf t@test.ex +sudo exim -odf -bS +EHLO +MAIL FROM: +RCPT TO: +DATA Subject: foo 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 @@ -575,6 +603,8 @@ Subject: foo 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +. +QUIT **** # # server rejects 1st RCPT cmd of two @@ -587,8 +617,8 @@ EHLO MAIL FROM RCPT TO RCPT TO -BDAT 301 -*data 301 +BDAT 279 +*data 279 250 OK mail 550 no such recipient 250 good recipient @@ -599,7 +629,12 @@ BDAT 8380 LAST QUIT 225 OK **** -exim -odf t1@test.ex t2@test.ex +sudo exim -odf -bS +EHLO +MAIL FROM: +RCPT TO: +RCPT TO: +DATA Subject: foo 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 @@ -692,6 +727,8 @@ Subject: foo 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +. +QUIT **** # # server rejects initial BDAT cmd @@ -703,15 +740,19 @@ EHLO 250 CHUNKING MAIL FROM RCPT TO -BDAT 317 -*data 317 +BDAT 295 +*data 295 250 OK mail 250 OK rcpt 500 oops nonlast bdat QUIT 225 OK **** -exim -odf u@test.ex +sudo exim -odf -bS +EHLO +MAIL FROM: +RCPT TO: +DATA Subject: foo 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 @@ -804,6 +845,8 @@ Subject: foo 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +. +QUIT **** # # server rejects final BDAT cmd @@ -815,8 +858,8 @@ EHLO 250 CHUNKING MAIL FROM RCPT TO -BDAT 317 -*data 317 +BDAT 295 +*data 295 250 OK mail 250 OK rcpt 250 OK nonlast bdat @@ -826,7 +869,11 @@ BDAT 8380 LAST QUIT 225 OK **** -exim -odf v@test.ex +sudo exim -odf -bS +EHLO +MAIL FROM: +RCPT TO: +DATA Subject: foo 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 @@ -919,6 +966,134 @@ Subject: foo 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +. +QUIT +**** +# +# message with long headers +server PORT_S +220 Greetings +EHLO +250-Hello there +250-PIPELINING +250 CHUNKING +MAIL FROM +RCPT TO +BDAT 8191 +250 OK mail +250 OK rcpt +*data 8191 +250 OK nonlast bdat +BDAT 807 LAST +*data 807 +250 OK bdat +QUIT +225 OK +*eof +**** +sudo exim -odf -bS +EHLO +MAIL FROM: +RCPT TO: +DATA +Subject: foo +X-long_hdr: 0 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 2 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 3 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 4 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 5 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 6 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 7 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 8 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + +body +1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 +. +QUIT **** # #