X-Git-Url: https://git.exim.org/users/heiko/exim.git/blobdiff_plain/da47dd4d092ba35e4f8ff055d79693cc1266c816..e2be2df5c0760e2b6a7870c88ad486a23f5e4b01:/test/scripts/0000-Basic/0589 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