Commit 52cefc8c authored by Steve Holme's avatar Steve Holme
Browse files

tests: Fixed smtp rcpt to addresses

parent 8880f84e
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ To: another
body
</stdin>
 <command>
smtp://smtp.1320:%SMTPPORT/user --mail-rcpt 1320@foo --mail-rcpt 1320@foobar.example --mail-from 1320@example.com -T - -p -x %HOSTIP:%PROXYPORT
smtp://smtp.1320:%SMTPPORT/user --mail-rcpt 1320@example.com --mail-from 1320@example.com -T - -p -x %HOSTIP:%PROXYPORT
</command>
</client>

@@ -48,8 +48,7 @@ smtp://smtp.1320:%SMTPPORT/user --mail-rcpt 1320@foo --mail-rcpt 1320@foobar.exa
<protocol>
EHLO user
MAIL FROM:<1320@example.com>
RCPT TO:<1320@foo>
RCPT TO:<1320@foobar.example>
RCPT TO:<1320@example.com>
DATA
QUIT
</protocol>
+5 −5
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ To: another
body
</file>
 <command>
smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 1406@foo --mail-rcpt 1406@foobar.example --mail-from 1406@example.com -T log/test1406.eml --libcurl log/test1406.c
smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 1406@example.com --mail-rcpt 1406@foobar.example.com --mail-from 1406@example.com -T log/test1406.eml --libcurl log/test1406.c
</command>
</client>

@@ -42,8 +42,8 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 1406@foo --mail-rcpt 1406@foobar.examp
<protocol>
EHLO user
MAIL FROM:<1406@example.com> SIZE=38
RCPT TO:<1406@foo>
RCPT TO:<1406@foobar.example>
RCPT TO:<1406@example.com>
RCPT TO:<1406@foobar.example.com>
DATA
QUIT
</protocol>
@@ -68,8 +68,8 @@ int main(int argc, char *argv[])
  struct curl_slist *slist1;

  slist1 = NULL;
  slist1 = curl_slist_append(slist1, "1406@foo");
  slist1 = curl_slist_append(slist1, "1406@foobar.example");
  slist1 = curl_slist_append(slist1, "1406@example.com");
  slist1 = curl_slist_append(slist1, "1406@foobar.example.com");

  hnd = curl_easy_init();
  curl_easy_setopt(hnd, CURLOPT_INFILESIZE_LARGE, (curl_off_t)38);
+2 −2
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ To: another
body
</stdin>
 <command>
smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 900@foo --mail-from 900@example.com -T -
smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 900@example.com --mail-from 900@example.com -T -
</command>
</client>

@@ -36,7 +36,7 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 900@foo --mail-from 900@example.com -T
<protocol>
EHLO user
MAIL FROM:<900@example.com>
RCPT TO:<900@foo>
RCPT TO:<900@example.com>
DATA
QUIT
</protocol>
+2 −2
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ To: another
body
</stdin>
 <command>
smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 901@foo --mail-from 901@example.com -T -
smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 901@example.com --mail-from 901@example.com -T -
</command>
</client>

@@ -42,7 +42,7 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 901@foo --mail-from 901@example.com -T
<protocol>
EHLO user
MAIL FROM:<901@example.com>
RCPT TO:<901@foo>
RCPT TO:<901@example.com>
DATA
QUIT
</protocol>
+2 −2
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ To: another
body
</stdin>
 <command>
smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 902@foo --mail-from 902@example.com -T -
smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 902@example.com --mail-from 902@example.com -T -
</command>
</client>

@@ -42,7 +42,7 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 902@foo --mail-from 902@example.com -T
EHLO user
HELO user
MAIL FROM:<902@example.com>
RCPT TO:<902@foo>
RCPT TO:<902@example.com>
DATA
QUIT
</protocol>
Loading