X-Git-Url: https://git.exim.org/users/heiko/exim.git/blobdiff_plain/5fbb51949cbd9765421c5832c2d391f80f8183e9..c86cd3103d043eafe748934c5f79b819505b03e9:/test/scripts/0000-Basic/0589?ds=inline diff --git a/test/scripts/0000-Basic/0589 b/test/scripts/0000-Basic/0589 index 8cea367eb..44328a70c 100644 --- a/test/scripts/0000-Basic/0589 +++ b/test/scripts/0000-Basic/0589 @@ -1,44 +1,45 @@ -# verify quota at smtp time +# message_linelength_limit +# +# The "write" script cmd subtracts 1 for the newline, +# and the linecount in exim doesn't count the line-ending. +write test-data-good 1x999 +++++ +**** +write test-data-bad 1x1000 +++++ +**** # exim -bd -DSERVER=server -oX PORT_D **** client 127.0.0.1 PORT_D ??? 220 -EHLO test -??? 250- -??? 250-SIZE -??? 250-8BITMIME -??? 250-PIPELINING -??? 250 HELP -MAIL FROM:\r\nRCPT TO: -??? 250 -??? 250 -RSET -??? 250 -MAIL FROM: SIZE=2048\r\nRCPT TO: -??? 250 -??? 550 -RSET -??? 250 -MAIL FROM:\r\nRCPT TO: -??? 250 -??? 550 -RSET +HELO test ??? 250 -MAIL FROM:\r\nRCPT TO: +MAIL FROM: ??? 250 +RCPT TO: ??? 250 -RSET +DATA +??? 354 +Subject: should be good + +<<< test-data-good +. ??? 250 -MAIL FROM: SIZE=512\r\nRCPT TO: +MAIL FROM: ??? 250 -??? 550 -RSET +RCPT TO: ??? 250 -MAIL FROM:\r\nRCPT TO: +DATA +??? 354 +Subject: should be bad + +<<< test-data-bad +. ??? 250 -??? 550 QUIT +??? 221 **** # +sleep 1 killdaemon