From 2668ed87c9346d474341ec4ee654f0bab9a2e68f Mon Sep 17 00:00:00 2001 From: Todd Lyons Date: Mon, 4 Jun 2012 06:03:18 -0700 Subject: Test for proper parsing of optional MAIL FROM args. --- test/scripts/0000-Basic/0566 | 73 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 test/scripts/0000-Basic/0566 (limited to 'test/scripts') diff --git a/test/scripts/0000-Basic/0566 b/test/scripts/0000-Basic/0566 new file mode 100644 index 000000000..c4dc0d8aa --- /dev/null +++ b/test/scripts/0000-Basic/0566 @@ -0,0 +1,73 @@ +# Optional MAIL FROM args processing +# +# SIZE alone +exim -bs +ehlo Testing +mail from: SIZE=1000 +rcpt to: +quit +**** +# BODY alone +exim -bs +ehlo Testing +mail from: BODY=7BIT +rcpt to: +quit +**** +# SIZE then BODY +exim -bs +ehlo Testing +mail from: SIZE=1000 BODY=7BIT +rcpt to: +quit +**** +# BODY then SIZE +exim -bs +ehlo Testing +mail from: BODY=7BIT SIZE=1000 +rcpt to: +quit +**** +# AUTH then BODY then SIZE +exim -bs +ehlo Testing +mail from: AUTH=x@y BODY=7BIT SIZE=1000 +rcpt to: +quit +**** +# BODY then AUTH then SIZE +exim -bs +ehlo Testing +mail from: BODY=7BIT AUTH=x@y SIZE=1000 +rcpt to: +quit +**** +# SIZE then BODY then AUTH +exim -bs +ehlo Testing +mail from: SIZE=1000 BODY=7BIT AUTH=x@y +rcpt to: +quit +**** +# SIZE then BODY then SIZE +exim -bs +ehlo Testing +mail from: SIZE=1000 BODY=7BIT SIZE=1200 +rcpt to: +quit +**** +# (over)SIZE then BODY +exim -bs +ehlo Testing +mail from: SIZE=40004 BODY=8BITMIME +rcpt to: +quit +**** +# BODY then (over)SIZE +exim -bs +ehlo Testing +mail from: BODY=8BITMIME SIZE=40004 +rcpt to: +quit +**** +no_msglog_check -- cgit v1.2.3