From f9b691cdb0336438f4e2775fa911c1075f9a0dad Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sat, 27 Apr 2013 13:04:02 +0100 Subject: tests: Added SMTP AUTH with initial response tests --- tests/data/test907 | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 tests/data/test907 (limited to 'tests/data/test907') diff --git a/tests/data/test907 b/tests/data/test907 new file mode 100644 index 000000000..d7a25e5b4 --- /dev/null +++ b/tests/data/test907 @@ -0,0 +1,54 @@ + + + +SMTP +SMTP AUTH PLAIN SASL-IR +RFC4616 +RFC4954 + + + +# +# Server-side + + +REPLY EHLO 250 AUTH PLAIN +REPLY AUTH 235 Authenticated + + + +# +# Client-side + + +smtp + + +SMTP plain authentication with initial response + + +mail body + + +smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 907@foo --mail-from 907@from -u test:1234 -T --sasl-ir - + + + +# +# Verify data after the test has been "shot" + + +EHLO user +AUTH PLAIN dGVzdAB0ZXN0ADEyMzQ= +MAIL FROM:<907@from> +RCPT TO:<907@foo> +DATA +QUIT + + +mail body + +. + + + -- cgit v1.2.3