From e6d99f4ba70955ef25ccb8b44f18ba0e16a7a63e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 22 Dec 2010 14:53:13 +0100 Subject: SMTP tests: updated MAIL FROM use They were all wrong previously since none used the they should for MAIL FROM. Now libcurl adds them itself if the app doesn't so they end up wrong less easy. --- tests/data/test802 | 2 +- tests/data/test803 | 4 ++-- tests/data/test804 | 2 +- tests/data/test805 | 2 +- tests/data/test806 | 2 +- tests/data/test807 | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) (limited to 'tests/data') diff --git a/tests/data/test802 b/tests/data/test802 index 7027c802d..12e46c9c3 100644 --- a/tests/data/test802 +++ b/tests/data/test802 @@ -35,7 +35,7 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 802@foo --mail-rcpt 802@foobar.example EHLO user -MAIL FROM:802@from +MAIL FROM:<802@from> RCPT TO:<802@foo> RCPT TO:<802@foobar.example> DATA diff --git a/tests/data/test803 b/tests/data/test803 index 24ff0d001..a00ed7ab6 100644 --- a/tests/data/test803 +++ b/tests/data/test803 @@ -32,7 +32,7 @@ To: another body -smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 803@foo --mail-from 803@from -T - +smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 803@foo --mail-from '<803@from>' -T - @@ -41,7 +41,7 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 803@foo --mail-from 803@from -T - EHLO user -MAIL FROM:803@from +MAIL FROM:<803@from> RCPT TO:<803@foo> DATA QUIT diff --git a/tests/data/test804 b/tests/data/test804 index 3d490c52b..cfacfc64f 100644 --- a/tests/data/test804 +++ b/tests/data/test804 @@ -42,7 +42,7 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 804@foo --mail-from 804@from -T - EHLO user HELO user -MAIL FROM:804@from +MAIL FROM:<804@from> RCPT TO:<804@foo> DATA QUIT diff --git a/tests/data/test805 b/tests/data/test805 index fba5124f3..4595221c9 100644 --- a/tests/data/test805 +++ b/tests/data/test805 @@ -40,7 +40,7 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 805@foo --mail-from 805@from -u test:1 EHLO user AUTH PLAIN dGVzdAB0ZXN0ADEyMzQ= -MAIL FROM:805@from +MAIL FROM:<805@from> RCPT TO:<805@foo> DATA QUIT diff --git a/tests/data/test806 b/tests/data/test806 index 8ece5dc8c..b71ac5cce 100644 --- a/tests/data/test806 +++ b/tests/data/test806 @@ -41,7 +41,7 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 806@foo --mail-from 806@from -u test:1 EHLO user AUTH LOGIN dGVzdA== MTIzNA== -MAIL FROM:806@from +MAIL FROM:<806@from> RCPT TO:<806@foo> DATA QUIT diff --git a/tests/data/test807 b/tests/data/test807 index 6daa1d02b..d171ffabc 100644 --- a/tests/data/test807 +++ b/tests/data/test807 @@ -45,7 +45,7 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 807@foo --mail-from 807@from -u tim:ta EHLO user AUTH CRAM-MD5 dGltIGI5MTNhNjAyYzdlZGE3YTQ5NWI0ZTZlNzMzNGQzODkw -MAIL FROM:807@from +MAIL FROM:<807@from> RCPT TO:<807@foo> DATA QUIT -- cgit v1.2.3