]> granicus.if.org Git - curl/commitdiff
tests: Updated email addresses in SMTP tests following recent changes
authorSteve Holme <steve_holme@hotmail.com>
Sun, 29 Sep 2013 15:48:02 +0000 (16:48 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Sun, 29 Sep 2013 15:48:02 +0000 (16:48 +0100)
21 files changed:
tests/data/test1320
tests/data/test1406
tests/data/test900
tests/data/test901
tests/data/test902
tests/data/test903
tests/data/test904
tests/data/test905
tests/data/test906
tests/data/test907
tests/data/test908
tests/data/test909
tests/data/test910
tests/data/test911
tests/data/test912
tests/data/test913
tests/data/test914
tests/data/test915
tests/data/test916
tests/data/test917
tests/data/test918

index 4d6c8ea85c05883fb5c24bf9e7e21b5f007746b1..a84784889af87b58cc5da112483d8e5d965b9009 100644 (file)
@@ -35,7 +35,7 @@ To: another
 body\r
 </stdin>
  <command>
-smtp://smtp.1320:%SMTPPORT/1320 --mail-rcpt 1320@example.com --mail-from 1320@example.com -T - -p -x %HOSTIP:%PROXYPORT
+smtp://smtp.1320:%SMTPPORT/1320 --mail-rcpt recipient@example.com --mail-from sender@example.com -T - -p -x %HOSTIP:%PROXYPORT
 </command>
 </client>
 
@@ -47,8 +47,8 @@ smtp://smtp.1320:%SMTPPORT/1320 --mail-rcpt 1320@example.com --mail-from 1320@ex
 </strip>
 <protocol>
 EHLO 1320\r
-MAIL FROM:<1320@example.com>\r
-RCPT TO:<1320@example.com>\r
+MAIL FROM:<recipient@example.com>\r
+RCPT TO:<sender@example.com>\r
 DATA\r
 QUIT\r
 </protocol>
index 819e44313cb9b9258e039e8f235c8071eed63041..61a5ba28cbec9e0b5fcb0d53600e667009252e47 100644 (file)
@@ -32,7 +32,7 @@ To: another
 body\r
 </file>
  <command>
-smtp://%HOSTIP:%SMTPPORT/1406 --mail-rcpt 1406@example.com --mail-rcpt 1406@foobar.example.com --mail-from 1406@example.com -T log/test1406.eml --libcurl log/test1406.c
+smtp://%HOSTIP:%SMTPPORT/1406 --mail-rcpt recipient.one@example.com --mail-rcpt recipient.two@example.com --mail-from sender@example.com -T log/test1406.eml --libcurl log/test1406.c
 </command>
 </client>
 
@@ -41,9 +41,9 @@ smtp://%HOSTIP:%SMTPPORT/1406 --mail-rcpt 1406@example.com --mail-rcpt 1406@foob
 <verify>
 <protocol>
 EHLO 1406\r
-MAIL FROM:<1406@example.com> SIZE=38\r
-RCPT TO:<1406@example.com>\r
-RCPT TO:<1406@foobar.example.com>\r
+MAIL FROM:<sender@example.com> SIZE=38\r
+RCPT TO:<recipient.one@example.com>\r
+RCPT TO:<recipient.two@foobar.example.com>\r
 DATA\r
 QUIT\r
 </protocol>
@@ -68,8 +68,8 @@ int main(int argc, char *argv[])
   struct curl_slist *slist1;
 
   slist1 = NULL;
-  slist1 = curl_slist_append(slist1, "1406@example.com");
-  slist1 = curl_slist_append(slist1, "1406@foobar.example.com");
+  slist1 = curl_slist_append(slist1, "recipient.one@example.com");
+  slist1 = curl_slist_append(slist1, "recipient.two@example.com");
 
   hnd = curl_easy_init();
   curl_easy_setopt(hnd, CURLOPT_INFILESIZE_LARGE, (curl_off_t)38);
@@ -80,7 +80,7 @@ int main(int argc, char *argv[])
   curl_easy_setopt(hnd, CURLOPT_MAXREDIRS, 50L);
   curl_easy_setopt(hnd, CURLOPT_VERBOSE, 1L);
   curl_easy_setopt(hnd, CURLOPT_TCP_KEEPALIVE, 1L);
-  curl_easy_setopt(hnd, CURLOPT_MAIL_FROM, "1406@example.com");
+  curl_easy_setopt(hnd, CURLOPT_MAIL_FROM, "sender@example.com");
   curl_easy_setopt(hnd, CURLOPT_MAIL_RCPT, slist1);
 
   /* Here is a list of options the curl code used that cannot get generated
index 36f063388ff72dc8666f22f7870b0ea2bb84bdeb..0dd7f527368e24d2289ffb50dd40a5869c2b0e84 100644 (file)
@@ -26,7 +26,7 @@ To: another
 body\r
 </stdin>
  <command>
-smtp://%HOSTIP:%SMTPPORT/900 --mail-rcpt 900@example.com --mail-from 900@example.com -T -
+smtp://%HOSTIP:%SMTPPORT/900 --mail-rcpt recipient@example.com --mail-from sender@example.com -T -
 </command>
 </client>
 
@@ -35,8 +35,8 @@ smtp://%HOSTIP:%SMTPPORT/900 --mail-rcpt 900@example.com --mail-from 900@example
 <verify>
 <protocol>
 EHLO 900\r
-MAIL FROM:<900@example.com>\r
-RCPT TO:<900@example.com>\r
+MAIL FROM:<sender@example.com>\r
+RCPT TO:<recipient@example.com>\r
 DATA\r
 QUIT\r
 </protocol>
index 7836dcfb3dd60cd0b58c946c811a13a042305b1d..8148b29e471ac57f44ed3978a2961e33c7c0e0a4 100644 (file)
@@ -32,7 +32,7 @@ To: another
 body\r
 </stdin>
  <command>
-smtp://%HOSTIP:%SMTPPORT/901 --mail-rcpt 901@example.com --mail-from 901@example.com -T -
+smtp://%HOSTIP:%SMTPPORT/901 --mail-rcpt recipient@example.com --mail-from sender@example.com -T -
 </command>
 </client>
 
@@ -41,8 +41,8 @@ smtp://%HOSTIP:%SMTPPORT/901 --mail-rcpt 901@example.com --mail-from 901@example
 <verify>
 <protocol>
 EHLO 901\r
-MAIL FROM:<901@example.com>\r
-RCPT TO:<901@example.com>\r
+MAIL FROM:<sender@example.com>\r
+RCPT TO:<recipient@example.com>\r
 DATA\r
 QUIT\r
 </protocol>
index 2994eeff3f0ec531b1685e8ef03a016e5f610ee8..8ee105f7a1ec718bca551791047b0d808c6bd077 100644 (file)
@@ -31,7 +31,7 @@ To: another
 body\r
 </stdin>
  <command>
-smtp://%HOSTIP:%SMTPPORT/902 --mail-rcpt 902@example.com --mail-from 902@example.com -T -
+smtp://%HOSTIP:%SMTPPORT/902 --mail-rcpt recipient@example.com --mail-from sender@example.com -T -
 </command>
 </client>
 
@@ -41,8 +41,8 @@ smtp://%HOSTIP:%SMTPPORT/902 --mail-rcpt 902@example.com --mail-from 902@example
 <protocol>
 EHLO 902\r
 HELO 902\r
-MAIL FROM:<902@example.com>\r
-RCPT TO:<902@example.com>\r
+MAIL FROM:<sender@example.com>\r
+RCPT TO:<recipient@example.com>\r
 DATA\r
 QUIT\r
 </protocol>
index 1b4530dc1118b9f70c1d386d6eb6119e0ab09eef..8c0e90fa98420a74f05a44413e267d83e81a7618 100644 (file)
@@ -31,7 +31,7 @@ SMTP plain authentication
 mail body\r
 </stdin>
  <command>
-smtp://%HOSTIP:%SMTPPORT/903 --mail-rcpt 903@example.com --mail-from 903@example.com -u test:1234 -T -
+smtp://%HOSTIP:%SMTPPORT/903 --mail-rcpt recipient@example.com --mail-from sender@example.com -u test:1234 -T -
 </command>
 </client>
 
@@ -42,8 +42,8 @@ smtp://%HOSTIP:%SMTPPORT/903 --mail-rcpt 903@example.com --mail-from 903@example
 EHLO 903\r
 AUTH PLAIN\r
 dGVzdAB0ZXN0ADEyMzQ=\r
-MAIL FROM:<903@example.com>\r
-RCPT TO:<903@example.com>\r
+MAIL FROM:<sender@example.com>\r
+RCPT TO:<recipient@example.com>\r
 DATA\r
 QUIT\r
 </protocol>
index cb4014a5eda5d25596a28487ed698a3d73c0969f..dd7f5338697cf35d610760b13a0d175035e470f2 100644 (file)
@@ -31,7 +31,7 @@ SMTP login authentication
 mail body\r
 </stdin>
  <command>
-smtp://%HOSTIP:%SMTPPORT/904 --mail-rcpt 904@example.com --mail-from 904@example.com -u test:1234 -T -
+smtp://%HOSTIP:%SMTPPORT/904 --mail-rcpt recipient@example.com --mail-from sender@example.com -u test:1234 -T -
 </command>
 </client>
 
@@ -43,8 +43,8 @@ EHLO 904
 AUTH LOGIN\r
 dGVzdA==\r
 MTIzNA==\r
-MAIL FROM:<904@example.com>\r
-RCPT TO:<904@example.com>\r
+MAIL FROM:<sender@example.com>\r
+RCPT TO:<recipient@example.com>\r
 DATA\r
 QUIT\r
 </protocol>
index 214bc1822c991596d78437cbefece9f02ad52270..8d8d9114f1e599e3738f4056e478a787a3f3ed03 100644 (file)
@@ -34,7 +34,7 @@ SMTP CRAM-MD5 authentication
 mail body\r
 </stdin>
  <command>
-smtp://%HOSTIP:%SMTPPORT/905 --mail-rcpt 905@example.com --mail-from 905@example.com -u tim:tanstaaftanstaaf -T -
+smtp://%HOSTIP:%SMTPPORT/905 --mail-rcpt recipient@example.com --mail-from sender@example.com -u tim:tanstaaftanstaaf -T -
 </command>
 </client>
 
@@ -45,8 +45,8 @@ smtp://%HOSTIP:%SMTPPORT/905 --mail-rcpt 905@example.com --mail-from 905@example
 EHLO 905\r
 AUTH CRAM-MD5\r
 dGltIGI5MTNhNjAyYzdlZGE3YTQ5NWI0ZTZlNzMzNGQzODkw\r
-MAIL FROM:<905@example.com>\r
-RCPT TO:<905@example.com>\r
+MAIL FROM:<sender@example.com>\r
+RCPT TO:<recipient@example.com>\r
 DATA\r
 QUIT\r
 </protocol>
index f60cec3f7ceabbc44c03cf673832e436561dd1a8..5072e9065bde20d40f95047f68282074906b8d11 100644 (file)
@@ -39,7 +39,7 @@ LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
 mail body\r
 </stdin>
  <command>
-smtp://%HOSTIP:%SMTPPORT/906 --mail-rcpt 906@example.com --mail-from 906@example.com -u testuser:testpass -T -
+smtp://%HOSTIP:%SMTPPORT/906 --mail-rcpt recipient@example.com --mail-from sender@example.com -u testuser:testpass -T -
 </command>
 </client>
 
@@ -51,8 +51,8 @@ EHLO 906
 AUTH NTLM\r
 TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
 TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAABoKBAFpkQwKRCZFMhjj0tw47wEjKHRHlvzfxQamFcheMuv8v+xeqphEO5V41xRd7R9deOXRlc3R1c2VyY3VybGhvc3Q=\r
-MAIL FROM:<906@example.com>\r
-RCPT TO:<906@example.com>\r
+MAIL FROM:<sender@example.com>\r
+RCPT TO:<recipient@example.com>\r
 DATA\r
 QUIT\r
 </protocol>
index 7bdde410ec7709b0b4a5682f6e2936f488c38a05..20533b90218768a5910b5d990e403043f5bda036 100644 (file)
@@ -30,7 +30,7 @@ SMTP plain authentication with initial response
 mail body\r
 </stdin>
  <command>
-smtp://%HOSTIP:%SMTPPORT/907 --mail-rcpt 907@example.com --mail-from 907@example.com -u test:1234 --sasl-ir -T -
+smtp://%HOSTIP:%SMTPPORT/907 --mail-rcpt recipient@example.com --mail-from sender@example.com -u test:1234 --sasl-ir -T -
 </command>
 </client>
 
@@ -40,8 +40,8 @@ smtp://%HOSTIP:%SMTPPORT/907 --mail-rcpt 907@example.com --mail-from 907@example
 <protocol>
 EHLO 907\r
 AUTH PLAIN dGVzdAB0ZXN0ADEyMzQ=\r
-MAIL FROM:<907@example.com>\r
-RCPT TO:<907@example.com>\r
+MAIL FROM:<sender@example.com>\r
+RCPT TO:<recipient@example.com>\r
 DATA\r
 QUIT\r
 </protocol>
index 0c1667a3b594608ea7aec03f828273c76dad89e1..9f46363b6c3d17880046bf194470a78c8830d43a 100644 (file)
@@ -30,7 +30,7 @@ SMTP login authentication with initial response
 mail body\r
 </stdin>
  <command>
-smtp://%HOSTIP:%SMTPPORT/908 --mail-rcpt 908@example.com --mail-from 908@example.com -u test:1234 --sasl-ir -T -
+smtp://%HOSTIP:%SMTPPORT/908 --mail-rcpt recipient@example.com --mail-from sender@example.com -u test:1234 --sasl-ir -T -
 </command>
 </client>
 
@@ -41,8 +41,8 @@ smtp://%HOSTIP:%SMTPPORT/908 --mail-rcpt 908@example.com --mail-from 908@example
 EHLO 908\r
 AUTH LOGIN dGVzdA==\r
 MTIzNA==\r
-MAIL FROM:<908@example.com>\r
-RCPT TO:<908@example.com>\r
+MAIL FROM:<sender@example.com>\r
+RCPT TO:<recipient@example.com>\r
 DATA\r
 QUIT\r
 </protocol>
index bc910a559bc096a39a0aaadbd5ac24c3fe8205a0..e3e907ac5b302b0f3258208c86578a83d7daf166 100644 (file)
@@ -26,7 +26,7 @@ To: another
 body\r
 </file>
  <command>
-smtp://%HOSTIP:%SMTPPORT/909 --mail-rcpt 909@example.com --mail-from 909@example.com -T log/test909.eml
+smtp://%HOSTIP:%SMTPPORT/909 --mail-rcpt recipient@example.com --mail-from sender@example.com -T log/test909.eml
 </command>
 </client>
 
@@ -35,8 +35,8 @@ smtp://%HOSTIP:%SMTPPORT/909 --mail-rcpt 909@example.com --mail-from 909@example
 <verify>
 <protocol>
 EHLO 909\r
-MAIL FROM:<909@example.com>\r
-RCPT TO:<909@example.com>\r
+MAIL FROM:<sender@example.com>\r
+RCPT TO:<recipient@example.com>\r
 DATA\r
 QUIT\r
 </protocol>
index a3bf480bd33513c0c67584688570223f852241bb..c1b84ac06a992c3f50a208ce1b34de3de2962478 100644 (file)
@@ -26,7 +26,7 @@ To: another
 body
 </stdin>
  <command>
-smtp://%HOSTIP:%SMTPPORT/910 --mail-rcpt 910@example.com --mail-from 910@example.com -T -
+smtp://%HOSTIP:%SMTPPORT/910 --mail-rcpt recipient@example.com --mail-from sender@example.com -T -
 </command>
 </client>
 
@@ -35,8 +35,8 @@ smtp://%HOSTIP:%SMTPPORT/910 --mail-rcpt 910@example.com --mail-from 910@example
 <verify>
 <protocol>
 EHLO 910\r
-MAIL FROM:<910@example.com>\r
-RCPT TO:<910@example.com>\r
+MAIL FROM:<sender@example.com>\r
+RCPT TO:<recipient@example.com>\r
 DATA\r
 QUIT\r
 </protocol>
index 206f8afe066ebaad41d0c5c88b89a25029631b89..cc87349b8961b2395af6b4e9c9141ed0052adbc4 100644 (file)
@@ -25,7 +25,7 @@ SMTP with no mail data
 </stdin>
 
  <command>
-smtp://%HOSTIP:%SMTPPORT/911 --mail-rcpt 911@example.com --mail-from 911@example.com -T -
+smtp://%HOSTIP:%SMTPPORT/911 --mail-rcpt recipient@example.com --mail-from sender@example.com -T -
 </command>
 </client>
 
@@ -34,8 +34,8 @@ smtp://%HOSTIP:%SMTPPORT/911 --mail-rcpt 911@example.com --mail-from 911@example
 <verify>
 <protocol>
 EHLO 911\r
-MAIL FROM:<911@example.com>\r
-RCPT TO:<911@example.com>\r
+MAIL FROM:<sender@example.com>\r
+RCPT TO:<recipient@example.com>\r
 DATA\r
 QUIT\r
 </protocol>
index 04abfd79a0e88aae32b8bd68f9fa9b52d93d1305..575cf634ad23f46ae25ac0d83a7ba6a239fd7c72 100644 (file)
@@ -30,7 +30,7 @@ To: another
 body\r
 </file>
  <command>
-smtp://%HOSTIP:%SMTPPORT/912 --mail-rcpt 912@example.com --mail-from 912@example.com -T log/test912.eml
+smtp://%HOSTIP:%SMTPPORT/912 --mail-rcpt recipient@example.com --mail-from sender@example.com -T log/test912.eml
 </command>
 </client>
 
@@ -39,8 +39,8 @@ smtp://%HOSTIP:%SMTPPORT/912 --mail-rcpt 912@example.com --mail-from 912@example
 <verify>
 <protocol>
 EHLO 912\r
-MAIL FROM:<912@example.com> SIZE=38\r
-RCPT TO:<912@example.com>\r
+MAIL FROM:<sender@example.com> SIZE=38\r
+RCPT TO:<recipient@example.com>\r
 DATA\r
 QUIT\r
 </protocol>
index 8c016e930e4b07e90620cc348bd4ca2c08a387a2..c7d547c30931f999ac017b86fc6e7afb5d4295fc 100644 (file)
@@ -30,7 +30,7 @@ To: another
 body\r
 </file>
  <command>
-smtp://%HOSTIP:%SMTPPORT/913 --mail-rcpt 913@example.com --mail-from 913@example.com -T log/test913.eml
+smtp://%HOSTIP:%SMTPPORT/913 --mail-rcpt recipient@example.com --mail-from sender@example.com -T log/test913.eml
 </command>
 </client>
 
@@ -42,7 +42,7 @@ smtp://%HOSTIP:%SMTPPORT/913 --mail-rcpt 913@example.com --mail-from 913@example
 </errorcode>
 <protocol>
 EHLO 913\r
-MAIL FROM:<913@example.com> SIZE=38\r
+MAIL FROM:<sender@example.com> SIZE=38\r
 QUIT\r
 </protocol>
 </verify>
index cc97bdd9fc3a154fe0bd5f37b42dadaf8cb85f4e..16ea47028953e30b4372cadcd85ca193415f780b 100644 (file)
@@ -26,7 +26,7 @@ To: another
 body\r
 </file>
  <command>
-smtp://%HOSTIP:%SMTPPORT/914 --mail-rcpt 914@example.com --mail-from invalid -T log/test914.eml
+smtp://%HOSTIP:%SMTPPORT/914 --mail-rcpt recipient@example.com --mail-from invalid -T log/test914.eml
 </command>
 </client>
 
index 3b5b62e16770504ec62c5d53bd2af9c24fd46e99..4d31db3c1fa56a8078853d4d5fb78153e0350897 100644 (file)
@@ -26,7 +26,7 @@ To: another
 body\r
 </stdin>
  <command>
-smtp://%HOSTIP:%SMTPPORT/915 --mail-rcpt 915@example.com -T -
+smtp://%HOSTIP:%SMTPPORT/915 --mail-rcpt recipient@example.com -T -
 </command>
 </client>
 
@@ -36,7 +36,7 @@ smtp://%HOSTIP:%SMTPPORT/915 --mail-rcpt 915@example.com -T -
 <protocol>
 EHLO 915\r
 MAIL FROM:<>\r
-RCPT TO:<915@example.com>\r
+RCPT TO:<recipient@example.com>\r
 DATA\r
 QUIT\r
 </protocol>
index f2e0aedd066423620d6790550660efb0579219ee..807bb267f51e567c70d875d28d892a2e3d4a22cb 100644 (file)
@@ -26,7 +26,7 @@ To: another
 body\r
 </stdin>
  <command>
-smtp://%HOSTIP:%SMTPPORT/916 --mail-rcpt invalid --mail-from 916@example.com -T -
+smtp://%HOSTIP:%SMTPPORT/916 --mail-rcpt invalid --mail-from sender@example.com -T -
 </command>
 </client>
 
@@ -38,7 +38,7 @@ smtp://%HOSTIP:%SMTPPORT/916 --mail-rcpt invalid --mail-from 916@example.com -T
 </errorcode>
 <protocol>
 EHLO 916\r
-MAIL FROM:<916@example.com>\r
+MAIL FROM:<sender@example.com>\r
 RCPT TO:<invalid>\r
 QUIT\r
 </protocol>
index 23a05ecb10bfb250b82050153d49dbbce76646b7..cc75da3aa0c9e64f87da616156d0da69ef0a7b5a 100644 (file)
@@ -26,7 +26,7 @@ To: another
 body\r
 </stdin>
  <command>
-smtp://%HOSTIP:%SMTPPORT/917 --mail-rcpt 917@example.com --mail-rcpt 917@foo.example.com --mail-rcpt 917@bar.example.com --mail-rcpt 917@foobar.example.com --mail-rcpt 917@another.example.com --mail-from 917@example.com -T -
+smtp://%HOSTIP:%SMTPPORT/917 --mail-rcpt recipient.one@example.com --mail-rcpt recipient.two@example.com --mail-rcpt recipient.three@example.com --mail-rcpt recipient.four@example.com --mail-rcpt recipient.five@example.com --mail-from sender@example.com -T -
 </command>
 </client>
 
@@ -35,12 +35,12 @@ smtp://%HOSTIP:%SMTPPORT/917 --mail-rcpt 917@example.com --mail-rcpt 917@foo.exa
 <verify>
 <protocol>
 EHLO 917\r
-MAIL FROM:<917@example.com>\r
-RCPT TO:<917@example.com>\r
-RCPT TO:<917@foo.example.com>\r
-RCPT TO:<917@bar.example.com>\r
-RCPT TO:<917@foobar.example.com>\r
-RCPT TO:<917@another.example.com>\r
+MAIL FROM:<sender@example.com>\r
+RCPT TO:<recipient.one@example.com>\r
+RCPT TO:<recipient.two@example.com>\r
+RCPT TO:<recipient.three@example.com>\r
+RCPT TO:<recipient.four@example.com>\r
+RCPT TO:<recipient.five@example.com>\r
 DATA\r
 QUIT\r
 </protocol>
index 4817e281478f02e9717dfe9daf46bb6733938b2c..6f3a382b41a4b26ae9e17fa4e1e8f024247eb31a 100644 (file)
@@ -26,7 +26,7 @@ To: another
 body\r
 </stdin>
  <command>
-smtp://%HOSTIP:%SMTPPORT/918 --mail-rcpt 918@example.com --mail-rcpt invalid --mail-rcpt 918@bar.example.com --mail-rcpt sTrAnGe --mail-rcpt 918@another.example.com --mail-from 918@example.com -T -
+smtp://%HOSTIP:%SMTPPORT/918 --mail-rcpt recipient.one@example.com --mail-rcpt invalid --mail-rcpt recipient.three@example.com --mail-rcpt sTrAnGe --mail-rcpt recipient.five@example.com --mail-from sender@example.com -T -
 </command>
 </client>
 
@@ -38,8 +38,8 @@ smtp://%HOSTIP:%SMTPPORT/918 --mail-rcpt 918@example.com --mail-rcpt invalid --m
 </errorcode>\r
 <protocol>
 EHLO 918\r
-MAIL FROM:<918@example.com>\r
-RCPT TO:<918@example.com>\r
+MAIL FROM:<sender@example.com>\r
+RCPT TO:<recipient.one@example.com>\r
 RCPT TO:<invalid>\r
 QUIT\r
 </protocol>