From b56d7cda741971d5737c326d9452bfe5836bf989 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sat, 16 Nov 2013 12:10:15 +0000 Subject: [PATCH] tests: Added SMTP EXPN command test --- tests/data/Makefile.am | 1 + tests/data/test927 | 43 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 tests/data/test927 diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index 007582a5f..f8d6d06d2 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -75,6 +75,7 @@ test868 test869 test870 test871 test872 test873 test874 \ test900 test901 test902 test903 test904 test905 test906 test907 test908 \ test909 test910 test911 test912 test913 test914 test915 test916 test917 \ test918 test919 test920 test921 test922 test923 test924 test925 test926 \ +test927 \ \ test1000 test1001 test1002 test1003 test1004 test1005 test1006 test1007 \ test1008 test1009 test1010 test1011 test1012 test1013 test1014 test1015 \ diff --git a/tests/data/test927 b/tests/data/test927 new file mode 100644 index 000000000..b1997102e --- /dev/null +++ b/tests/data/test927 @@ -0,0 +1,43 @@ + + + +SMTP +EXPN +CUSTOMREQUEST + + + +# +# Server-side + + +250-Joe Smith +250-Harry Smith +250 Melvin Smith + + + +# +# Client-side + + +smtp + + +SMTP mailing list EXPN (CUSTOMREQUEST) + + +smtp://%HOSTIP:%SMTPPORT/927 --mail-rcpt Friends -X EXPN + + + +# +# Verify data after the test has been "shot" + + +EHLO 927 +EXPN Friends +QUIT + + +