64 lines
863 B
Plaintext
64 lines
863 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
SMTP
|
|
IDN
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
<servercmd>
|
|
CAPA SMTPUTF8
|
|
</servercmd>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
smtp
|
|
</server>
|
|
<features>
|
|
IDN
|
|
!win32
|
|
codeset-utf8
|
|
</features>
|
|
<setenv>
|
|
LC_ALL=C.UTF-8
|
|
</setenv>
|
|
<name>
|
|
SMTP with SMTPUTF8 support - UTF-8 based sender
|
|
</name>
|
|
<stdin crlf="yes">
|
|
From: different
|
|
To: another
|
|
|
|
body
|
|
</stdin>
|
|
<command>
|
|
smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from Avs%hex[%c3%a4]hex%ndaren@%hex[%c3%a5%c3%a4%c3%b6]hex%.se -T -
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<protocol crlf="yes">
|
|
EHLO %TESTNUMBER
|
|
MAIL FROM:<Avs%hex[%c3%a4]hex%ndaren@xn--4cab6c.se> SMTPUTF8
|
|
RCPT TO:<recipient@example.com>
|
|
DATA
|
|
QUIT
|
|
</protocol>
|
|
<upload crlf="yes">
|
|
From: different
|
|
To: another
|
|
|
|
body
|
|
.
|
|
</upload>
|
|
</verify>
|
|
</testcase>
|