From f8a9dbd39188b2e42569fd84fc458cf1352773eb Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 15 Sep 2013 23:22:42 +0100 Subject: tests: Added test for SMTP SIZE capability --- tests/data/Makefile.am | 2 +- tests/data/test912 | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 tests/data/test912 (limited to 'tests') diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index 2d5fe4224..d11ce61a3 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -70,7 +70,7 @@ test850 test851 test852 test853 test854 test855 test856 test857 test858 \ test859 test860 test861 test862 \ \ test900 test901 test902 test903 test904 test905 test906 test907 test908 \ -test909 test910 test911 \ +test909 test910 test911 test912 \ \ test1000 test1001 test1002 test1003 test1004 test1005 test1006 test1007 \ test1008 test1009 test1010 test1011 test1012 test1013 test1014 test1015 \ diff --git a/tests/data/test912 b/tests/data/test912 new file mode 100644 index 000000000..beea8a246 --- /dev/null +++ b/tests/data/test912 @@ -0,0 +1,55 @@ + + + +SMTP +SIZE + + + +# +# Server-side + + +CAPA SIZE + + + +# +# Client-side + + +smtp + + +SMTP with SIZE support + + +From: different +To: another + +body + + +smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 912@foo --mail-from 912@from -T log/test912.eml + + + +# +# Verify data after the test has been "shot" + + +EHLO user +MAIL FROM:<912@from> SIZE=38 +RCPT TO:<912@foo> +DATA +QUIT + + +From: different +To: another + +body +. + + + -- cgit v1.2.3