xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | SMTP |
| 5 | </keywords> |
| 6 | </info> |
| 7 | |
| 8 | # |
| 9 | # Server-side |
| 10 | <reply> |
| 11 | </reply> |
| 12 | |
| 13 | # |
| 14 | # Client-side |
| 15 | <client> |
| 16 | <server> |
| 17 | smtp |
| 18 | </server> |
| 19 | <features> |
| 20 | !win32 |
| 21 | </features> |
| 22 | <setenv> |
| 23 | LC_ALL=en_US.UTF-8 |
| 24 | LC_CTYPE=en_US.UTF-8 |
| 25 | </setenv> |
| 26 | <precheck> |
| 27 | perl -MI18N::Langinfo=langinfo,CODESET -e 'die "Needs a UTF-8 locale" if (lc(langinfo(CODESET())) ne "utf-8");' |
| 28 | </precheck> |
| 29 | <name> |
| 30 | SMTP without SMTPUTF8 support - UTF-8 based recipient (local part only) |
| 31 | </name> |
| 32 | <stdin> |
| 33 | From: different
|
| 34 | To: another
|
| 35 |
|
| 36 | body
|
| 37 | </stdin> |
| 38 | <command> |
| 39 | smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt Stödmottagaren@example.com --mail-from sender@example.com -T - |
| 40 | </command> |
| 41 | </client> |
| 42 | |
| 43 | # |
| 44 | # Verify data after the test has been "shot" |
| 45 | <verify> |
| 46 | # 55 - CURLE_SEND_ERROR |
| 47 | <errorcode> |
| 48 | 55 |
| 49 | </errorcode> |
| 50 | <protocol> |
| 51 | EHLO %TESTNUMBER
|
| 52 | MAIL FROM:<sender@example.com>
|
| 53 | RCPT TO:<Stödmottagaren@example.com>
|
| 54 | QUIT
|
| 55 | </protocol> |
| 56 | </verify> |
| 57 | </testcase> |