1<testcase> 2<info> 3<keywords> 4SMTP 5IDN 6</keywords> 7</info> 8 9# 10# Server-side 11<reply> 12<servercmd> 13CAPA SMTPUTF8 14</servercmd> 15</reply> 16 17# 18# Client-side 19<client> 20<server> 21smtp 22</server> 23<features> 24idn 25!win32 26</features> 27<setenv> 28LC_ALL=en_US.UTF-8 29LC_CTYPE=en_US.UTF-8 30</setenv> 31<precheck> 32perl -MI18N::Langinfo=langinfo,CODESET -e 'die "Needs a UTF-8 locale" if (lc(langinfo(CODESET())) ne "utf-8");' 33</precheck> 34 <name> 35SMTP with SMTPUTF8 support - UTF-8 based recipient 36 </name> 37<stdin> 38From: different 39To: another 40 41body 42</stdin> 43<command> 44smtp://%HOSTIP:%SMTPPORT/966 --mail-rcpt Stödmottagaren@åäö.se --mail-from sender@example.com -T - 45</command> 46</client> 47 48# 49# Verify data after the test has been "shot" 50<verify> 51<protocol> 52EHLO 966 53MAIL FROM:<sender@example.com> SMTPUTF8 54RCPT TO:<Stödmottagaren@xn--4cab6c.se> 55DATA 56QUIT 57</protocol> 58<upload> 59From: different 60To: another 61 62body 63. 64</upload> 65</verify> 66</testcase> 67