tests.xml 48 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253
  1. <?xml version="1.0"?>
  2. <!--
  3. * Copyright © 2008-2011, Dominic Sayers
  4. * Test schema documentation Copyright © 2011, Daniel Marschall
  5. * All rights reserved.
  6. *
  7. * Redistribution and use in source and binary forms, with or without modification,
  8. * are permitted provided that the following conditions are met:
  9. *
  10. * - Redistributions of source code must retain the above copyright notice,
  11. * this list of conditions and the following disclaimer.
  12. * - Redistributions in binary form must reproduce the above copyright notice,
  13. * this list of conditions and the following disclaimer in the documentation
  14. * and/or other materials provided with the distribution.
  15. * - Neither the name of Dominic Sayers nor the names of its contributors may be
  16. * used to endorse or promote products derived from this software without
  17. * specific prior written permission.
  18. *
  19. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
  20. * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  21. * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  22. * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
  23. * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  24. * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  25. * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
  26. * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  27. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  28. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  29. -->
  30. <!--
  31. Notes
  32. .....
  33. 1. To test email addresses that include ASCII control characters (ASCII
  34. positions < 32), put a Unicode entity in this data. This is because XML
  35. doesn't like storing &#x00;. The Unicode entity you should use
  36. is &#x2400; + the ASCII position. E.g to test a BEL character (ASCII
  37. position 7), put a &#x2407; in this data. This also enables the control
  38. characters to be made visible in your output because the Unicode characters
  39. &#x2400; onwards are 'SYMBOL FOR xxx'. In other words &#x2407; will look
  40. like BEL in your output.
  41. 2. Certain outcomes are impossible to test since they imply another, higher
  42. order, outcome also. These are:
  43. ISEMAIL_RFC5322_DOMLIT_OBSDTEXT
  44. This implies that the domain literal cannot be a valid RFC 5321 address
  45. literal. This issue outranks the fact that the token is also obs-dtext.
  46. If you update these tests, don't forget to change the actual version number
  47. attribute in the <tests> element below!
  48. Date Tests Version Notes
  49. .......... ............ ....... ...............................................
  50. 2010-10-18 #1-#279 3.0 New schema designed to enhance fault
  51. identification.
  52. 2011-05-23 #32 3.02 Changed domain to c dash dash n.com because
  53. g dash dash a.com no longer has an MX record.
  54. 2011-07-14 All 3.04 Changed my link to http://isemail.info
  55. -->
  56. <tests version="3.04">
  57. <description>
  58. <p><strong>New test set</strong></p>
  59. <p>This test set is designed to replace and extend the coverage of the original set but with fewer tests.</p>
  60. <p>Thanks to Michael Rushton (michael@squiloople.com) for starting this work and contributing tests 1-100</p>
  61. </description>
  62. <test id="1">
  63. <address/>
  64. <category>ISEMAIL_ERR</category>
  65. <diagnosis>ISEMAIL_ERR_NODOMAIN</diagnosis>
  66. <source>Michael Rushton</source>
  67. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  68. </test>
  69. <test id="2">
  70. <address>test</address>
  71. <category>ISEMAIL_ERR</category>
  72. <diagnosis>ISEMAIL_ERR_NODOMAIN</diagnosis>
  73. <source>Michael Rushton</source>
  74. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  75. </test>
  76. <test id="3">
  77. <address>@</address>
  78. <category>ISEMAIL_ERR</category>
  79. <diagnosis>ISEMAIL_ERR_NOLOCALPART</diagnosis>
  80. <source>Michael Rushton</source>
  81. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  82. </test>
  83. <test id="4">
  84. <address>test@</address>
  85. <category>ISEMAIL_ERR</category>
  86. <diagnosis>ISEMAIL_ERR_NODOMAIN</diagnosis>
  87. <source>Michael Rushton</source>
  88. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  89. </test>
  90. <test id="5">
  91. <address>test@io</address>
  92. <comment>io. currently has an MX-record (Feb 2011). Some DNS setups seem to find it, some don't. If you don't see the MX for io. then try setting your DNS server to 8.8.8.8 (the Google DNS server)</comment>
  93. <category>ISEMAIL_VALID_CATEGORY</category>
  94. <diagnosis>ISEMAIL_VALID</diagnosis>
  95. <source>Michael Rushton</source>
  96. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  97. </test>
  98. <test id="6">
  99. <address>@io</address>
  100. <comment>io. currently has an MX-record (Feb 2011)</comment>
  101. <category>ISEMAIL_ERR</category>
  102. <diagnosis>ISEMAIL_ERR_NOLOCALPART</diagnosis>
  103. <source>Michael Rushton</source>
  104. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  105. </test>
  106. <test id="7">
  107. <address>@iana.org</address>
  108. <category>ISEMAIL_ERR</category>
  109. <diagnosis>ISEMAIL_ERR_NOLOCALPART</diagnosis>
  110. <source>Michael Rushton</source>
  111. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  112. </test>
  113. <test id="8">
  114. <address>test@iana.org</address>
  115. <category>ISEMAIL_VALID_CATEGORY</category>
  116. <diagnosis>ISEMAIL_VALID</diagnosis>
  117. <source>Michael Rushton</source>
  118. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  119. </test>
  120. <test id="9">
  121. <address>test@nominet.org.uk</address>
  122. <category>ISEMAIL_VALID_CATEGORY</category>
  123. <diagnosis>ISEMAIL_VALID</diagnosis>
  124. <source>Michael Rushton</source>
  125. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  126. </test>
  127. <test id="10">
  128. <address>test@about.museum</address>
  129. <category>ISEMAIL_VALID_CATEGORY</category>
  130. <diagnosis>ISEMAIL_VALID</diagnosis>
  131. <source>Michael Rushton</source>
  132. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  133. </test>
  134. <test id="11">
  135. <address>a@iana.org</address>
  136. <category>ISEMAIL_VALID_CATEGORY</category>
  137. <diagnosis>ISEMAIL_VALID</diagnosis>
  138. <source>Michael Rushton</source>
  139. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  140. </test>
  141. <test id="12">
  142. <address>test@e.com</address>
  143. <category>ISEMAIL_DNSWARN</category>
  144. <diagnosis>ISEMAIL_DNSWARN_NO_RECORD</diagnosis>
  145. <source>Michael Rushton</source>
  146. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  147. </test>
  148. <test id="13">
  149. <address>test@iana.a</address>
  150. <category>ISEMAIL_DNSWARN</category>
  151. <diagnosis>ISEMAIL_DNSWARN_NO_RECORD</diagnosis>
  152. <source>Michael Rushton</source>
  153. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  154. </test>
  155. <test id="14">
  156. <address>test.test@iana.org</address>
  157. <category>ISEMAIL_VALID_CATEGORY</category>
  158. <diagnosis>ISEMAIL_VALID</diagnosis>
  159. <source>Michael Rushton</source>
  160. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  161. </test>
  162. <test id="15">
  163. <address>.test@iana.org</address>
  164. <category>ISEMAIL_ERR</category>
  165. <diagnosis>ISEMAIL_ERR_DOT_START</diagnosis>
  166. <source>Michael Rushton</source>
  167. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  168. </test>
  169. <test id="16">
  170. <address>test.@iana.org</address>
  171. <category>ISEMAIL_ERR</category>
  172. <diagnosis>ISEMAIL_ERR_DOT_END</diagnosis>
  173. <source>Michael Rushton</source>
  174. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  175. </test>
  176. <test id="17">
  177. <address>test..iana.org</address>
  178. <category>ISEMAIL_ERR</category>
  179. <diagnosis>ISEMAIL_ERR_CONSECUTIVEDOTS</diagnosis>
  180. <source>Michael Rushton</source>
  181. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  182. </test>
  183. <test id="18">
  184. <address>test_exa-mple.com</address>
  185. <category>ISEMAIL_ERR</category>
  186. <diagnosis>ISEMAIL_ERR_NODOMAIN</diagnosis>
  187. <source>Michael Rushton</source>
  188. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  189. </test>
  190. <test id="19">
  191. <address>!#$%&amp;`*+/=?^`{|}~@iana.org</address>
  192. <category>ISEMAIL_VALID_CATEGORY</category>
  193. <diagnosis>ISEMAIL_VALID</diagnosis>
  194. <source>Michael Rushton</source>
  195. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  196. </test>
  197. <test id="20">
  198. <address>test\@test@iana.org</address>
  199. <category>ISEMAIL_ERR</category>
  200. <diagnosis>ISEMAIL_ERR_EXPECTING_ATEXT</diagnosis>
  201. <source>Michael Rushton</source>
  202. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  203. </test>
  204. <test id="21">
  205. <address>123@iana.org</address>
  206. <category>ISEMAIL_VALID_CATEGORY</category>
  207. <diagnosis>ISEMAIL_VALID</diagnosis>
  208. <source>Michael Rushton</source>
  209. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  210. </test>
  211. <test id="22">
  212. <address>test@123.com</address>
  213. <category>ISEMAIL_VALID_CATEGORY</category>
  214. <diagnosis>ISEMAIL_VALID</diagnosis>
  215. <source>Michael Rushton</source>
  216. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  217. </test>
  218. <test id="23">
  219. <address>test@iana.123</address>
  220. <category>ISEMAIL_RFC5321</category>
  221. <diagnosis>ISEMAIL_RFC5321_TLDNUMERIC</diagnosis>
  222. <source>Michael Rushton</source>
  223. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  224. </test>
  225. <test id="24">
  226. <address>test@255.255.255.255</address>
  227. <category>ISEMAIL_RFC5321</category>
  228. <diagnosis>ISEMAIL_RFC5321_TLDNUMERIC</diagnosis>
  229. <source>Michael Rushton</source>
  230. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  231. </test>
  232. <test id="25">
  233. <address>abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghiklm@iana.org</address>
  234. <category>ISEMAIL_VALID_CATEGORY</category>
  235. <diagnosis>ISEMAIL_VALID</diagnosis>
  236. <source>Michael Rushton</source>
  237. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  238. </test>
  239. <test id="26">
  240. <address>abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghiklmn@iana.org</address>
  241. <category>ISEMAIL_RFC5322</category>
  242. <diagnosis>ISEMAIL_RFC5322_LOCAL_TOOLONG</diagnosis>
  243. <source>Michael Rushton</source>
  244. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  245. </test>
  246. <test id="27">
  247. <address>test@abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghikl.com</address>
  248. <category>ISEMAIL_DNSWARN</category>
  249. <diagnosis>ISEMAIL_DNSWARN_NO_RECORD</diagnosis>
  250. <source>Michael Rushton</source>
  251. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  252. </test>
  253. <test id="28">
  254. <address>test@abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghiklm.com</address>
  255. <category>ISEMAIL_RFC5322</category>
  256. <diagnosis>ISEMAIL_RFC5322_LABEL_TOOLONG</diagnosis>
  257. <source>Michael Rushton</source>
  258. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  259. </test>
  260. <test id="29">
  261. <address>test@mason-dixon.com</address>
  262. <category>ISEMAIL_VALID_CATEGORY</category>
  263. <diagnosis>ISEMAIL_VALID</diagnosis>
  264. <source>Michael Rushton</source>
  265. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  266. </test>
  267. <test id="30">
  268. <address>test@-iana.org</address>
  269. <category>ISEMAIL_ERR</category>
  270. <diagnosis>ISEMAIL_ERR_DOMAINHYPHENSTART</diagnosis>
  271. <source>Michael Rushton</source>
  272. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  273. </test>
  274. <test id="31">
  275. <address>test@iana-.com</address>
  276. <category>ISEMAIL_ERR</category>
  277. <diagnosis>ISEMAIL_ERR_DOMAINHYPHENEND</diagnosis>
  278. <source>Michael Rushton</source>
  279. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  280. </test>
  281. <test id="32">
  282. <address>test@c--n.com</address>
  283. <comment>c--n.com currently has an MX-record (May 2011)</comment>
  284. <category>ISEMAIL_VALID_CATEGORY</category>
  285. <diagnosis>ISEMAIL_VALID</diagnosis>
  286. <source>Michael Rushton</source>
  287. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  288. </test>
  289. <test id="33">
  290. <address>test@iana.co-uk</address>
  291. <category>ISEMAIL_DNSWARN</category>
  292. <diagnosis>ISEMAIL_DNSWARN_NO_RECORD</diagnosis>
  293. <source>Michael Rushton</source>
  294. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  295. </test>
  296. <test id="34">
  297. <address>test@.iana.org</address>
  298. <category>ISEMAIL_ERR</category>
  299. <diagnosis>ISEMAIL_ERR_DOT_START</diagnosis>
  300. <source>Michael Rushton</source>
  301. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  302. </test>
  303. <test id="35">
  304. <address>test@iana.org.</address>
  305. <category>ISEMAIL_ERR</category>
  306. <diagnosis>ISEMAIL_ERR_DOT_END</diagnosis>
  307. <source>Michael Rushton</source>
  308. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  309. </test>
  310. <test id="36">
  311. <address>test@iana..com</address>
  312. <category>ISEMAIL_ERR</category>
  313. <diagnosis>ISEMAIL_ERR_CONSECUTIVEDOTS</diagnosis>
  314. <source>Michael Rushton</source>
  315. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  316. </test>
  317. <test id="37">
  318. <address>a@a.b.c.d.e.f.g.h.i.j.k.l.m.n.o.p.q.r.s.t.u.v.w.x.y.z.a.b.c.d.e.f.g.h.i.j.k.l.m.n.o.p.q.r.s.t.u.v.w.x.y.z.a.b.c.d.e.f.g.h.i.j.k.l.m.n.o.p.q.r.s.t.u.v.w.x.y.z.a.b.c.d.e.f.g.h.i.j.k.l.m.n.o.p.q.r.s.t.u.v.w.x.y.z.a.b.c.d.e.f.g.h.i.j.k.l.m.n.o.p.q.r.s.t.u.v</address>
  319. <category>ISEMAIL_DNSWARN</category>
  320. <diagnosis>ISEMAIL_DNSWARN_NO_RECORD</diagnosis>
  321. <source>Michael Rushton</source>
  322. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  323. </test>
  324. <test id="38">
  325. <address>abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghiklm@abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghikl.abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghikl.abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghi</address>
  326. <category>ISEMAIL_DNSWARN</category>
  327. <diagnosis>ISEMAIL_DNSWARN_NO_RECORD</diagnosis>
  328. <source>Michael Rushton</source>
  329. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  330. </test>
  331. <test id="39">
  332. <address>abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghiklm@abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghikl.abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghikl.abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghij</address>
  333. <category>ISEMAIL_RFC5322</category>
  334. <diagnosis>ISEMAIL_RFC5322_TOOLONG</diagnosis>
  335. <source>Michael Rushton</source>
  336. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  337. </test>
  338. <test id="40">
  339. <address>a@abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghikl.abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghikl.abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghikl.abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefg.hij</address>
  340. <category>ISEMAIL_RFC5322</category>
  341. <diagnosis>ISEMAIL_RFC5322_TOOLONG</diagnosis>
  342. <source>Michael Rushton</source>
  343. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  344. </test>
  345. <test id="41">
  346. <address>a@abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghikl.abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghikl.abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghikl.abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefg.hijk</address>
  347. <category>ISEMAIL_RFC5322</category>
  348. <diagnosis>ISEMAIL_RFC5322_DOMAIN_TOOLONG</diagnosis>
  349. <source>Michael Rushton</source>
  350. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  351. </test>
  352. <test id="42">
  353. <address>"test"@iana.org</address>
  354. <category>ISEMAIL_RFC5321</category>
  355. <diagnosis>ISEMAIL_RFC5321_QUOTEDSTRING</diagnosis>
  356. <source>Michael Rushton</source>
  357. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  358. </test>
  359. <test id="43">
  360. <address>""@iana.org</address>
  361. <category>ISEMAIL_RFC5321</category>
  362. <diagnosis>ISEMAIL_RFC5321_QUOTEDSTRING</diagnosis>
  363. <source>Michael Rushton</source>
  364. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  365. </test>
  366. <test id="44">
  367. <address>"""@iana.org</address>
  368. <category>ISEMAIL_ERR</category>
  369. <diagnosis>ISEMAIL_ERR_EXPECTING_ATEXT</diagnosis>
  370. <source>Michael Rushton</source>
  371. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  372. </test>
  373. <test id="45">
  374. <address>"\a"@iana.org</address>
  375. <category>ISEMAIL_RFC5321</category>
  376. <diagnosis>ISEMAIL_RFC5321_QUOTEDSTRING</diagnosis>
  377. <source>Michael Rushton</source>
  378. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  379. </test>
  380. <test id="46">
  381. <address>"\""@iana.org</address>
  382. <category>ISEMAIL_RFC5321</category>
  383. <diagnosis>ISEMAIL_RFC5321_QUOTEDSTRING</diagnosis>
  384. <source>Michael Rushton</source>
  385. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  386. </test>
  387. <test id="47">
  388. <address>"\"@iana.org</address>
  389. <category>ISEMAIL_ERR</category>
  390. <diagnosis>ISEMAIL_ERR_UNCLOSEDQUOTEDSTR</diagnosis>
  391. <source>Michael Rushton</source>
  392. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  393. </test>
  394. <test id="48">
  395. <address>"\\"@iana.org</address>
  396. <category>ISEMAIL_RFC5321</category>
  397. <diagnosis>ISEMAIL_RFC5321_QUOTEDSTRING</diagnosis>
  398. <source>Michael Rushton</source>
  399. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  400. </test>
  401. <test id="49">
  402. <address>test"@iana.org</address>
  403. <category>ISEMAIL_ERR</category>
  404. <diagnosis>ISEMAIL_ERR_EXPECTING_ATEXT</diagnosis>
  405. <source>Michael Rushton</source>
  406. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  407. </test>
  408. <test id="50">
  409. <address>"test@iana.org</address>
  410. <category>ISEMAIL_ERR</category>
  411. <diagnosis>ISEMAIL_ERR_UNCLOSEDQUOTEDSTR</diagnosis>
  412. <source>Michael Rushton</source>
  413. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  414. </test>
  415. <test id="51">
  416. <address>"test"test@iana.org</address>
  417. <category>ISEMAIL_ERR</category>
  418. <diagnosis>ISEMAIL_ERR_ATEXT_AFTER_QS</diagnosis>
  419. <source>Michael Rushton</source>
  420. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  421. </test>
  422. <test id="52">
  423. <address>test"text"@iana.org</address>
  424. <category>ISEMAIL_ERR</category>
  425. <diagnosis>ISEMAIL_ERR_EXPECTING_ATEXT</diagnosis>
  426. <source>Michael Rushton</source>
  427. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  428. </test>
  429. <test id="53">
  430. <address>"test""test"@iana.org</address>
  431. <category>ISEMAIL_ERR</category>
  432. <diagnosis>ISEMAIL_ERR_EXPECTING_ATEXT</diagnosis>
  433. <source>Michael Rushton</source>
  434. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  435. </test>
  436. <test id="54">
  437. <address>"test"."test"@iana.org</address>
  438. <category>ISEMAIL_DEPREC</category>
  439. <diagnosis>ISEMAIL_DEPREC_LOCALPART</diagnosis>
  440. <source>Michael Rushton</source>
  441. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  442. </test>
  443. <test id="55">
  444. <address>"test\ test"@iana.org</address>
  445. <category>ISEMAIL_RFC5321</category>
  446. <diagnosis>ISEMAIL_RFC5321_QUOTEDSTRING</diagnosis>
  447. <source>Michael Rushton</source>
  448. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  449. </test>
  450. <test id="56">
  451. <address>"test".test@iana.org</address>
  452. <category>ISEMAIL_DEPREC</category>
  453. <diagnosis>ISEMAIL_DEPREC_LOCALPART</diagnosis>
  454. <source>Michael Rushton</source>
  455. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  456. </test>
  457. <test id="57">
  458. <address>"test&#x2400;"@iana.org</address>
  459. <category>ISEMAIL_ERR</category>
  460. <diagnosis>ISEMAIL_ERR_EXPECTING_QTEXT</diagnosis>
  461. <source>Michael Rushton</source>
  462. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  463. </test>
  464. <test id="58">
  465. <address>"test\&#x2400;"@iana.org</address>
  466. <category>ISEMAIL_DEPREC</category>
  467. <diagnosis>ISEMAIL_DEPREC_QP</diagnosis>
  468. <source>Michael Rushton</source>
  469. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  470. </test>
  471. <test id="59">
  472. <address>"abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghj"@iana.org</address>
  473. <comment>Quotes are still part of the length restriction</comment>
  474. <category>ISEMAIL_RFC5322</category>
  475. <diagnosis>ISEMAIL_RFC5322_LOCAL_TOOLONG</diagnosis>
  476. <source>Dominic Sayers</source>
  477. <sourcelink>http://isemail.info</sourcelink>
  478. </test>
  479. <test id="60">
  480. <address>"abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefg\h"@iana.org</address>
  481. <comment>Quoted pair is still part of the length restriction</comment>
  482. <category>ISEMAIL_RFC5322</category>
  483. <diagnosis>ISEMAIL_RFC5322_LOCAL_TOOLONG</diagnosis>
  484. <source>Dominic Sayers</source>
  485. <sourcelink>http://isemail.info</sourcelink>
  486. </test>
  487. <test id="61">
  488. <address>test@[255.255.255.255]</address>
  489. <category>ISEMAIL_RFC5321</category>
  490. <diagnosis>ISEMAIL_RFC5321_ADDRESSLITERAL</diagnosis>
  491. <source>Michael Rushton</source>
  492. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  493. </test>
  494. <test id="62">
  495. <address>test@a[255.255.255.255]</address>
  496. <category>ISEMAIL_ERR</category>
  497. <diagnosis>ISEMAIL_ERR_EXPECTING_ATEXT</diagnosis>
  498. <source>Michael Rushton</source>
  499. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  500. </test>
  501. <test id="63">
  502. <address>test@[255.255.255]</address>
  503. <category>ISEMAIL_RFC5322</category>
  504. <diagnosis>ISEMAIL_RFC5322_DOMAINLITERAL</diagnosis>
  505. <source>Michael Rushton</source>
  506. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  507. </test>
  508. <test id="64">
  509. <address>test@[255.255.255.255.255]</address>
  510. <category>ISEMAIL_RFC5322</category>
  511. <diagnosis>ISEMAIL_RFC5322_DOMAINLITERAL</diagnosis>
  512. <source>Michael Rushton</source>
  513. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  514. </test>
  515. <test id="65">
  516. <address>test@[255.255.255.256]</address>
  517. <category>ISEMAIL_RFC5322</category>
  518. <diagnosis>ISEMAIL_RFC5322_DOMAINLITERAL</diagnosis>
  519. <source>Michael Rushton</source>
  520. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  521. </test>
  522. <test id="66">
  523. <address>test@[1111:2222:3333:4444:5555:6666:7777:8888]</address>
  524. <category>ISEMAIL_RFC5322</category>
  525. <diagnosis>ISEMAIL_RFC5322_DOMAINLITERAL</diagnosis>
  526. <source>Michael Rushton</source>
  527. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  528. </test>
  529. <test id="67">
  530. <address>test@[IPv6:1111:2222:3333:4444:5555:6666:7777]</address>
  531. <category>ISEMAIL_RFC5322</category>
  532. <diagnosis>ISEMAIL_RFC5322_IPV6_GRPCOUNT</diagnosis>
  533. <source>Michael Rushton</source>
  534. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  535. </test>
  536. <test id="68">
  537. <address>test@[IPv6:1111:2222:3333:4444:5555:6666:7777:8888]</address>
  538. <category>ISEMAIL_RFC5321</category>
  539. <diagnosis>ISEMAIL_RFC5321_ADDRESSLITERAL</diagnosis>
  540. <source>Michael Rushton</source>
  541. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  542. </test>
  543. <test id="69">
  544. <address>test@[IPv6:1111:2222:3333:4444:5555:6666:7777:8888:9999]</address>
  545. <category>ISEMAIL_RFC5322</category>
  546. <diagnosis>ISEMAIL_RFC5322_IPV6_GRPCOUNT</diagnosis>
  547. <source>Michael Rushton</source>
  548. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  549. </test>
  550. <test id="70">
  551. <address>test@[IPv6:1111:2222:3333:4444:5555:6666:7777:888G]</address>
  552. <category>ISEMAIL_RFC5322</category>
  553. <diagnosis>ISEMAIL_RFC5322_IPV6_BADCHAR</diagnosis>
  554. <source>Michael Rushton</source>
  555. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  556. </test>
  557. <test id="71">
  558. <address>test@[IPv6:1111:2222:3333:4444:5555:6666::8888]</address>
  559. <category>ISEMAIL_RFC5321</category>
  560. <diagnosis>ISEMAIL_RFC5321_IPV6DEPRECATED</diagnosis>
  561. <source>Michael Rushton</source>
  562. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  563. </test>
  564. <test id="72">
  565. <address>test@[IPv6:1111:2222:3333:4444:5555::8888]</address>
  566. <category>ISEMAIL_RFC5321</category>
  567. <diagnosis>ISEMAIL_RFC5321_ADDRESSLITERAL</diagnosis>
  568. <source>Michael Rushton</source>
  569. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  570. </test>
  571. <test id="73">
  572. <address>test@[IPv6:1111:2222:3333:4444:5555:6666::7777:8888]</address>
  573. <category>ISEMAIL_RFC5322</category>
  574. <diagnosis>ISEMAIL_RFC5322_IPV6_MAXGRPS</diagnosis>
  575. <source>Michael Rushton</source>
  576. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  577. </test>
  578. <test id="74">
  579. <address>test@[IPv6::3333:4444:5555:6666:7777:8888]</address>
  580. <category>ISEMAIL_RFC5322</category>
  581. <diagnosis>ISEMAIL_RFC5322_IPV6_COLONSTRT</diagnosis>
  582. <source>Michael Rushton</source>
  583. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  584. </test>
  585. <test id="75">
  586. <address>test@[IPv6:::3333:4444:5555:6666:7777:8888]</address>
  587. <category>ISEMAIL_RFC5321</category>
  588. <diagnosis>ISEMAIL_RFC5321_ADDRESSLITERAL</diagnosis>
  589. <source>Michael Rushton</source>
  590. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  591. </test>
  592. <test id="76">
  593. <address>test@[IPv6:1111::4444:5555::8888]</address>
  594. <category>ISEMAIL_RFC5322</category>
  595. <diagnosis>ISEMAIL_RFC5322_IPV6_2X2XCOLON</diagnosis>
  596. <source>Michael Rushton</source>
  597. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  598. </test>
  599. <test id="77">
  600. <address>test@[IPv6:::]</address>
  601. <category>ISEMAIL_RFC5321</category>
  602. <diagnosis>ISEMAIL_RFC5321_ADDRESSLITERAL</diagnosis>
  603. <source>Michael Rushton</source>
  604. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  605. </test>
  606. <test id="78">
  607. <address>test@[IPv6:1111:2222:3333:4444:5555:255.255.255.255]</address>
  608. <category>ISEMAIL_RFC5322</category>
  609. <diagnosis>ISEMAIL_RFC5322_IPV6_GRPCOUNT</diagnosis>
  610. <source>Michael Rushton</source>
  611. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  612. </test>
  613. <test id="79">
  614. <address>test@[IPv6:1111:2222:3333:4444:5555:6666:255.255.255.255]</address>
  615. <category>ISEMAIL_RFC5321</category>
  616. <diagnosis>ISEMAIL_RFC5321_ADDRESSLITERAL</diagnosis>
  617. <source>Michael Rushton</source>
  618. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  619. </test>
  620. <test id="80">
  621. <address>test@[IPv6:1111:2222:3333:4444:5555:6666:7777:255.255.255.255]</address>
  622. <category>ISEMAIL_RFC5322</category>
  623. <diagnosis>ISEMAIL_RFC5322_IPV6_GRPCOUNT</diagnosis>
  624. <source>Michael Rushton</source>
  625. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  626. </test>
  627. <test id="81">
  628. <address>test@[IPv6:1111:2222:3333:4444::255.255.255.255]</address>
  629. <category>ISEMAIL_RFC5321</category>
  630. <diagnosis>ISEMAIL_RFC5321_ADDRESSLITERAL</diagnosis>
  631. <source>Michael Rushton</source>
  632. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  633. </test>
  634. <test id="82">
  635. <address>test@[IPv6:1111:2222:3333:4444:5555:6666::255.255.255.255]</address>
  636. <category>ISEMAIL_RFC5322</category>
  637. <diagnosis>ISEMAIL_RFC5322_IPV6_MAXGRPS</diagnosis>
  638. <source>Michael Rushton</source>
  639. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  640. </test>
  641. <test id="83">
  642. <address>test@[IPv6:1111:2222:3333:4444:::255.255.255.255]</address>
  643. <category>ISEMAIL_RFC5322</category>
  644. <diagnosis>ISEMAIL_RFC5322_IPV6_2X2XCOLON</diagnosis>
  645. <source>Michael Rushton</source>
  646. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  647. </test>
  648. <test id="84">
  649. <address>test@[IPv6::255.255.255.255]</address>
  650. <category>ISEMAIL_RFC5322</category>
  651. <diagnosis>ISEMAIL_RFC5322_IPV6_COLONSTRT</diagnosis>
  652. <source>Michael Rushton</source>
  653. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  654. </test>
  655. <test id="85">
  656. <address> test @iana.org</address>
  657. <category>ISEMAIL_DEPREC</category>
  658. <diagnosis>ISEMAIL_DEPREC_CFWS_NEAR_AT</diagnosis>
  659. <source>Michael Rushton</source>
  660. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  661. </test>
  662. <test id="86">
  663. <address>test@ iana .com</address>
  664. <category>ISEMAIL_DEPREC</category>
  665. <diagnosis>ISEMAIL_DEPREC_CFWS_NEAR_AT</diagnosis>
  666. <source>Michael Rushton</source>
  667. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  668. </test>
  669. <test id="87">
  670. <address>test . test@iana.org</address>
  671. <category>ISEMAIL_DEPREC</category>
  672. <diagnosis>ISEMAIL_DEPREC_FWS</diagnosis>
  673. <source>Michael Rushton</source>
  674. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  675. </test>
  676. <test id="88">
  677. <address>&#x240D;&#x240A; test@iana.org</address>
  678. <comment>FWS</comment>
  679. <category>ISEMAIL_CFWS</category>
  680. <diagnosis>ISEMAIL_CFWS_FWS</diagnosis>
  681. <source>Michael Rushton</source>
  682. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  683. </test>
  684. <test id="89">
  685. <address>&#x240D;&#x240A; &#x240D;&#x240A; test@iana.org</address>
  686. <comment>FWS with one line composed entirely of WSP -- only allowed as obsolete FWS (someone might allow only non-obsolete FWS)</comment>
  687. <category>ISEMAIL_DEPREC</category>
  688. <diagnosis>ISEMAIL_DEPREC_FWS</diagnosis>
  689. <source>Michael Rushton</source>
  690. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  691. </test>
  692. <test id="90">
  693. <address>(comment)test@iana.org</address>
  694. <category>ISEMAIL_CFWS</category>
  695. <diagnosis>ISEMAIL_CFWS_COMMENT</diagnosis>
  696. <source>Michael Rushton</source>
  697. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  698. </test>
  699. <test id="91">
  700. <address>((comment)test@iana.org</address>
  701. <category>ISEMAIL_ERR</category>
  702. <diagnosis>ISEMAIL_ERR_UNCLOSEDCOMMENT</diagnosis>
  703. <source>Michael Rushton</source>
  704. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  705. </test>
  706. <test id="92">
  707. <address>(comment(comment))test@iana.org</address>
  708. <category>ISEMAIL_CFWS</category>
  709. <diagnosis>ISEMAIL_CFWS_COMMENT</diagnosis>
  710. <source>Michael Rushton</source>
  711. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  712. </test>
  713. <test id="93">
  714. <address>test@(comment)iana.org</address>
  715. <category>ISEMAIL_DEPREC</category>
  716. <diagnosis>ISEMAIL_DEPREC_CFWS_NEAR_AT</diagnosis>
  717. <source>Michael Rushton</source>
  718. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  719. </test>
  720. <test id="94">
  721. <address>test(comment)test@iana.org</address>
  722. <category>ISEMAIL_ERR</category>
  723. <diagnosis>ISEMAIL_ERR_ATEXT_AFTER_CFWS</diagnosis>
  724. <source>Michael Rushton</source>
  725. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  726. </test>
  727. <test id="95">
  728. <address>test@(comment)[255.255.255.255]</address>
  729. <category>ISEMAIL_DEPREC</category>
  730. <diagnosis>ISEMAIL_DEPREC_CFWS_NEAR_AT</diagnosis>
  731. <source>Michael Rushton</source>
  732. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  733. </test>
  734. <test id="96">
  735. <address>(comment)abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghiklm@iana.org</address>
  736. <category>ISEMAIL_CFWS</category>
  737. <diagnosis>ISEMAIL_CFWS_COMMENT</diagnosis>
  738. <source>Michael Rushton</source>
  739. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  740. </test>
  741. <test id="97">
  742. <address>test@(comment)abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghikl.com</address>
  743. <category>ISEMAIL_DEPREC</category>
  744. <diagnosis>ISEMAIL_DEPREC_CFWS_NEAR_AT</diagnosis>
  745. <source>Michael Rushton</source>
  746. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  747. </test>
  748. <test id="98">
  749. <address>(comment)test@abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghik.abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghik.abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijk.abcdefghijklmnopqrstuvwxyzabcdefghijk.abcdefghijklmnopqrstu</address>
  750. <category>ISEMAIL_CFWS</category>
  751. <diagnosis>ISEMAIL_CFWS_COMMENT</diagnosis>
  752. <source>Michael Rushton</source>
  753. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  754. </test>
  755. <test id="99">
  756. <address>test@iana.org&#x240A;</address>
  757. <category>ISEMAIL_ERR</category>
  758. <diagnosis>ISEMAIL_ERR_EXPECTING_ATEXT</diagnosis>
  759. <source>Michael Rushton</source>
  760. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  761. </test>
  762. <test id="100">
  763. <address>test@xn--hxajbheg2az3al.xn--jxalpdlp</address>
  764. <comment>A valid IDN from ICANN's <a href="http://idn.icann.org/#The_example.test_names">IDN TLD evaluation gateway</a></comment>
  765. <category>ISEMAIL_VALID_CATEGORY</category>
  766. <diagnosis>ISEMAIL_VALID</diagnosis>
  767. <source>Michael Rushton</source>
  768. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  769. </test>
  770. <test id="101">
  771. <address>xn--test@iana.org</address>
  772. <comment>RFC 3490: "unless the
  773. email standards are revised to invite the use of IDNA for local
  774. parts, a domain label that holds the local part of an email address
  775. SHOULD NOT begin with the ACE prefix, and even if it does, it is to
  776. be interpreted literally as a local part that happens to begin with
  777. the ACE prefix"</comment>
  778. <category>ISEMAIL_VALID_CATEGORY</category>
  779. <diagnosis>ISEMAIL_VALID</diagnosis>
  780. <source>Dominic Sayers</source>
  781. <sourcelink>http://isemail.info</sourcelink>
  782. </test>
  783. <test id="102">
  784. <address>test@iana.org-</address>
  785. <category>ISEMAIL_ERR</category>
  786. <diagnosis>ISEMAIL_ERR_DOMAINHYPHENEND</diagnosis>
  787. <source>Dominic Sayers</source>
  788. <sourcelink>http://isemail.info</sourcelink>
  789. </test>
  790. <test id="103">
  791. <address>"test@iana.org</address>
  792. <category>ISEMAIL_ERR</category>
  793. <diagnosis>ISEMAIL_ERR_UNCLOSEDQUOTEDSTR</diagnosis>
  794. <source>Dominic Sayers</source>
  795. <sourcelink>http://isemail.info</sourcelink>
  796. </test>
  797. <test id="104">
  798. <address>(test@iana.org</address>
  799. <category>ISEMAIL_ERR</category>
  800. <diagnosis>ISEMAIL_ERR_UNCLOSEDCOMMENT</diagnosis>
  801. <source>Dominic Sayers</source>
  802. <sourcelink>http://isemail.info</sourcelink>
  803. </test>
  804. <test id="105">
  805. <address>test@(iana.org</address>
  806. <category>ISEMAIL_ERR</category>
  807. <diagnosis>ISEMAIL_ERR_UNCLOSEDCOMMENT</diagnosis>
  808. <source>Dominic Sayers</source>
  809. <sourcelink>http://isemail.info</sourcelink>
  810. </test>
  811. <test id="106">
  812. <address>test@[1.2.3.4</address>
  813. <category>ISEMAIL_ERR</category>
  814. <diagnosis>ISEMAIL_ERR_UNCLOSEDDOMLIT</diagnosis>
  815. <source>Dominic Sayers</source>
  816. <sourcelink>http://isemail.info</sourcelink>
  817. </test>
  818. <test id="107">
  819. <address>"test\"@iana.org</address>
  820. <category>ISEMAIL_ERR</category>
  821. <diagnosis>ISEMAIL_ERR_UNCLOSEDQUOTEDSTR</diagnosis>
  822. <source>Dominic Sayers</source>
  823. <sourcelink>http://isemail.info</sourcelink>
  824. </test>
  825. <test id="108">
  826. <address>(comment\)test@iana.org</address>
  827. <category>ISEMAIL_ERR</category>
  828. <diagnosis>ISEMAIL_ERR_UNCLOSEDCOMMENT</diagnosis>
  829. <source>Dominic Sayers</source>
  830. <sourcelink>http://isemail.info</sourcelink>
  831. </test>
  832. <test id="109">
  833. <address>test@iana.org(comment\)</address>
  834. <category>ISEMAIL_ERR</category>
  835. <diagnosis>ISEMAIL_ERR_UNCLOSEDCOMMENT</diagnosis>
  836. <source>Dominic Sayers</source>
  837. <sourcelink>http://isemail.info</sourcelink>
  838. </test>
  839. <test id="110">
  840. <address>test@iana.org(comment\</address>
  841. <category>ISEMAIL_ERR</category>
  842. <diagnosis>ISEMAIL_ERR_BACKSLASHEND</diagnosis>
  843. <source>Dominic Sayers</source>
  844. <sourcelink>http://isemail.info</sourcelink>
  845. </test>
  846. <test id="112">
  847. <address>test@[RFC-5322-domain-literal]</address>
  848. <category>ISEMAIL_RFC5322</category>
  849. <diagnosis>ISEMAIL_RFC5322_DOMAINLITERAL</diagnosis>
  850. <source>Dominic Sayers</source>
  851. <sourcelink>http://isemail.info</sourcelink>
  852. </test>
  853. <test id="113">
  854. <address>test@[RFC-5322]-domain-literal]</address>
  855. <category>ISEMAIL_ERR</category>
  856. <diagnosis>ISEMAIL_ERR_ATEXT_AFTER_DOMLIT</diagnosis>
  857. <source>Dominic Sayers</source>
  858. <sourcelink>http://isemail.info</sourcelink>
  859. </test>
  860. <test id="114">
  861. <address>test@[RFC-5322-[domain-literal]</address>
  862. <category>ISEMAIL_ERR</category>
  863. <diagnosis>ISEMAIL_ERR_EXPECTING_DTEXT</diagnosis>
  864. <source>Dominic Sayers</source>
  865. <sourcelink>http://isemail.info</sourcelink>
  866. </test>
  867. <test id="115">
  868. <address>test@[RFC-5322-\&#x2407;-domain-literal]</address>
  869. <comment>obs-dtext <strong>and</strong> obs-qp</comment>
  870. <category>ISEMAIL_RFC5322</category>
  871. <diagnosis>ISEMAIL_RFC5322_DOMLIT_OBSDTEXT</diagnosis>
  872. <source>Dominic Sayers</source>
  873. <sourcelink>http://isemail.info</sourcelink>
  874. </test>
  875. <test id="116">
  876. <address>test@[RFC-5322-\&#x2409;-domain-literal]</address>
  877. <category>ISEMAIL_RFC5322</category>
  878. <diagnosis>ISEMAIL_RFC5322_DOMLIT_OBSDTEXT</diagnosis>
  879. <source>Dominic Sayers</source>
  880. <sourcelink>http://isemail.info</sourcelink>
  881. </test>
  882. <test id="117">
  883. <address>test@[RFC-5322-\]-domain-literal]</address>
  884. <category>ISEMAIL_RFC5322</category>
  885. <diagnosis>ISEMAIL_RFC5322_DOMLIT_OBSDTEXT</diagnosis>
  886. <source>Dominic Sayers</source>
  887. <sourcelink>http://isemail.info</sourcelink>
  888. </test>
  889. <test id="118">
  890. <address>test@[RFC-5322-domain-literal\]</address>
  891. <category>ISEMAIL_ERR</category>
  892. <diagnosis>ISEMAIL_ERR_UNCLOSEDDOMLIT</diagnosis>
  893. <source>Dominic Sayers</source>
  894. <sourcelink>http://isemail.info</sourcelink>
  895. </test>
  896. <test id="119">
  897. <address>test@[RFC-5322-domain-literal\</address>
  898. <category>ISEMAIL_ERR</category>
  899. <diagnosis>ISEMAIL_ERR_BACKSLASHEND</diagnosis>
  900. <source>Dominic Sayers</source>
  901. <sourcelink>http://isemail.info</sourcelink>
  902. </test>
  903. <test id="120">
  904. <address>test@[RFC 5322 domain literal]</address>
  905. <comment>Spaces are FWS in a domain literal</comment>
  906. <category>ISEMAIL_RFC5322</category>
  907. <diagnosis>ISEMAIL_RFC5322_DOMAINLITERAL</diagnosis>
  908. <source>Dominic Sayers</source>
  909. <sourcelink>http://isemail.info</sourcelink>
  910. </test>
  911. <test id="121">
  912. <address>test@[RFC-5322-domain-literal] (comment)</address>
  913. <category>ISEMAIL_RFC5322</category>
  914. <diagnosis>ISEMAIL_RFC5322_DOMAINLITERAL</diagnosis>
  915. <source>Dominic Sayers</source>
  916. <sourcelink>http://isemail.info</sourcelink>
  917. </test>
  918. <test id="122">
  919. <address>@iana.org</address>
  920. <category>ISEMAIL_ERR</category>
  921. <diagnosis>ISEMAIL_ERR_EXPECTING_ATEXT</diagnosis>
  922. <source>Dominic Sayers</source>
  923. <sourcelink>http://isemail.info</sourcelink>
  924. </test>
  925. <test id="123">
  926. <address>test@.org</address>
  927. <category>ISEMAIL_ERR</category>
  928. <diagnosis>ISEMAIL_ERR_EXPECTING_ATEXT</diagnosis>
  929. <source>Dominic Sayers</source>
  930. <sourcelink>http://isemail.info</sourcelink>
  931. </test>
  932. <test id="124">
  933. <address>""@iana.org</address>
  934. <category>ISEMAIL_DEPREC</category>
  935. <diagnosis>ISEMAIL_DEPREC_QTEXT</diagnosis>
  936. <source>Dominic Sayers</source>
  937. <sourcelink>http://isemail.info</sourcelink>
  938. </test>
  939. <test id="125">
  940. <address>"\"@iana.org</address>
  941. <category>ISEMAIL_DEPREC</category>
  942. <diagnosis>ISEMAIL_DEPREC_QP</diagnosis>
  943. <source>Dominic Sayers</source>
  944. <sourcelink>http://isemail.info</sourcelink>
  945. </test>
  946. <test id="126">
  947. <address>()test@iana.org</address>
  948. <category>ISEMAIL_DEPREC</category>
  949. <diagnosis>ISEMAIL_DEPREC_CTEXT</diagnosis>
  950. <source>Dominic Sayers</source>
  951. <sourcelink>http://isemail.info</sourcelink>
  952. </test>
  953. <test id="127">
  954. <address>test@iana.org&#x240D;</address>
  955. <comment>No LF after the CR</comment>
  956. <category>ISEMAIL_ERR</category>
  957. <diagnosis>ISEMAIL_ERR_CR_NO_LF</diagnosis>
  958. <source>Dominic Sayers</source>
  959. <sourcelink>http://isemail.info</sourcelink>
  960. </test>
  961. <test id="128">
  962. <address>&#x240D;test@iana.org</address>
  963. <comment>No LF after the CR</comment>
  964. <category>ISEMAIL_ERR</category>
  965. <diagnosis>ISEMAIL_ERR_CR_NO_LF</diagnosis>
  966. <source>Dominic Sayers</source>
  967. <sourcelink>http://isemail.info</sourcelink>
  968. </test>
  969. <test id="129">
  970. <address>"&#x240D;test"@iana.org</address>
  971. <comment>No LF after the CR</comment>
  972. <category>ISEMAIL_ERR</category>
  973. <diagnosis>ISEMAIL_ERR_CR_NO_LF</diagnosis>
  974. <source>Dominic Sayers</source>
  975. <sourcelink>http://isemail.info</sourcelink>
  976. </test>
  977. <test id="130">
  978. <address>(&#x240D;)test@iana.org</address>
  979. <comment>No LF after the CR</comment>
  980. <category>ISEMAIL_ERR</category>
  981. <diagnosis>ISEMAIL_ERR_CR_NO_LF</diagnosis>
  982. <source>Dominic Sayers</source>
  983. <sourcelink>http://isemail.info</sourcelink>
  984. </test>
  985. <test id="131">
  986. <address>test@iana.org(&#x240D;)</address>
  987. <comment>No LF after the CR</comment>
  988. <category>ISEMAIL_ERR</category>
  989. <diagnosis>ISEMAIL_ERR_CR_NO_LF</diagnosis>
  990. <source>Dominic Sayers</source>
  991. <sourcelink>http://isemail.info</sourcelink>
  992. </test>
  993. <test id="132">
  994. <address>&#x240A;test@iana.org</address>
  995. <category>ISEMAIL_ERR</category>
  996. <diagnosis>ISEMAIL_ERR_EXPECTING_ATEXT</diagnosis>
  997. <source>Michael Rushton</source>
  998. <sourcelink>http://squiloople.com/tag/email/</sourcelink>
  999. </test>
  1000. <test id="133">
  1001. <address>"&#x240A;"@iana.org</address>
  1002. <category>ISEMAIL_ERR</category>
  1003. <diagnosis>ISEMAIL_ERR_EXPECTING_QTEXT</diagnosis>
  1004. <source>Dominic Sayers</source>
  1005. <sourcelink>http://isemail.info</sourcelink>
  1006. </test>
  1007. <test id="134">
  1008. <address>"\&#x240A;"@iana.org</address>
  1009. <category>ISEMAIL_DEPREC</category>
  1010. <diagnosis>ISEMAIL_DEPREC_QP</diagnosis>
  1011. <source>Dominic Sayers</source>
  1012. <sourcelink>http://isemail.info</sourcelink>
  1013. </test>
  1014. <test id="135">
  1015. <address>(&#x240A;)test@iana.org</address>
  1016. <category>ISEMAIL_ERR</category>
  1017. <diagnosis>ISEMAIL_ERR_EXPECTING_CTEXT</diagnosis>
  1018. <source>Dominic Sayers</source>
  1019. <sourcelink>http://isemail.info</sourcelink>
  1020. </test>
  1021. <test id="136">
  1022. <address>&#x2407;@iana.org</address>
  1023. <category>ISEMAIL_ERR</category>
  1024. <diagnosis>ISEMAIL_ERR_EXPECTING_ATEXT</diagnosis>
  1025. <source>Dominic Sayers</source>
  1026. <sourcelink>http://isemail.info</sourcelink>
  1027. </test>
  1028. <test id="137">
  1029. <address>test@&#x2407;.org</address>
  1030. <category>ISEMAIL_ERR</category>
  1031. <diagnosis>ISEMAIL_ERR_EXPECTING_ATEXT</diagnosis>
  1032. <source>Dominic Sayers</source>
  1033. <sourcelink>http://isemail.info</sourcelink>
  1034. </test>
  1035. <test id="138">
  1036. <address>"&#x2407;"@iana.org</address>
  1037. <category>ISEMAIL_DEPREC</category>
  1038. <diagnosis>ISEMAIL_DEPREC_QTEXT</diagnosis>
  1039. <source>Dominic Sayers</source>
  1040. <sourcelink>http://isemail.info</sourcelink>
  1041. </test>
  1042. <test id="139">
  1043. <address>"\&#x2407;"@iana.org</address>
  1044. <category>ISEMAIL_DEPREC</category>
  1045. <diagnosis>ISEMAIL_DEPREC_QP</diagnosis>
  1046. <source>Dominic Sayers</source>
  1047. <sourcelink>http://isemail.info</sourcelink>
  1048. </test>
  1049. <test id="140">
  1050. <address>(&#x2407;)test@iana.org</address>
  1051. <category>ISEMAIL_DEPREC</category>
  1052. <diagnosis>ISEMAIL_DEPREC_CTEXT</diagnosis>
  1053. <source>Dominic Sayers</source>
  1054. <sourcelink>http://isemail.info</sourcelink>
  1055. </test>
  1056. <test id="141">
  1057. <address>&#x240D;&#x240A;test@iana.org</address>
  1058. <comment>Not FWS because no actual white space</comment>
  1059. <category>ISEMAIL_ERR</category>
  1060. <diagnosis>ISEMAIL_ERR_FWS_CRLF_END</diagnosis>
  1061. <source>Dominic Sayers</source>
  1062. <sourcelink>http://isemail.info</sourcelink>
  1063. </test>
  1064. <test id="142">
  1065. <address>&#x240D;&#x240A; &#x240D;&#x240A;test@iana.org</address>
  1066. <comment>Not obs-FWS because there must be white space on each "fold"</comment>
  1067. <category>ISEMAIL_ERR</category>
  1068. <diagnosis>ISEMAIL_ERR_FWS_CRLF_END</diagnosis>
  1069. <source>Dominic Sayers</source>
  1070. <sourcelink>http://isemail.info</sourcelink>
  1071. </test>
  1072. <test id="143">
  1073. <address> &#x240D;&#x240A;test@iana.org</address>
  1074. <comment>Not FWS because no white space after the fold</comment>
  1075. <category>ISEMAIL_ERR</category>
  1076. <diagnosis>ISEMAIL_ERR_FWS_CRLF_END</diagnosis>
  1077. <source>Dominic Sayers</source>
  1078. <sourcelink>http://isemail.info</sourcelink>
  1079. </test>
  1080. <test id="144">
  1081. <address> &#x240D;&#x240A; test@iana.org</address>
  1082. <comment>FWS</comment>
  1083. <category>ISEMAIL_CFWS</category>
  1084. <diagnosis>ISEMAIL_CFWS_FWS</diagnosis>
  1085. <source>Dominic Sayers</source>
  1086. <sourcelink>http://isemail.info</sourcelink>
  1087. </test>
  1088. <test id="145">
  1089. <address> &#x240D;&#x240A; &#x240D;&#x240A;test@iana.org</address>
  1090. <comment>Not FWS because no white space after the second fold</comment>
  1091. <category>ISEMAIL_ERR</category>
  1092. <diagnosis>ISEMAIL_ERR_FWS_CRLF_END</diagnosis>
  1093. <source>Dominic Sayers</source>
  1094. <sourcelink>http://isemail.info</sourcelink>
  1095. </test>
  1096. <test id="146">
  1097. <address> &#x240D;&#x240A;&#x240D;&#x240A;test@iana.org</address>
  1098. <comment>Not FWS because no white space after either fold</comment>
  1099. <category>ISEMAIL_ERR</category>
  1100. <diagnosis>ISEMAIL_ERR_FWS_CRLF_X2</diagnosis>
  1101. <source>Dominic Sayers</source>
  1102. <sourcelink>http://isemail.info</sourcelink>
  1103. </test>
  1104. <test id="147">
  1105. <address> &#x240D;&#x240A;&#x240D;&#x240A; test@iana.org</address>
  1106. <comment>Not FWS because no white space after the first fold</comment>
  1107. <category>ISEMAIL_ERR</category>
  1108. <diagnosis>ISEMAIL_ERR_FWS_CRLF_X2</diagnosis>
  1109. <source>Dominic Sayers</source>
  1110. <sourcelink>http://isemail.info</sourcelink>
  1111. </test>
  1112. <test id="148">
  1113. <address>test@iana.org&#x240D;&#x240A; </address>
  1114. <comment>FWS</comment>
  1115. <category>ISEMAIL_CFWS</category>
  1116. <diagnosis>ISEMAIL_CFWS_FWS</diagnosis>
  1117. <source>Dominic Sayers</source>
  1118. <sourcelink>http://isemail.info</sourcelink>
  1119. </test>
  1120. <test id="149">
  1121. <address>test@iana.org&#x240D;&#x240A; &#x240D;&#x240A; </address>
  1122. <comment>FWS with one line composed entirely of WSP -- only allowed as obsolete FWS (someone might allow only non-obsolete FWS)</comment>
  1123. <category>ISEMAIL_DEPREC</category>
  1124. <diagnosis>ISEMAIL_DEPREC_FWS</diagnosis>
  1125. <source>Dominic Sayers</source>
  1126. <sourcelink>http://isemail.info</sourcelink>
  1127. </test>
  1128. <test id="150">
  1129. <address>test@iana.org&#x240D;&#x240A;</address>
  1130. <comment>Not FWS because no actual white space</comment>
  1131. <category>ISEMAIL_ERR</category>
  1132. <diagnosis>ISEMAIL_ERR_FWS_CRLF_END</diagnosis>
  1133. <source>Dominic Sayers</source>
  1134. <sourcelink>http://isemail.info</sourcelink>
  1135. </test>
  1136. <test id="151">
  1137. <address>test@iana.org&#x240D;&#x240A; &#x240D;&#x240A;</address>
  1138. <comment>Not obs-FWS because there must be white space on each "fold"</comment>
  1139. <category>ISEMAIL_ERR</category>
  1140. <diagnosis>ISEMAIL_ERR_FWS_CRLF_END</diagnosis>
  1141. <source>Dominic Sayers</source>
  1142. <sourcelink>http://isemail.info</sourcelink>
  1143. </test>
  1144. <test id="152">
  1145. <address>test@iana.org &#x240D;&#x240A;</address>
  1146. <comment>Not FWS because no white space after the fold</comment>
  1147. <category>ISEMAIL_ERR</category>
  1148. <diagnosis>ISEMAIL_ERR_FWS_CRLF_END</diagnosis>
  1149. <source>Dominic Sayers</source>
  1150. <sourcelink>http://isemail.info</sourcelink>
  1151. </test>
  1152. <test id="153">
  1153. <address>test@iana.org &#x240D;&#x240A; </address>
  1154. <comment>FWS</comment>
  1155. <category>ISEMAIL_CFWS</category>
  1156. <diagnosis>ISEMAIL_CFWS_FWS</diagnosis>
  1157. <source>Dominic Sayers</source>
  1158. <sourcelink>http://isemail.info</sourcelink>
  1159. </test>
  1160. <test id="154">
  1161. <address>test@iana.org &#x240D;&#x240A; &#x240D;&#x240A;</address>
  1162. <comment>Not FWS because no white space after the second fold</comment>
  1163. <category>ISEMAIL_ERR</category>
  1164. <diagnosis>ISEMAIL_ERR_FWS_CRLF_END</diagnosis>
  1165. <source>Dominic Sayers</source>
  1166. <sourcelink>http://isemail.info</sourcelink>
  1167. </test>
  1168. <test id="155">
  1169. <address>test@iana.org &#x240D;&#x240A;&#x240D;&#x240A;</address>
  1170. <comment>Not FWS because no white space after either fold</comment>
  1171. <category>ISEMAIL_ERR</category>
  1172. <diagnosis>ISEMAIL_ERR_FWS_CRLF_X2</diagnosis>
  1173. <source>Dominic Sayers</source>
  1174. <sourcelink>http://isemail.info</sourcelink>
  1175. </test>
  1176. <test id="156">
  1177. <address>test@iana.org &#x240D;&#x240A;&#x240D;&#x240A; </address>
  1178. <comment>Not FWS because no white space after the first fold</comment>
  1179. <category>ISEMAIL_ERR</category>
  1180. <diagnosis>ISEMAIL_ERR_FWS_CRLF_X2</diagnosis>
  1181. <source>Dominic Sayers</source>
  1182. <sourcelink>http://isemail.info</sourcelink>
  1183. </test>
  1184. <test id="157">
  1185. <address> test@iana.org</address>
  1186. <category>ISEMAIL_CFWS</category>
  1187. <diagnosis>ISEMAIL_CFWS_FWS</diagnosis>
  1188. <source>Dominic Sayers</source>
  1189. <sourcelink>http://isemail.info</sourcelink>
  1190. </test>
  1191. <test id="158">
  1192. <address>test@iana.org </address>
  1193. <category>ISEMAIL_CFWS</category>
  1194. <diagnosis>ISEMAIL_CFWS_FWS</diagnosis>
  1195. <source>Dominic Sayers</source>
  1196. <sourcelink>http://isemail.info</sourcelink>
  1197. </test>
  1198. <test id="159">
  1199. <address>test@[IPv6:1::2:]</address>
  1200. <category>ISEMAIL_RFC5322</category>
  1201. <diagnosis>ISEMAIL_RFC5322_IPV6_COLONEND</diagnosis>
  1202. <source>Dominic Sayers</source>
  1203. <sourcelink>http://isemail.info</sourcelink>
  1204. </test>
  1205. <test id="160">
  1206. <address>"test\&#xA9;"@iana.org</address>
  1207. <category>ISEMAIL_ERR</category>
  1208. <diagnosis>ISEMAIL_ERR_EXPECTING_QPAIR</diagnosis>
  1209. <source>Dominic Sayers</source>
  1210. <sourcelink>http://isemail.info</sourcelink>
  1211. </test>
  1212. <test id="161">
  1213. <address>test@iana/icann.org</address>
  1214. <category>ISEMAIL_RFC5322</category>
  1215. <diagnosis>ISEMAIL_RFC5322_DOMAIN</diagnosis>
  1216. <source>Dominic Sayers</source>
  1217. <sourcelink>http://isemail.info</sourcelink>
  1218. </test>
  1219. <test id="165">
  1220. <address>test.(comment)test@iana.org</address>
  1221. <category>ISEMAIL_DEPREC</category>
  1222. <diagnosis>ISEMAIL_DEPREC_COMMENT</diagnosis>
  1223. <source>Dominic Sayers</source>
  1224. <sourcelink>http://isemail.info</sourcelink>
  1225. </test>
  1226. <test id="166">
  1227. <address>test@org</address>
  1228. <category>ISEMAIL_RFC5321</category>
  1229. <diagnosis>ISEMAIL_RFC5321_TLD</diagnosis>
  1230. <source>Dominic Sayers</source>
  1231. <sourcelink>http://isemail.info</sourcelink>
  1232. </test>
  1233. <test id="167">
  1234. <address>test@test.com</address>
  1235. <comment>test.com has an A-record but not an MX-record</comment>
  1236. <category>ISEMAIL_DNSWARN</category>
  1237. <diagnosis>ISEMAIL_DNSWARN_NO_MX_RECORD</diagnosis>
  1238. <source>Dominic Sayers</source>
  1239. <sourcelink>http://isemail.info</sourcelink>
  1240. </test>
  1241. <test id="168">
  1242. <address>test@nic.no</address>
  1243. <comment>nic.no currently has no MX-records or A-records (Feb 2011). If you are seeing an A-record for nic.io then try setting your DNS server to 8.8.8.8 (the Google DNS server) - your DNS server may be faking an A-record (OpenDNS does this, for instance).</comment>
  1244. <category>ISEMAIL_DNSWARN</category>
  1245. <diagnosis>ISEMAIL_DNSWARN_NO_RECORD</diagnosis>
  1246. <source>Dominic Sayers</source>
  1247. <sourcelink>http://isemail.info</sourcelink>
  1248. </test>
  1249. </tests>