sisimai 4.19.0-java → 4.20.0-java

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of sisimai might be problematic. Click here for more details.

Files changed (503) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +1 -0
  3. data/ANALYTICAL-PRECISION +8 -6
  4. data/Changes +15 -0
  5. data/Developers.mk +13 -1
  6. data/Makefile +3 -3
  7. data/README-JA.md +35 -6
  8. data/README.md +44 -25
  9. data/Repository.mk +1 -1
  10. data/lib/sisimai.rb +92 -32
  11. data/lib/sisimai/address.rb +1 -1
  12. data/lib/sisimai/arf.rb +1 -1
  13. data/lib/sisimai/ced.rb +24 -0
  14. data/lib/sisimai/ced/us/amazonses.rb +270 -0
  15. data/lib/sisimai/ced/us/sendgrid.rb +86 -0
  16. data/lib/sisimai/data.rb +19 -4
  17. data/lib/sisimai/data/json.rb +4 -4
  18. data/lib/sisimai/data/yaml.rb +3 -2
  19. data/lib/sisimai/mail/maildir.rb +1 -1
  20. data/lib/sisimai/mail/mbox.rb +1 -1
  21. data/lib/sisimai/message.rb +43 -510
  22. data/lib/sisimai/message/email.rb +556 -0
  23. data/lib/sisimai/message/json.rb +201 -0
  24. data/lib/sisimai/msp.rb +4 -31
  25. data/lib/sisimai/msp/de/einsundeins.rb +1 -1
  26. data/lib/sisimai/msp/de/gmx.rb +1 -1
  27. data/lib/sisimai/msp/jp/biglobe.rb +1 -1
  28. data/lib/sisimai/msp/jp/ezweb.rb +1 -1
  29. data/lib/sisimai/msp/jp/kddi.rb +1 -1
  30. data/lib/sisimai/msp/ru/mailru.rb +1 -1
  31. data/lib/sisimai/msp/ru/yandex.rb +1 -1
  32. data/lib/sisimai/msp/uk/messagelabs.rb +1 -1
  33. data/lib/sisimai/msp/us/amazonses.rb +1 -1
  34. data/lib/sisimai/msp/us/amazonworkmail.rb +1 -1
  35. data/lib/sisimai/msp/us/aol.rb +1 -1
  36. data/lib/sisimai/msp/us/bigfoot.rb +1 -1
  37. data/lib/sisimai/msp/us/facebook.rb +1 -1
  38. data/lib/sisimai/msp/us/google.rb +1 -1
  39. data/lib/sisimai/msp/us/office365.rb +1 -1
  40. data/lib/sisimai/msp/us/outlook.rb +1 -1
  41. data/lib/sisimai/msp/us/receivingses.rb +1 -1
  42. data/lib/sisimai/msp/us/sendgrid.rb +1 -1
  43. data/lib/sisimai/msp/us/verizon.rb +1 -1
  44. data/lib/sisimai/msp/us/yahoo.rb +1 -1
  45. data/lib/sisimai/msp/us/zoho.rb +1 -1
  46. data/lib/sisimai/mta.rb +4 -32
  47. data/lib/sisimai/mta/activehunter.rb +1 -1
  48. data/lib/sisimai/mta/apachejames.rb +1 -1
  49. data/lib/sisimai/mta/courier.rb +1 -1
  50. data/lib/sisimai/mta/domino.rb +1 -1
  51. data/lib/sisimai/mta/exchange2003.rb +1 -1
  52. data/lib/sisimai/mta/exchange2007.rb +1 -1
  53. data/lib/sisimai/mta/exim.rb +1 -1
  54. data/lib/sisimai/mta/imailserver.rb +1 -1
  55. data/lib/sisimai/mta/interscanmss.rb +1 -1
  56. data/lib/sisimai/mta/mailfoundry.rb +1 -1
  57. data/lib/sisimai/mta/mailmarshalsmtp.rb +1 -1
  58. data/lib/sisimai/mta/mcafee.rb +1 -1
  59. data/lib/sisimai/mta/messagingserver.rb +1 -1
  60. data/lib/sisimai/mta/mfilter.rb +1 -1
  61. data/lib/sisimai/mta/mxlogic.rb +1 -1
  62. data/lib/sisimai/mta/notes.rb +1 -1
  63. data/lib/sisimai/mta/opensmtpd.rb +2 -2
  64. data/lib/sisimai/mta/postfix.rb +1 -1
  65. data/lib/sisimai/mta/qmail.rb +1 -1
  66. data/lib/sisimai/mta/sendmail.rb +2 -1
  67. data/lib/sisimai/mta/surfcontrol.rb +1 -1
  68. data/lib/sisimai/mta/userdefined.rb +1 -1
  69. data/lib/sisimai/mta/v5sendmail.rb +1 -1
  70. data/lib/sisimai/mta/x1.rb +1 -1
  71. data/lib/sisimai/mta/x2.rb +1 -1
  72. data/lib/sisimai/mta/x3.rb +1 -1
  73. data/lib/sisimai/mta/x4.rb +1 -1
  74. data/lib/sisimai/mta/x5.rb +1 -1
  75. data/lib/sisimai/order.rb +7 -216
  76. data/lib/sisimai/order/email.rb +231 -0
  77. data/lib/sisimai/order/json.rb +56 -0
  78. data/lib/sisimai/reason/hostunknown.rb +1 -0
  79. data/lib/sisimai/reason/norelaying.rb +2 -0
  80. data/lib/sisimai/reason/notaccept.rb +5 -1
  81. data/lib/sisimai/rfc3464.rb +1 -1
  82. data/lib/sisimai/skeleton.rb +43 -0
  83. data/lib/sisimai/smtp.rb +11 -48
  84. data/lib/sisimai/smtp/error.rb +3 -1
  85. data/lib/sisimai/string.rb +1 -0
  86. data/lib/sisimai/version.rb +1 -1
  87. data/set-of-emails/jsonapi/ced-us-amazonses-01.json +1 -0
  88. data/set-of-emails/jsonapi/ced-us-amazonses-02.json +11 -0
  89. data/set-of-emails/jsonapi/ced-us-amazonses-03.json +1 -0
  90. data/set-of-emails/jsonapi/ced-us-amazonses-04.json +1 -0
  91. data/set-of-emails/jsonapi/ced-us-amazonses-05.json +1 -0
  92. data/set-of-emails/jsonapi/ced-us-sendgrid-01.json +1 -0
  93. data/set-of-emails/jsonapi/ced-us-sendgrid-02.json +1 -0
  94. data/set-of-emails/jsonapi/ced-us-sendgrid-03.json +1 -0
  95. data/set-of-emails/jsonapi/ced-us-sendgrid-04.json +1 -0
  96. data/set-of-emails/jsonapi/ced-us-sendgrid-05.json +1 -0
  97. data/set-of-emails/jsonapi/ced-us-sendgrid-06.json +1 -0
  98. data/set-of-emails/jsonapi/ced-us-sendgrid-07.json +1 -0
  99. data/set-of-emails/jsonapi/ced-us-sendgrid-08.json +1 -0
  100. data/set-of-emails/jsonapi/ced-us-sendgrid-09.json +1 -0
  101. data/set-of-emails/jsonapi/ced-us-sendgrid-10.json +1 -0
  102. data/set-of-emails/jsonapi/ced-us-sendgrid-11.json +1 -0
  103. data/set-of-emails/maildir/bsd/README.md +50 -50
  104. data/set-of-emails/maildir/bsd/ced-us-amazonses-01.eml +47 -0
  105. data/set-of-emails/maildir/bsd/ced-us-amazonses-02.eml +51 -0
  106. data/set-of-emails/maildir/bsd/ced-us-amazonses-03.eml +47 -0
  107. data/set-of-emails/maildir/bsd/ced-us-amazonses-04.eml +46 -0
  108. data/set-of-emails/maildir/bsd/ced-us-amazonses-05.eml +46 -0
  109. data/set-of-emails/maildir/bsd/{de-einsundeins-01.eml → msp-de-einsundeins-01.eml} +0 -0
  110. data/set-of-emails/maildir/bsd/{de-gmx-01.eml → msp-de-gmx-01.eml} +0 -0
  111. data/set-of-emails/maildir/bsd/{de-gmx-02.eml → msp-de-gmx-02.eml} +0 -0
  112. data/set-of-emails/maildir/bsd/{de-gmx-03.eml → msp-de-gmx-03.eml} +0 -0
  113. data/set-of-emails/maildir/bsd/{de-gmx-04.eml → msp-de-gmx-04.eml} +0 -0
  114. data/set-of-emails/maildir/bsd/{jp-biglobe-01.eml → msp-jp-biglobe-01.eml} +0 -0
  115. data/set-of-emails/maildir/bsd/{jp-ezweb-01.eml → msp-jp-ezweb-01.eml} +0 -0
  116. data/set-of-emails/maildir/bsd/{jp-ezweb-02.eml → msp-jp-ezweb-02.eml} +0 -0
  117. data/set-of-emails/maildir/bsd/{jp-ezweb-03.eml → msp-jp-ezweb-03.eml} +0 -0
  118. data/set-of-emails/maildir/bsd/{jp-ezweb-04.eml → msp-jp-ezweb-04.eml} +0 -0
  119. data/set-of-emails/maildir/bsd/{jp-ezweb-05.eml → msp-jp-ezweb-05.eml} +0 -0
  120. data/set-of-emails/maildir/bsd/{jp-ezweb-06.eml → msp-jp-ezweb-06.eml} +0 -0
  121. data/set-of-emails/maildir/bsd/{jp-kddi-01.eml → msp-jp-kddi-01.eml} +0 -0
  122. data/set-of-emails/maildir/bsd/{jp-kddi-02.eml → msp-jp-kddi-02.eml} +0 -0
  123. data/set-of-emails/maildir/bsd/{jp-kddi-03.eml → msp-jp-kddi-03.eml} +0 -0
  124. data/set-of-emails/maildir/bsd/{ru-mailru-01.eml → msp-ru-mailru-01.eml} +0 -0
  125. data/set-of-emails/maildir/bsd/{ru-mailru-02.eml → msp-ru-mailru-02.eml} +0 -0
  126. data/set-of-emails/maildir/bsd/{ru-mailru-03.eml → msp-ru-mailru-03.eml} +0 -0
  127. data/set-of-emails/maildir/bsd/{ru-mailru-04.eml → msp-ru-mailru-04.eml} +0 -0
  128. data/set-of-emails/maildir/bsd/{ru-yandex-01.eml → msp-ru-yandex-01.eml} +0 -0
  129. data/set-of-emails/maildir/bsd/{ru-yandex-02.eml → msp-ru-yandex-02.eml} +0 -0
  130. data/set-of-emails/maildir/bsd/{ru-yandex-03.eml → msp-ru-yandex-03.eml} +0 -0
  131. data/set-of-emails/maildir/bsd/{uk-messagelabs-01.eml → msp-uk-messagelabs-01.eml} +0 -0
  132. data/set-of-emails/maildir/bsd/{us-amazonses-01.eml → msp-us-amazonses-01.eml} +0 -0
  133. data/set-of-emails/maildir/bsd/{us-amazonses-02.eml → msp-us-amazonses-02.eml} +0 -0
  134. data/set-of-emails/maildir/bsd/{us-amazonses-03.eml → msp-us-amazonses-03.eml} +0 -0
  135. data/set-of-emails/maildir/bsd/{us-amazonses-04.eml → msp-us-amazonses-04.eml} +0 -0
  136. data/set-of-emails/maildir/bsd/{us-amazonses-05.eml → msp-us-amazonses-05.eml} +0 -0
  137. data/set-of-emails/maildir/bsd/{us-amazonses-06.eml → msp-us-amazonses-06.eml} +0 -0
  138. data/set-of-emails/maildir/bsd/{us-amazonses-07.eml → msp-us-amazonses-07.eml} +0 -0
  139. data/set-of-emails/maildir/bsd/{us-amazonses-08.eml → msp-us-amazonses-08.eml} +0 -0
  140. data/set-of-emails/maildir/bsd/{us-amazonworkmail-01.eml → msp-us-amazonworkmail-01.eml} +0 -0
  141. data/set-of-emails/maildir/bsd/{us-amazonworkmail-02.eml → msp-us-amazonworkmail-02.eml} +0 -0
  142. data/set-of-emails/maildir/bsd/{us-amazonworkmail-03.eml → msp-us-amazonworkmail-03.eml} +0 -0
  143. data/set-of-emails/maildir/bsd/{us-amazonworkmail-04.eml → msp-us-amazonworkmail-04.eml} +0 -0
  144. data/set-of-emails/maildir/bsd/{us-amazonworkmail-05.eml → msp-us-amazonworkmail-05.eml} +0 -0
  145. data/set-of-emails/maildir/bsd/{us-amazonworkmail-06.eml → msp-us-amazonworkmail-06.eml} +0 -0
  146. data/set-of-emails/maildir/bsd/{us-amazonworkmail-07.eml → msp-us-amazonworkmail-07.eml} +0 -0
  147. data/set-of-emails/maildir/bsd/{us-aol-01.eml → msp-us-aol-01.eml} +0 -0
  148. data/set-of-emails/maildir/bsd/{us-aol-02.eml → msp-us-aol-02.eml} +0 -0
  149. data/set-of-emails/maildir/bsd/{us-aol-03.eml → msp-us-aol-03.eml} +0 -0
  150. data/set-of-emails/maildir/bsd/{us-aol-04.eml → msp-us-aol-04.eml} +0 -0
  151. data/set-of-emails/maildir/bsd/{us-bigfoot-01.eml → msp-us-bigfoot-01.eml} +0 -0
  152. data/set-of-emails/maildir/bsd/{us-facebook-01.eml → msp-us-facebook-01.eml} +0 -0
  153. data/set-of-emails/maildir/bsd/{us-facebook-02.eml → msp-us-facebook-02.eml} +0 -0
  154. data/set-of-emails/maildir/bsd/{us-google-01.eml → msp-us-google-01.eml} +0 -0
  155. data/set-of-emails/maildir/bsd/{us-google-02.eml → msp-us-google-02.eml} +0 -0
  156. data/set-of-emails/maildir/bsd/{us-google-03.eml → msp-us-google-03.eml} +0 -0
  157. data/set-of-emails/maildir/bsd/{us-google-04.eml → msp-us-google-04.eml} +0 -0
  158. data/set-of-emails/maildir/bsd/{us-google-05.eml → msp-us-google-05.eml} +0 -0
  159. data/set-of-emails/maildir/bsd/{us-google-06.eml → msp-us-google-06.eml} +0 -0
  160. data/set-of-emails/maildir/bsd/{us-google-07.eml → msp-us-google-07.eml} +0 -0
  161. data/set-of-emails/maildir/bsd/{us-google-08.eml → msp-us-google-08.eml} +0 -0
  162. data/set-of-emails/maildir/bsd/{us-google-09.eml → msp-us-google-09.eml} +0 -0
  163. data/set-of-emails/maildir/bsd/{us-google-10.eml → msp-us-google-10.eml} +0 -0
  164. data/set-of-emails/maildir/bsd/{us-google-11.eml → msp-us-google-11.eml} +0 -0
  165. data/set-of-emails/maildir/bsd/{us-google-12.eml → msp-us-google-12.eml} +0 -0
  166. data/set-of-emails/maildir/bsd/{us-google-13.eml → msp-us-google-13.eml} +0 -0
  167. data/set-of-emails/maildir/bsd/{us-google-14.eml → msp-us-google-14.eml} +0 -0
  168. data/set-of-emails/maildir/bsd/{us-google-15.eml → msp-us-google-15.eml} +0 -0
  169. data/set-of-emails/maildir/bsd/{us-google-16.eml → msp-us-google-16.eml} +0 -0
  170. data/set-of-emails/maildir/bsd/{us-google-17.eml → msp-us-google-17.eml} +0 -0
  171. data/set-of-emails/maildir/bsd/{us-office365-01.eml → msp-us-office365-01.eml} +0 -0
  172. data/set-of-emails/maildir/bsd/{us-office365-02.eml → msp-us-office365-02.eml} +0 -0
  173. data/set-of-emails/maildir/bsd/{us-outlook-01.eml → msp-us-outlook-01.eml} +0 -0
  174. data/set-of-emails/maildir/bsd/{us-outlook-02.eml → msp-us-outlook-02.eml} +0 -0
  175. data/set-of-emails/maildir/bsd/{us-outlook-03.eml → msp-us-outlook-03.eml} +0 -0
  176. data/set-of-emails/maildir/bsd/{us-outlook-04.eml → msp-us-outlook-04.eml} +0 -0
  177. data/set-of-emails/maildir/bsd/{us-outlook-05.eml → msp-us-outlook-05.eml} +0 -0
  178. data/set-of-emails/maildir/bsd/{us-outlook-06.eml → msp-us-outlook-06.eml} +0 -0
  179. data/set-of-emails/maildir/bsd/{us-outlook-07.eml → msp-us-outlook-07.eml} +0 -0
  180. data/set-of-emails/maildir/bsd/{us-receivingses-01.eml → msp-us-receivingses-01.eml} +0 -0
  181. data/set-of-emails/maildir/bsd/{us-receivingses-02.eml → msp-us-receivingses-02.eml} +0 -0
  182. data/set-of-emails/maildir/bsd/{us-receivingses-03.eml → msp-us-receivingses-03.eml} +0 -0
  183. data/set-of-emails/maildir/bsd/{us-receivingses-04.eml → msp-us-receivingses-04.eml} +0 -0
  184. data/set-of-emails/maildir/bsd/{us-receivingses-05.eml → msp-us-receivingses-05.eml} +0 -0
  185. data/set-of-emails/maildir/bsd/{us-receivingses-06.eml → msp-us-receivingses-06.eml} +0 -0
  186. data/set-of-emails/maildir/bsd/{us-receivingses-07.eml → msp-us-receivingses-07.eml} +0 -0
  187. data/set-of-emails/maildir/bsd/{us-sendgrid-01.eml → msp-us-sendgrid-01.eml} +0 -0
  188. data/set-of-emails/maildir/bsd/{us-sendgrid-02.eml → msp-us-sendgrid-02.eml} +0 -0
  189. data/set-of-emails/maildir/bsd/{us-sendgrid-03.eml → msp-us-sendgrid-03.eml} +0 -0
  190. data/set-of-emails/maildir/bsd/{us-verizon-01.eml → msp-us-verizon-01.eml} +0 -0
  191. data/set-of-emails/maildir/bsd/msp-us-verizon-02.eml +46 -0
  192. data/set-of-emails/maildir/bsd/{us-yahoo-01.eml → msp-us-yahoo-01.eml} +0 -0
  193. data/set-of-emails/maildir/bsd/{us-yahoo-02.eml → msp-us-yahoo-02.eml} +0 -0
  194. data/set-of-emails/maildir/bsd/{us-yahoo-03.eml → msp-us-yahoo-03.eml} +0 -0
  195. data/set-of-emails/maildir/bsd/{us-yahoo-04.eml → msp-us-yahoo-04.eml} +0 -0
  196. data/set-of-emails/maildir/bsd/{us-yahoo-05.eml → msp-us-yahoo-05.eml} +0 -0
  197. data/set-of-emails/maildir/bsd/{us-zoho-01.eml → msp-us-zoho-01.eml} +0 -0
  198. data/set-of-emails/maildir/bsd/{us-zoho-02.eml → msp-us-zoho-02.eml} +0 -0
  199. data/set-of-emails/maildir/bsd/{us-zoho-03.eml → msp-us-zoho-03.eml} +0 -0
  200. data/set-of-emails/maildir/bsd/{us-zoho-04.eml → msp-us-zoho-04.eml} +0 -0
  201. data/set-of-emails/maildir/bsd/{us-zoho-05.eml → msp-us-zoho-05.eml} +0 -0
  202. data/set-of-emails/maildir/bsd/mta-README.md +319 -0
  203. data/set-of-emails/maildir/bsd/{activehunter-01.eml → mta-activehunter-01.eml} +0 -0
  204. data/set-of-emails/maildir/bsd/{activehunter-02.eml → mta-activehunter-02.eml} +0 -0
  205. data/set-of-emails/maildir/bsd/{apachejames-01.eml → mta-apachejames-01.eml} +0 -0
  206. data/set-of-emails/maildir/bsd/{courier-01.eml → mta-courier-01.eml} +0 -0
  207. data/set-of-emails/maildir/bsd/{courier-02.eml → mta-courier-02.eml} +0 -0
  208. data/set-of-emails/maildir/bsd/{courier-03.eml → mta-courier-03.eml} +0 -0
  209. data/set-of-emails/maildir/bsd/{courier-04.eml → mta-courier-04.eml} +0 -0
  210. data/set-of-emails/maildir/bsd/{domino-01.eml → mta-domino-01.eml} +0 -0
  211. data/set-of-emails/maildir/bsd/{domino-02.eml → mta-domino-02.eml} +0 -0
  212. data/set-of-emails/maildir/bsd/{exchange2003-01.eml → mta-exchange2003-01.eml} +0 -0
  213. data/set-of-emails/maildir/bsd/{exchange2003-02.eml → mta-exchange2003-02.eml} +0 -0
  214. data/set-of-emails/maildir/bsd/{exchange2003-03.eml → mta-exchange2003-03.eml} +0 -0
  215. data/set-of-emails/maildir/bsd/{exchange2003-04.eml → mta-exchange2003-04.eml} +0 -0
  216. data/set-of-emails/maildir/bsd/{exchange2003-05.eml → mta-exchange2003-05.eml} +0 -0
  217. data/set-of-emails/maildir/bsd/{exchange2003-06.eml → mta-exchange2003-06.eml} +0 -0
  218. data/set-of-emails/maildir/bsd/{exchange2007-01.eml → mta-exchange2007-01.eml} +0 -0
  219. data/set-of-emails/maildir/bsd/{exchange2007-02.eml → mta-exchange2007-02.eml} +0 -0
  220. data/set-of-emails/maildir/bsd/{exchange2007-03.eml → mta-exchange2007-03.eml} +0 -0
  221. data/set-of-emails/maildir/bsd/{exim-01.eml → mta-exim-01.eml} +0 -0
  222. data/set-of-emails/maildir/bsd/{exim-02.eml → mta-exim-02.eml} +0 -0
  223. data/set-of-emails/maildir/bsd/{exim-03.eml → mta-exim-03.eml} +0 -0
  224. data/set-of-emails/maildir/bsd/{exim-04.eml → mta-exim-04.eml} +0 -0
  225. data/set-of-emails/maildir/bsd/{exim-05.eml → mta-exim-05.eml} +0 -0
  226. data/set-of-emails/maildir/bsd/{exim-06.eml → mta-exim-06.eml} +0 -0
  227. data/set-of-emails/maildir/bsd/{exim-07.eml → mta-exim-07.eml} +0 -0
  228. data/set-of-emails/maildir/bsd/{exim-08.eml → mta-exim-08.eml} +0 -0
  229. data/set-of-emails/maildir/bsd/{exim-09.eml → mta-exim-09.eml} +0 -0
  230. data/set-of-emails/maildir/bsd/{exim-10.eml → mta-exim-10.eml} +0 -0
  231. data/set-of-emails/maildir/bsd/{exim-11.eml → mta-exim-11.eml} +0 -0
  232. data/set-of-emails/maildir/bsd/{exim-12.eml → mta-exim-12.eml} +0 -0
  233. data/set-of-emails/maildir/bsd/{exim-13.eml → mta-exim-13.eml} +0 -0
  234. data/set-of-emails/maildir/bsd/{exim-14.eml → mta-exim-14.eml} +0 -0
  235. data/set-of-emails/maildir/bsd/{exim-15.eml → mta-exim-15.eml} +0 -0
  236. data/set-of-emails/maildir/bsd/{exim-16.eml → mta-exim-16.eml} +0 -0
  237. data/set-of-emails/maildir/bsd/{exim-17.eml → mta-exim-17.eml} +0 -0
  238. data/set-of-emails/maildir/bsd/{exim-18.eml → mta-exim-18.eml} +0 -0
  239. data/set-of-emails/maildir/bsd/{exim-19.eml → mta-exim-19.eml} +0 -0
  240. data/set-of-emails/maildir/bsd/{exim-20.eml → mta-exim-20.eml} +0 -0
  241. data/set-of-emails/maildir/bsd/{exim-21.eml → mta-exim-21.eml} +0 -0
  242. data/set-of-emails/maildir/bsd/{exim-22.eml → mta-exim-22.eml} +0 -0
  243. data/set-of-emails/maildir/bsd/{exim-23.eml → mta-exim-23.eml} +0 -0
  244. data/set-of-emails/maildir/bsd/{exim-24.eml → mta-exim-24.eml} +0 -0
  245. data/set-of-emails/maildir/bsd/{exim-25.eml → mta-exim-25.eml} +0 -0
  246. data/set-of-emails/maildir/bsd/{exim-26.eml → mta-exim-26.eml} +0 -0
  247. data/set-of-emails/maildir/bsd/{exim-27.eml → mta-exim-27.eml} +0 -0
  248. data/set-of-emails/maildir/bsd/{exim-28.eml → mta-exim-28.eml} +0 -0
  249. data/set-of-emails/maildir/bsd/{exim-29.eml → mta-exim-29.eml} +0 -0
  250. data/set-of-emails/maildir/bsd/{imailserver-01.eml → mta-imailserver-01.eml} +0 -0
  251. data/set-of-emails/maildir/bsd/{imailserver-02.eml → mta-imailserver-02.eml} +0 -0
  252. data/set-of-emails/maildir/bsd/{imailserver-03.eml → mta-imailserver-03.eml} +0 -0
  253. data/set-of-emails/maildir/bsd/{imailserver-04.eml → mta-imailserver-04.eml} +0 -0
  254. data/set-of-emails/maildir/bsd/{imailserver-05.eml → mta-imailserver-05.eml} +0 -0
  255. data/set-of-emails/maildir/bsd/{imailserver-06.eml → mta-imailserver-06.eml} +0 -0
  256. data/set-of-emails/maildir/bsd/{interscanmss-01.eml → mta-interscanmss-01.eml} +0 -0
  257. data/set-of-emails/maildir/bsd/{interscanmss-02.eml → mta-interscanmss-02.eml} +0 -0
  258. data/set-of-emails/maildir/bsd/{mailfoundry-01.eml → mta-mailfoundry-01.eml} +0 -0
  259. data/set-of-emails/maildir/bsd/{mailfoundry-02.eml → mta-mailfoundry-02.eml} +0 -0
  260. data/set-of-emails/maildir/bsd/{mailmarshalsmtp-01.eml → mta-mailmarshalsmtp-01.eml} +0 -0
  261. data/set-of-emails/maildir/bsd/{mcafee-01.eml → mta-mcafee-01.eml} +0 -0
  262. data/set-of-emails/maildir/bsd/{mcafee-02.eml → mta-mcafee-02.eml} +0 -0
  263. data/set-of-emails/maildir/bsd/{mcafee-03.eml → mta-mcafee-03.eml} +0 -0
  264. data/set-of-emails/maildir/bsd/{messagingserver-01.eml → mta-messagingserver-01.eml} +0 -0
  265. data/set-of-emails/maildir/bsd/{messagingserver-02.eml → mta-messagingserver-02.eml} +0 -0
  266. data/set-of-emails/maildir/bsd/{messagingserver-03.eml → mta-messagingserver-03.eml} +0 -0
  267. data/set-of-emails/maildir/bsd/{messagingserver-04.eml → mta-messagingserver-04.eml} +0 -0
  268. data/set-of-emails/maildir/bsd/{messagingserver-05.eml → mta-messagingserver-05.eml} +0 -0
  269. data/set-of-emails/maildir/bsd/{messagingserver-06.eml → mta-messagingserver-06.eml} +0 -0
  270. data/set-of-emails/maildir/bsd/{messagingserver-07.eml → mta-messagingserver-07.eml} +0 -0
  271. data/set-of-emails/maildir/bsd/{mfilter-01.eml → mta-mfilter-01.eml} +0 -0
  272. data/set-of-emails/maildir/bsd/{mfilter-02.eml → mta-mfilter-02.eml} +0 -0
  273. data/set-of-emails/maildir/bsd/{mfilter-03.eml → mta-mfilter-03.eml} +0 -0
  274. data/set-of-emails/maildir/bsd/{mxlogic-01.eml → mta-mxlogic-01.eml} +0 -0
  275. data/set-of-emails/maildir/bsd/{mxlogic-02.eml → mta-mxlogic-02.eml} +0 -0
  276. data/set-of-emails/maildir/bsd/{mxlogic-03.eml → mta-mxlogic-03.eml} +0 -0
  277. data/set-of-emails/maildir/bsd/{notes-01.eml → mta-notes-01.eml} +0 -0
  278. data/set-of-emails/maildir/bsd/{notes-02.eml → mta-notes-02.eml} +0 -0
  279. data/set-of-emails/maildir/bsd/{notes-03.eml → mta-notes-03.eml} +0 -0
  280. data/set-of-emails/maildir/bsd/{notes-04.eml → mta-notes-04.eml} +0 -0
  281. data/set-of-emails/maildir/bsd/{opensmtpd-01.eml → mta-opensmtpd-01.eml} +0 -0
  282. data/set-of-emails/maildir/bsd/{opensmtpd-02.eml → mta-opensmtpd-02.eml} +0 -0
  283. data/set-of-emails/maildir/bsd/{opensmtpd-03.eml → mta-opensmtpd-03.eml} +0 -0
  284. data/set-of-emails/maildir/bsd/{opensmtpd-04.eml → mta-opensmtpd-04.eml} +0 -0
  285. data/set-of-emails/maildir/bsd/{opensmtpd-05.eml → mta-opensmtpd-05.eml} +0 -0
  286. data/set-of-emails/maildir/bsd/mta-opensmtpd-06.eml +67 -0
  287. data/set-of-emails/maildir/bsd/{postfix-01.eml → mta-postfix-01.eml} +0 -0
  288. data/set-of-emails/maildir/bsd/{postfix-02.eml → mta-postfix-02.eml} +0 -0
  289. data/set-of-emails/maildir/bsd/{postfix-03.eml → mta-postfix-03.eml} +0 -0
  290. data/set-of-emails/maildir/bsd/{postfix-04.eml → mta-postfix-04.eml} +0 -0
  291. data/set-of-emails/maildir/bsd/{postfix-05.eml → mta-postfix-05.eml} +0 -0
  292. data/set-of-emails/maildir/bsd/{postfix-06.eml → mta-postfix-06.eml} +0 -0
  293. data/set-of-emails/maildir/bsd/{postfix-07.eml → mta-postfix-07.eml} +0 -0
  294. data/set-of-emails/maildir/bsd/{postfix-08.eml → mta-postfix-08.eml} +0 -0
  295. data/set-of-emails/maildir/bsd/{postfix-09.eml → mta-postfix-09.eml} +0 -0
  296. data/set-of-emails/maildir/bsd/{postfix-10.eml → mta-postfix-10.eml} +0 -0
  297. data/set-of-emails/maildir/bsd/{postfix-11.eml → mta-postfix-11.eml} +0 -0
  298. data/set-of-emails/maildir/bsd/{postfix-12.eml → mta-postfix-12.eml} +0 -0
  299. data/set-of-emails/maildir/bsd/{postfix-13.eml → mta-postfix-13.eml} +0 -0
  300. data/set-of-emails/maildir/bsd/{postfix-14.eml → mta-postfix-14.eml} +0 -0
  301. data/set-of-emails/maildir/bsd/{postfix-15.eml → mta-postfix-15.eml} +0 -0
  302. data/set-of-emails/maildir/bsd/{postfix-16.eml → mta-postfix-16.eml} +0 -0
  303. data/set-of-emails/maildir/bsd/{postfix-17.eml → mta-postfix-17.eml} +0 -0
  304. data/set-of-emails/maildir/bsd/{postfix-18.eml → mta-postfix-18.eml} +0 -0
  305. data/set-of-emails/maildir/bsd/{postfix-19.eml → mta-postfix-19.eml} +0 -0
  306. data/set-of-emails/maildir/bsd/{postfix-20.eml → mta-postfix-20.eml} +0 -0
  307. data/set-of-emails/maildir/bsd/{postfix-21.eml → mta-postfix-21.eml} +0 -0
  308. data/set-of-emails/maildir/bsd/{postfix-22.eml → mta-postfix-22.eml} +0 -0
  309. data/set-of-emails/maildir/bsd/{postfix-23.eml → mta-postfix-23.eml} +0 -0
  310. data/set-of-emails/maildir/bsd/{postfix-24.eml → mta-postfix-24.eml} +0 -0
  311. data/set-of-emails/maildir/bsd/{postfix-25.eml → mta-postfix-25.eml} +0 -0
  312. data/set-of-emails/maildir/bsd/{postfix-26.eml → mta-postfix-26.eml} +0 -0
  313. data/set-of-emails/maildir/bsd/{postfix-27.eml → mta-postfix-27.eml} +0 -0
  314. data/set-of-emails/maildir/bsd/{qmail-01.eml → mta-qmail-01.eml} +0 -0
  315. data/set-of-emails/maildir/bsd/{qmail-02.eml → mta-qmail-02.eml} +0 -0
  316. data/set-of-emails/maildir/bsd/{qmail-03.eml → mta-qmail-03.eml} +0 -0
  317. data/set-of-emails/maildir/bsd/{qmail-04.eml → mta-qmail-04.eml} +0 -0
  318. data/set-of-emails/maildir/bsd/{qmail-05.eml → mta-qmail-05.eml} +0 -0
  319. data/set-of-emails/maildir/bsd/{qmail-06.eml → mta-qmail-06.eml} +0 -0
  320. data/set-of-emails/maildir/bsd/{qmail-07.eml → mta-qmail-07.eml} +0 -0
  321. data/set-of-emails/maildir/bsd/{qmail-08.eml → mta-qmail-08.eml} +0 -0
  322. data/set-of-emails/maildir/bsd/{qmail-09.eml → mta-qmail-09.eml} +0 -0
  323. data/set-of-emails/maildir/bsd/{qmail-10.eml → mta-qmail-10.eml} +0 -0
  324. data/set-of-emails/maildir/bsd/{qmail-11.eml → mta-qmail-11.eml} +0 -0
  325. data/set-of-emails/maildir/bsd/{qmail-12.eml → mta-qmail-12.eml} +0 -0
  326. data/set-of-emails/maildir/bsd/{sendmail-01.eml → mta-sendmail-01.eml} +0 -0
  327. data/set-of-emails/maildir/bsd/{sendmail-02.eml → mta-sendmail-02.eml} +0 -0
  328. data/set-of-emails/maildir/bsd/{sendmail-03.eml → mta-sendmail-03.eml} +0 -0
  329. data/set-of-emails/maildir/bsd/{sendmail-04.eml → mta-sendmail-04.eml} +0 -0
  330. data/set-of-emails/maildir/bsd/{sendmail-05.eml → mta-sendmail-05.eml} +0 -0
  331. data/set-of-emails/maildir/bsd/{sendmail-06.eml → mta-sendmail-06.eml} +0 -0
  332. data/set-of-emails/maildir/bsd/{sendmail-07.eml → mta-sendmail-07.eml} +0 -0
  333. data/set-of-emails/maildir/bsd/{sendmail-08.eml → mta-sendmail-08.eml} +0 -0
  334. data/set-of-emails/maildir/bsd/{sendmail-09.eml → mta-sendmail-09.eml} +0 -0
  335. data/set-of-emails/maildir/bsd/{sendmail-10.eml → mta-sendmail-10.eml} +0 -0
  336. data/set-of-emails/maildir/bsd/{sendmail-11.eml → mta-sendmail-11.eml} +0 -0
  337. data/set-of-emails/maildir/bsd/{sendmail-12.eml → mta-sendmail-12.eml} +0 -0
  338. data/set-of-emails/maildir/bsd/{sendmail-13.eml → mta-sendmail-13.eml} +0 -0
  339. data/set-of-emails/maildir/bsd/{sendmail-14.eml → mta-sendmail-14.eml} +0 -0
  340. data/set-of-emails/maildir/bsd/{sendmail-15.eml → mta-sendmail-15.eml} +0 -0
  341. data/set-of-emails/maildir/bsd/{sendmail-16.eml → mta-sendmail-16.eml} +0 -0
  342. data/set-of-emails/maildir/bsd/{sendmail-17.eml → mta-sendmail-17.eml} +0 -0
  343. data/set-of-emails/maildir/bsd/{sendmail-18.eml → mta-sendmail-18.eml} +0 -0
  344. data/set-of-emails/maildir/bsd/{sendmail-19.eml → mta-sendmail-19.eml} +0 -0
  345. data/set-of-emails/maildir/bsd/{sendmail-20.eml → mta-sendmail-20.eml} +0 -0
  346. data/set-of-emails/maildir/bsd/{sendmail-21.eml → mta-sendmail-21.eml} +0 -0
  347. data/set-of-emails/maildir/bsd/{sendmail-22.eml → mta-sendmail-22.eml} +0 -0
  348. data/set-of-emails/maildir/bsd/{sendmail-23.eml → mta-sendmail-23.eml} +0 -0
  349. data/set-of-emails/maildir/bsd/{sendmail-24.eml → mta-sendmail-24.eml} +0 -0
  350. data/set-of-emails/maildir/bsd/{sendmail-25.eml → mta-sendmail-25.eml} +0 -0
  351. data/set-of-emails/maildir/bsd/{sendmail-26.eml → mta-sendmail-26.eml} +0 -0
  352. data/set-of-emails/maildir/bsd/{sendmail-27.eml → mta-sendmail-27.eml} +0 -0
  353. data/set-of-emails/maildir/bsd/{sendmail-28.eml → mta-sendmail-28.eml} +0 -0
  354. data/set-of-emails/maildir/bsd/{sendmail-29.eml → mta-sendmail-29.eml} +0 -0
  355. data/set-of-emails/maildir/bsd/{sendmail-30.eml → mta-sendmail-30.eml} +0 -0
  356. data/set-of-emails/maildir/bsd/{sendmail-31.eml → mta-sendmail-31.eml} +0 -0
  357. data/set-of-emails/maildir/bsd/{sendmail-32.eml → mta-sendmail-32.eml} +0 -0
  358. data/set-of-emails/maildir/bsd/{sendmail-33.eml → mta-sendmail-33.eml} +0 -0
  359. data/set-of-emails/maildir/bsd/{sendmail-34.eml → mta-sendmail-34.eml} +0 -0
  360. data/set-of-emails/maildir/bsd/{sendmail-35.eml → mta-sendmail-35.eml} +0 -0
  361. data/set-of-emails/maildir/bsd/{sendmail-36.eml → mta-sendmail-36.eml} +0 -0
  362. data/set-of-emails/maildir/bsd/{sendmail-37.eml → mta-sendmail-37.eml} +0 -0
  363. data/set-of-emails/maildir/bsd/{sendmail-38.eml → mta-sendmail-38.eml} +0 -0
  364. data/set-of-emails/maildir/bsd/{sendmail-39.eml → mta-sendmail-39.eml} +0 -0
  365. data/set-of-emails/maildir/bsd/{sendmail-40.eml → mta-sendmail-40.eml} +0 -0
  366. data/set-of-emails/maildir/bsd/{sendmail-41.eml → mta-sendmail-41.eml} +0 -0
  367. data/set-of-emails/maildir/bsd/mta-sendmail-42.eml +64 -0
  368. data/set-of-emails/maildir/bsd/{surfcontrol-01.eml → mta-surfcontrol-01.eml} +0 -0
  369. data/set-of-emails/maildir/bsd/{surfcontrol-02.eml → mta-surfcontrol-02.eml} +0 -0
  370. data/set-of-emails/maildir/bsd/{surfcontrol-03.eml → mta-surfcontrol-03.eml} +0 -0
  371. data/set-of-emails/maildir/bsd/{v5sendmail-01.eml → mta-v5sendmail-01.eml} +0 -0
  372. data/set-of-emails/maildir/bsd/{v5sendmail-02.eml → mta-v5sendmail-02.eml} +0 -0
  373. data/set-of-emails/maildir/bsd/{v5sendmail-03.eml → mta-v5sendmail-03.eml} +0 -0
  374. data/set-of-emails/maildir/bsd/{v5sendmail-04.eml → mta-v5sendmail-04.eml} +0 -0
  375. data/set-of-emails/maildir/bsd/{v5sendmail-05.eml → mta-v5sendmail-05.eml} +0 -0
  376. data/set-of-emails/maildir/bsd/{v5sendmail-06.eml → mta-v5sendmail-06.eml} +0 -0
  377. data/set-of-emails/maildir/bsd/{v5sendmail-07.eml → mta-v5sendmail-07.eml} +0 -0
  378. data/set-of-emails/maildir/bsd/{x1-01.eml → mta-x1-01.eml} +0 -0
  379. data/set-of-emails/maildir/bsd/{x1-02.eml → mta-x1-02.eml} +0 -0
  380. data/set-of-emails/maildir/bsd/{x2-01.eml → mta-x2-01.eml} +0 -0
  381. data/set-of-emails/maildir/bsd/{x2-02.eml → mta-x2-02.eml} +0 -0
  382. data/set-of-emails/maildir/bsd/{x2-03.eml → mta-x2-03.eml} +0 -0
  383. data/set-of-emails/maildir/bsd/{x2-04.eml → mta-x2-04.eml} +0 -0
  384. data/set-of-emails/maildir/bsd/{x2-05.eml → mta-x2-05.eml} +0 -0
  385. data/set-of-emails/maildir/bsd/{x3-01.eml → mta-x3-01.eml} +0 -0
  386. data/set-of-emails/maildir/bsd/{x3-02.eml → mta-x3-02.eml} +0 -0
  387. data/set-of-emails/maildir/bsd/{x3-03.eml → mta-x3-03.eml} +0 -0
  388. data/set-of-emails/maildir/bsd/{x3-04.eml → mta-x3-04.eml} +0 -0
  389. data/set-of-emails/maildir/bsd/{x4-01.eml → mta-x4-01.eml} +0 -0
  390. data/set-of-emails/maildir/bsd/{x4-02.eml → mta-x4-02.eml} +0 -0
  391. data/set-of-emails/maildir/bsd/{x4-03.eml → mta-x4-03.eml} +0 -0
  392. data/set-of-emails/maildir/bsd/{x4-04.eml → mta-x4-04.eml} +0 -0
  393. data/set-of-emails/maildir/bsd/{x4-05.eml → mta-x4-05.eml} +0 -0
  394. data/set-of-emails/maildir/bsd/{x4-06.eml → mta-x4-06.eml} +0 -0
  395. data/set-of-emails/maildir/bsd/{x4-07.eml → mta-x4-07.eml} +0 -0
  396. data/set-of-emails/maildir/bsd/{x5-01.eml → mta-x5-01.eml} +0 -0
  397. data/set-of-emails/maildir/bsd/{exchange-online-01.eml → rhost-exchange-online-01.eml} +0 -0
  398. data/set-of-emails/maildir/bsd/{google-apps-01.eml → rhost-google-apps-01.eml} +0 -0
  399. data/set-of-emails/maildir/dos/ced-us-amazonses-01.eml +47 -0
  400. data/set-of-emails/maildir/dos/{de-einsundeins-01.eml → msp-de-einsundeins-01.eml} +0 -0
  401. data/set-of-emails/maildir/dos/{de-gmx-01.eml → msp-de-gmx-01.eml} +0 -0
  402. data/set-of-emails/maildir/dos/{jp-biglobe-01.eml → msp-jp-biglobe-01.eml} +0 -0
  403. data/set-of-emails/maildir/dos/{jp-ezweb-01.eml → msp-jp-ezweb-01.eml} +0 -0
  404. data/set-of-emails/maildir/dos/{jp-kddi-01.eml → msp-jp-kddi-01.eml} +0 -0
  405. data/set-of-emails/maildir/dos/{ru-mailru-01.eml → msp-ru-mailru-01.eml} +0 -0
  406. data/set-of-emails/maildir/dos/{ru-yandex-01.eml → msp-ru-yandex-01.eml} +0 -0
  407. data/set-of-emails/maildir/dos/{uk-messagelabs-01.eml → msp-uk-messagelabs-01.eml} +0 -0
  408. data/set-of-emails/maildir/dos/{us-amazonses-01.eml → msp-us-amazonses-01.eml} +0 -0
  409. data/set-of-emails/maildir/dos/{us-amazonworkmail-01.eml → msp-us-amazonworkmail-01.eml} +0 -0
  410. data/set-of-emails/maildir/dos/{us-aol-01.eml → msp-us-aol-01.eml} +0 -0
  411. data/set-of-emails/maildir/dos/{us-bigfoot-01.eml → msp-us-bigfoot-01.eml} +0 -0
  412. data/set-of-emails/maildir/dos/{us-facebook-01.eml → msp-us-facebook-01.eml} +0 -0
  413. data/set-of-emails/maildir/dos/{us-google-01.eml → msp-us-google-01.eml} +0 -0
  414. data/set-of-emails/maildir/dos/{us-office365-01.eml → msp-us-office365-01.eml} +0 -0
  415. data/set-of-emails/maildir/dos/{us-outlook-01.eml → msp-us-outlook-01.eml} +0 -0
  416. data/set-of-emails/maildir/dos/{us-receivingses-01.eml → msp-us-receivingses-01.eml} +0 -0
  417. data/set-of-emails/maildir/dos/{us-sendgrid-01.eml → msp-us-sendgrid-01.eml} +0 -0
  418. data/set-of-emails/maildir/dos/{us-verizon-01.eml → msp-us-verizon-01.eml} +0 -0
  419. data/set-of-emails/maildir/dos/{us-yahoo-01.eml → msp-us-yahoo-01.eml} +0 -0
  420. data/set-of-emails/maildir/dos/{us-zoho-01.eml → msp-us-zoho-01.eml} +0 -0
  421. data/set-of-emails/maildir/dos/{activehunter-01.eml → mta-activehunter-01.eml} +0 -0
  422. data/set-of-emails/maildir/dos/{apachejames-01.eml → mta-apachejames-01.eml} +0 -0
  423. data/set-of-emails/maildir/dos/{courier-01.eml → mta-courier-01.eml} +0 -0
  424. data/set-of-emails/maildir/dos/{domino-01.eml → mta-domino-01.eml} +0 -0
  425. data/set-of-emails/maildir/dos/{exchange-01.eml → mta-exchange-01.eml} +0 -0
  426. data/set-of-emails/maildir/dos/{exchange2003-01.eml → mta-exchange2003-01.eml} +0 -0
  427. data/set-of-emails/maildir/dos/{exchange2007-01.eml → mta-exchange2007-01.eml} +0 -0
  428. data/set-of-emails/maildir/dos/{exim-01.eml → mta-exim-01.eml} +0 -0
  429. data/set-of-emails/maildir/dos/{imailserver-01.eml → mta-imailserver-01.eml} +0 -0
  430. data/set-of-emails/maildir/dos/{interscanmss-01.eml → mta-interscanmss-01.eml} +0 -0
  431. data/set-of-emails/maildir/dos/{mailfoundry-01.eml → mta-mailfoundry-01.eml} +0 -0
  432. data/set-of-emails/maildir/dos/{mailmarshalsmtp-01.eml → mta-mailmarshalsmtp-01.eml} +0 -0
  433. data/set-of-emails/maildir/dos/{mcafee-01.eml → mta-mcafee-01.eml} +0 -0
  434. data/set-of-emails/maildir/dos/{messagingserver-01.eml → mta-messagingserver-01.eml} +0 -0
  435. data/set-of-emails/maildir/dos/{mfilter-01.eml → mta-mfilter-01.eml} +0 -0
  436. data/set-of-emails/maildir/dos/{mxlogic-01.eml → mta-mxlogic-01.eml} +0 -0
  437. data/set-of-emails/maildir/dos/{notes-01.eml → mta-notes-01.eml} +0 -0
  438. data/set-of-emails/maildir/dos/{opensmtpd-01.eml → mta-opensmtpd-01.eml} +0 -0
  439. data/set-of-emails/maildir/dos/{postfix-01.eml → mta-postfix-01.eml} +0 -0
  440. data/set-of-emails/maildir/dos/{qmail-01.eml → mta-qmail-01.eml} +0 -0
  441. data/set-of-emails/maildir/dos/{sendmail-01.eml → mta-sendmail-01.eml} +0 -0
  442. data/set-of-emails/maildir/dos/{surfcontrol-01.eml → mta-surfcontrol-01.eml} +0 -0
  443. data/set-of-emails/maildir/dos/{v5sendmail-01.eml → mta-v5sendmail-01.eml} +0 -0
  444. data/set-of-emails/maildir/dos/{x1-01.eml → mta-x1-01.eml} +0 -0
  445. data/set-of-emails/maildir/dos/{x2-01.eml → mta-x2-01.eml} +0 -0
  446. data/set-of-emails/maildir/dos/{x3-01.eml → mta-x3-01.eml} +0 -0
  447. data/set-of-emails/maildir/dos/{x4-01.eml → mta-x4-01.eml} +0 -0
  448. data/set-of-emails/maildir/dos/{x5-01.eml → mta-x5-01.eml} +0 -0
  449. data/set-of-emails/maildir/dos/{exchange-online-01.eml → rhost-exchange-online-01.eml} +0 -0
  450. data/set-of-emails/maildir/dos/{google-apps-01.eml → rhost-google-apps-01.eml} +0 -0
  451. data/set-of-emails/maildir/mac/ced-us-amazonses-01.eml +1 -1
  452. data/set-of-emails/maildir/mac/{de-einsundeins-01.eml → msp-de-einsundeins-01.eml} +0 -0
  453. data/set-of-emails/maildir/mac/{de-gmx-01.eml → msp-de-gmx-01.eml} +0 -0
  454. data/set-of-emails/maildir/mac/{jp-biglobe-01.eml → msp-jp-biglobe-01.eml} +0 -0
  455. data/set-of-emails/maildir/mac/{jp-ezweb-01.eml → msp-jp-ezweb-01.eml} +0 -0
  456. data/set-of-emails/maildir/mac/{jp-kddi-01.eml → msp-jp-kddi-01.eml} +0 -0
  457. data/set-of-emails/maildir/mac/{ru-mailru-01.eml → msp-ru-mailru-01.eml} +0 -0
  458. data/set-of-emails/maildir/mac/{ru-yandex-01.eml → msp-ru-yandex-01.eml} +0 -0
  459. data/set-of-emails/maildir/mac/{uk-messagelabs-01.eml → msp-uk-messagelabs-01.eml} +0 -0
  460. data/set-of-emails/maildir/mac/{us-amazonses-01.eml → msp-us-amazonses-01.eml} +0 -0
  461. data/set-of-emails/maildir/mac/{us-amazonworkmail-01.eml → msp-us-amazonworkmail-01.eml} +0 -0
  462. data/set-of-emails/maildir/mac/{us-aol-01.eml → msp-us-aol-01.eml} +0 -0
  463. data/set-of-emails/maildir/mac/{us-bigfoot-01.eml → msp-us-bigfoot-01.eml} +0 -0
  464. data/set-of-emails/maildir/mac/{us-facebook-01.eml → msp-us-facebook-01.eml} +0 -0
  465. data/set-of-emails/maildir/mac/{us-google-01.eml → msp-us-google-01.eml} +0 -0
  466. data/set-of-emails/maildir/mac/{us-office365-01.eml → msp-us-office365-01.eml} +0 -0
  467. data/set-of-emails/maildir/mac/{us-outlook-01.eml → msp-us-outlook-01.eml} +0 -0
  468. data/set-of-emails/maildir/mac/{us-receivingses-01.eml → msp-us-receivingses-01.eml} +0 -0
  469. data/set-of-emails/maildir/mac/{us-sendgrid-01.eml → msp-us-sendgrid-01.eml} +0 -0
  470. data/set-of-emails/maildir/mac/{us-verizon-01.eml → msp-us-verizon-01.eml} +0 -0
  471. data/set-of-emails/maildir/mac/{us-yahoo-01.eml → msp-us-yahoo-01.eml} +0 -0
  472. data/set-of-emails/maildir/mac/{us-zoho-01.eml → msp-us-zoho-01.eml} +0 -0
  473. data/set-of-emails/maildir/mac/{activehunter-01.eml → mta-activehunter-01.eml} +0 -0
  474. data/set-of-emails/maildir/mac/{apachejames-01.eml → mta-apachejames-01.eml} +0 -0
  475. data/set-of-emails/maildir/mac/{courier-01.eml → mta-courier-01.eml} +0 -0
  476. data/set-of-emails/maildir/mac/{domino-01.eml → mta-domino-01.eml} +0 -0
  477. data/set-of-emails/maildir/mac/{exchange-01.eml → mta-exchange-01.eml} +0 -0
  478. data/set-of-emails/maildir/mac/{exchange2003-01.eml → mta-exchange2003-01.eml} +0 -0
  479. data/set-of-emails/maildir/mac/{exchange2007-01.eml → mta-exchange2007-01.eml} +0 -0
  480. data/set-of-emails/maildir/mac/{exim-01.eml → mta-exim-01.eml} +0 -0
  481. data/set-of-emails/maildir/mac/{imailserver-01.eml → mta-imailserver-01.eml} +0 -0
  482. data/set-of-emails/maildir/mac/{interscanmss-01.eml → mta-interscanmss-01.eml} +0 -0
  483. data/set-of-emails/maildir/mac/{mailfoundry-01.eml → mta-mailfoundry-01.eml} +0 -0
  484. data/set-of-emails/maildir/mac/{mailmarshalsmtp-01.eml → mta-mailmarshalsmtp-01.eml} +0 -0
  485. data/set-of-emails/maildir/mac/{mcafee-01.eml → mta-mcafee-01.eml} +0 -0
  486. data/set-of-emails/maildir/mac/{messagingserver-01.eml → mta-messagingserver-01.eml} +0 -0
  487. data/set-of-emails/maildir/mac/{mfilter-01.eml → mta-mfilter-01.eml} +0 -0
  488. data/set-of-emails/maildir/mac/{mxlogic-01.eml → mta-mxlogic-01.eml} +0 -0
  489. data/set-of-emails/maildir/mac/{notes-01.eml → mta-notes-01.eml} +0 -0
  490. data/set-of-emails/maildir/mac/{opensmtpd-01.eml → mta-opensmtpd-01.eml} +0 -0
  491. data/set-of-emails/maildir/mac/{postfix-01.eml → mta-postfix-01.eml} +0 -0
  492. data/set-of-emails/maildir/mac/{qmail-01.eml → mta-qmail-01.eml} +0 -0
  493. data/set-of-emails/maildir/mac/{sendmail-01.eml → mta-sendmail-01.eml} +0 -0
  494. data/set-of-emails/maildir/mac/{surfcontrol-01.eml → mta-surfcontrol-01.eml} +0 -0
  495. data/set-of-emails/maildir/mac/{v5sendmail-01.eml → mta-v5sendmail-01.eml} +0 -0
  496. data/set-of-emails/maildir/mac/{x1-01.eml → mta-x1-01.eml} +0 -0
  497. data/set-of-emails/maildir/mac/{x2-01.eml → mta-x2-01.eml} +0 -0
  498. data/set-of-emails/maildir/mac/{x3-01.eml → mta-x3-01.eml} +0 -0
  499. data/set-of-emails/maildir/mac/{x4-01.eml → mta-x4-01.eml} +0 -0
  500. data/set-of-emails/maildir/mac/{x5-01.eml → mta-x5-01.eml} +0 -0
  501. data/set-of-emails/maildir/mac/{exchange-online-01.eml → rhost-exchange-online-01.eml} +0 -0
  502. data/set-of-emails/maildir/mac/{google-apps-01.eml → rhost-google-apps-01.eml} +0 -0
  503. metadata +444 -408
@@ -28,7 +28,7 @@ module Sisimai
28
28
  Indicators = Sisimai::MSP.INDICATORS
29
29
 
30
30
  def description; return 'Zoho Mail: https://www.zoho.com'; end
31
- def smtpagent; return 'US::Zoho'; end
31
+ def smtpagent; return Sisimai::MSP.smtpagent(self); end
32
32
 
33
33
  # X-ZohoMail: Si CHF_MF_NL SS_10 UW48 UB48 FMWL UW48 UB48 SGR3_1_09124_42
34
34
  # X-Zoho-Virus-Status: 2
data/lib/sisimai/mta.rb CHANGED
@@ -3,40 +3,12 @@ module Sisimai
3
3
  module MTA
4
4
  class << self
5
5
  # Imported from p5-Sisimail/lib/Sisimai/MTA.pm
6
+ require 'sisimai/skeleton'
6
7
  require 'sisimai/rfc5322'
7
8
 
8
- # Flags for position variable for
9
- # @return [Hash] Position flag data
10
- # @private
11
- def INDICATORS
12
- return {
13
- :'deliverystatus' => (1 << 1),
14
- :'message-rfc822' => (1 << 2),
15
- }
16
- end
17
-
18
- # Data structure for parsed bounce messages
19
- # @return [Hash] Data structure for delivery status
20
- # @private
21
- def DELIVERYSTATUS
22
- return {
23
- 'spec' => nil, # Protocl specification
24
- 'date' => nil, # The value of Last-Attempt-Date header
25
- 'rhost' => nil, # The value of Remote-MTA header
26
- 'lhost' => nil, # The value of Received-From-MTA header
27
- 'alias' => nil, # The value of alias entry(RHS)
28
- 'agent' => nil, # MTA name
29
- 'action' => nil, # The value of Action header
30
- 'status' => nil, # The value of Status header
31
- 'reason' => nil, # Temporary reason of bounce
32
- 'command' => nil, # SMTP command in the message body
33
- 'replycode' => nil, # SMTP Reply code
34
- 'diagnosis' => nil, # The value of Diagnostic-Code header
35
- 'recipient' => nil, # The value of Final-Recipient header
36
- 'softbounce' => nil, # Soft bounce or not
37
- 'feedbacktype' => nil, # Feedback Type
38
- }
39
- end
9
+ def INDICATORS; return Sisimai::Skeleton.INDICATORS; end
10
+ def DELIVERYSTATUS; return Sisimai::Skeleton.DELIVERYSTATUS; end
11
+ def smtpagent(v = ''); return v.to_s.sub(/\ASisimai::/, ''); end
40
12
 
41
13
  # MTA list
42
14
  # @return [Array] MTA list with order
@@ -21,7 +21,7 @@ module Sisimai
21
21
  Indicators = Sisimai::MTA.INDICATORS
22
22
 
23
23
  def description; return 'TransWARE Active!hunter'; end
24
- def smtpagent; return 'Activehunter'; end
24
+ def smtpagent; return Sisimai::MTA.smtpagent(self); end
25
25
  def headerlist; return ['X-AHMAILID']; end
26
26
  def pattern; return Re0; end
27
27
 
@@ -25,7 +25,7 @@ module Sisimai
25
25
  Indicators = Sisimai::MTA.INDICATORS
26
26
 
27
27
  def description; return 'Java Apache Mail Enterprise Server'; end
28
- def smtpagent; return 'ApacheJames'; end
28
+ def smtpagent; return Sisimai::MTA.smtpagent(self); end
29
29
  def headerlist; return []; end
30
30
  def pattern; return Re0; end
31
31
 
@@ -46,7 +46,7 @@ module Sisimai
46
46
  Indicators = Sisimai::MTA.INDICATORS
47
47
 
48
48
  def description; return 'Courier MTA'; end
49
- def smtpagent; return 'Courier'; end
49
+ def smtpagent; return Sisimai::MTA.smtpagent(self); end
50
50
  def headerlist; return []; end
51
51
  def pattern; return Re0; end
52
52
 
@@ -31,7 +31,7 @@ module Sisimai
31
31
  Indicators = Sisimai::MTA.INDICATORS
32
32
 
33
33
  def description; return 'IBM Domino Server'; end
34
- def smtpagent; return 'Domino'; end
34
+ def smtpagent; return Sisimai::MTA.smtpagent(self); end
35
35
  def headerlist; return []; end
36
36
  def pattern; return Re0; end
37
37
 
@@ -57,7 +57,7 @@ module Sisimai
57
57
  Indicators = Sisimai::MTA.INDICATORS
58
58
 
59
59
  def description; return 'Microsoft Exchange Server 2003'; end
60
- def smtpagent; return 'Exchange2003'; end
60
+ def smtpagent; return Sisimai::MTA.smtpagent(self); end
61
61
  def headerlist; return ['X-MS-Embedded-Report', 'X-MimeOLE']; end
62
62
  def pattern; return Re0; end
63
63
 
@@ -37,7 +37,7 @@ module Sisimai
37
37
  Indicators = Sisimai::MTA.INDICATORS
38
38
 
39
39
  def description; return 'Microsoft Exchange Server 2007'; end
40
- def smtpagent; return 'Exchange2007'; end
40
+ def smtpagent; return Sisimai::MTA.smtpagent(self); end
41
41
  def headerlist; return ['Content-Language']; end
42
42
  def pattern; return Re0; end
43
43
 
@@ -136,7 +136,7 @@ module Sisimai
136
136
  Indicators = Sisimai::MTA.INDICATORS
137
137
 
138
138
  def description; return 'Exim'; end
139
- def smtpagent; return 'Exim'; end
139
+ def smtpagent; return Sisimai::MTA.smtpagent(self); end
140
140
  def headerlist; return ['X-Failed-Recipients']; end
141
141
  def pattern; return Re0; end
142
142
 
@@ -40,7 +40,7 @@ module Sisimai
40
40
  Indicators = Sisimai::MTA.INDICATORS
41
41
 
42
42
  def description; return 'IPSWITCH IMail Server'; end
43
- def smtpagent; return 'IMailServer'; end
43
+ def smtpagent; return Sisimai::MTA.smtpagent(self); end
44
44
  def headerlist; return ['X-Mailer']; end
45
45
  def pattern; return Re0; end
46
46
 
@@ -28,7 +28,7 @@ module Sisimai
28
28
  Indicators = Sisimai::MTA.INDICATORS
29
29
 
30
30
  def description; return 'Trend Micro InterScan Messaging Security Suite'; end
31
- def smtpagent; return 'InterScanMSS'; end
31
+ def smtpagent; return Sisimai::MTA.smtpagent(self); end
32
32
  def headerlist; return []; end
33
33
  def pattern; return Re0; end
34
34
 
@@ -21,7 +21,7 @@ module Sisimai
21
21
  Indicators = Sisimai::MTA.INDICATORS
22
22
 
23
23
  def description; return 'MailFoundry'; end
24
- def smtpagent; return 'MailFoundry'; end
24
+ def smtpagent; return Sisimai::MTA.smtpagent(self); end
25
25
  def headerlist; return []; end
26
26
  def pattern; return Re0; end
27
27
 
@@ -22,7 +22,7 @@ module Sisimai
22
22
  Indicators = Sisimai::MTA.INDICATORS
23
23
 
24
24
  def description; return 'Trustwave Secure Email Gateway'; end
25
- def smtpagent; return 'MailMarshalSMTP'; end
25
+ def smtpagent; return Sisimai::MTA.smtpagent(self); end
26
26
  def headerlist; return ['X-Mailer']; end
27
27
  def pattern; return Re0; end
28
28
 
@@ -28,7 +28,7 @@ module Sisimai
28
28
  Indicators = Sisimai::MTA.INDICATORS
29
29
 
30
30
  def description; return 'McAfee Email Appliance'; end
31
- def smtpagent; return 'McAfee'; end
31
+ def smtpagent; return Sisimai::MTA.smtpagent(self); end
32
32
  def headerlist; return ['X-NAI-Header']; end
33
33
  def pattern; return Re0; end
34
34
 
@@ -25,7 +25,7 @@ module Sisimai
25
25
  Indicators = Sisimai::MTA.INDICATORS
26
26
 
27
27
  def description; return 'Oracle Communications Messaging Server'; end
28
- def smtpagent; return 'MessagingServer'; end
28
+ def smtpagent; return Sisimai::MTA.smtpagent(self); end
29
29
  def headerlist; return []; end
30
30
  def pattern; return Re0; end
31
31
 
@@ -23,7 +23,7 @@ module Sisimai
23
23
  Indicators = Sisimai::MTA.INDICATORS
24
24
 
25
25
  def description; return 'Digital Arts m-FILTER'; end
26
- def smtpagent; return 'm-FILTER'; end
26
+ def smtpagent; return 'MTA::mFILTER'; end
27
27
  def headerlist; return ['X-Mailer']; end
28
28
  def pattern; return Re0; end
29
29
 
@@ -72,7 +72,7 @@ module Sisimai
72
72
  Indicators = Sisimai::MTA.INDICATORS
73
73
 
74
74
  def description; return 'McAfee SaaS'; end
75
- def smtpagent; return 'MXLogic'; end
75
+ def smtpagent; return Sisimai::MTA.smtpagent(self); end
76
76
  # X-MX-Bounce: mta/src/queue/bounce
77
77
  # X-MXL-NoteHash: ffffffffffffffff-0000000000000000000000000000000000000000
78
78
  # X-MXL-Hash: 4c9d4d411993da17-bbd4212b6c887f6c23bab7db4bd87ef5edc00758
@@ -27,7 +27,7 @@ module Sisimai
27
27
  Indicators = Sisimai::MTA.INDICATORS
28
28
 
29
29
  def description; return 'Lotus Notes'; end
30
- def smtpagent; return 'Notes'; end
30
+ def smtpagent; return Sisimai::MTA.smtpagent(self); end
31
31
  def headerlist; return []; end
32
32
  def pattern; return Re0; end
33
33
 
@@ -39,7 +39,7 @@ module Sisimai
39
39
  # bounce.c/338: " Your message was relayed to these recipients.\n\n";
40
40
  # bounce.c/339:
41
41
  Re1 = {
42
- :begin => %r/\A[ \t]*This is the MAILER-DAEMON, please DO NOT REPLY to this e-mail[.]\z/,
42
+ :begin => %r/\A[ \t]*This is the MAILER-DAEMON, please DO NOT REPLY to this e[-]?mail[.]\z/,
43
43
  :rfc822 => %r/\A[ \t]*Below is a copy of the original message:\z/,
44
44
  :endof => %r/\A__END_OF_EMAIL_MESSAGE__\z/,
45
45
  }
@@ -82,7 +82,7 @@ module Sisimai
82
82
  Indicators = Sisimai::MTA.INDICATORS
83
83
 
84
84
  def description; return 'OpenSMTPD'; end
85
- def smtpagent; return 'OpenSMTPD'; end
85
+ def smtpagent; return Sisimai::MTA.smtpagent(self); end
86
86
  def headerlist; return []; end
87
87
  def pattern; return Re0; end
88
88
 
@@ -38,7 +38,7 @@ module Sisimai
38
38
  Indicators = Sisimai::MTA.INDICATORS
39
39
 
40
40
  def description; return 'Postfix'; end
41
- def smtpagent; return 'Postfix'; end
41
+ def smtpagent; return Sisimai::MTA.smtpagent(self); end
42
42
  def headerlist; return []; end
43
43
  def pattern; return Re0; end
44
44
 
@@ -122,7 +122,7 @@ module Sisimai
122
122
  Indicators = Sisimai::MTA.INDICATORS
123
123
 
124
124
  def description; return 'qmail'; end
125
- def smtpagent; return 'qmail'; end
125
+ def smtpagent; return 'MTA::qmail'; end
126
126
  def headerlist; return []; end
127
127
  def pattern; return Re0; end
128
128
 
@@ -26,7 +26,7 @@ module Sisimai
26
26
  Indicators = Sisimai::MTA.INDICATORS
27
27
 
28
28
  def description; return 'V8Sendmail: /usr/sbin/sendmail'; end
29
- def smtpagent; return 'Sendmail'; end
29
+ def smtpagent; return Sisimai::MTA.smtpagent(self); end
30
30
  def headerlist; return []; end
31
31
  def pattern; return Re0; end
32
32
 
@@ -142,6 +142,7 @@ module Sisimai
142
142
  elsif cv = e.match(/\A[Rr]emote-MTA:[ ]*(?:DNS|dns);[ ]*(.+)\z/)
143
143
  # Remote-MTA: DNS; mx.example.jp
144
144
  v['rhost'] = cv[1].downcase
145
+ v['rhost'] = '' if v['rhost'] =~ /\A\s+\z/ # Remote-MTA: DNS;
145
146
 
146
147
  elsif cv = e.match(/\A[Ll]ast-[Aa]ttempt-[Dd]ate:[ ]*(.+)\z/)
147
148
  # Last-Attempt-Date: Fri, 14 Feb 2014 12:30:08 -0500
@@ -21,7 +21,7 @@ module Sisimai
21
21
  Indicators = Sisimai::MTA.INDICATORS
22
22
 
23
23
  def description; return 'WebSense SurfControl'; end
24
- def smtpagent; return 'SurfControl'; end
24
+ def smtpagent; return Sisimai::MTA.smtpagent(self); end
25
25
  # X-SEF-ZeroHour-RefID: fgs=000000000
26
26
  # X-SEF-Processed: 0_0_0_000__2010_04_29_23_34_45
27
27
  # X-Mailer: SurfControl E-mail Filter
@@ -30,7 +30,7 @@ module Sisimai
30
30
  Indicators = Sisimai::MTA.INDICATORS
31
31
 
32
32
  def description; return 'Module description'; end
33
- def smtpagent; return 'Module name'; end
33
+ def smtpagent; return Sisimai::MTA.smtpagent(self); end
34
34
  def headerlist; return ['X-Some-UserDefined-Header']; end
35
35
  def pattern; return Re0; end
36
36
 
@@ -41,7 +41,7 @@ module Sisimai
41
41
  Indicators = Sisimai::MTA.INDICATORS
42
42
 
43
43
  def description; return 'Sendmail version 5'; end
44
- def smtpagent; return 'V5sendmail'; end
44
+ def smtpagent; return Sisimai::MTA.smtpagent(self); end
45
45
  def headerlist; return []; end
46
46
  def pattern; return Re0; end
47
47
 
@@ -20,7 +20,7 @@ module Sisimai
20
20
  Indicators = Sisimai::MTA.INDICATORS
21
21
 
22
22
  def description; return 'Unknown MTA #1'; end
23
- def smtpagent; return 'X1'; end
23
+ def smtpagent; return Sisimai::MTA.smtpagent(self); end
24
24
  def headerlist; return []; end
25
25
  def pattern; return Re0; end
26
26
 
@@ -24,7 +24,7 @@ module Sisimai
24
24
  Indicators = Sisimai::MTA.INDICATORS
25
25
 
26
26
  def description; return 'Unknown MTA #2'; end
27
- def smtpagent; return 'X2'; end
27
+ def smtpagent; return Sisimai::MTA.smtpagent(self); end
28
28
  def headerlist; return []; end
29
29
  def pattern; return Re0; end
30
30
 
@@ -20,7 +20,7 @@ module Sisimai
20
20
  Indicators = Sisimai::MTA.INDICATORS
21
21
 
22
22
  def description; return 'Unknown MTA #3'; end
23
- def smtpagent; return 'X3'; end
23
+ def smtpagent; return Sisimai::MTA.smtpagent(self); end
24
24
  def headerlist; return []; end
25
25
  def pattern; return Re0; end
26
26
 
@@ -147,7 +147,7 @@ module Sisimai
147
147
  Indicators = Sisimai::MTA.INDICATORS
148
148
 
149
149
  def description; return 'Unknown MTA #4'; end
150
- def smtpagent; return 'X4'; end
150
+ def smtpagent; return Sisimai::MTA.smtpagent(self); end
151
151
  def headerlist; return []; end
152
152
  def pattern; return Re0; end
153
153
 
@@ -20,7 +20,7 @@ module Sisimai
20
20
  Indicators = Sisimai::MTA.INDICATORS
21
21
 
22
22
  def description; return 'Unknown MTA #5'; end
23
- def smtpagent; return 'X5'; end
23
+ def smtpagent; return Sisimai::MTA.smtpagent(self); end
24
24
  def headerlist; return []; end
25
25
  def pattern; return Re0; end
26
26
 
data/lib/sisimai/order.rb CHANGED
@@ -1,222 +1,13 @@
1
1
  module Sisimai
2
- # Sisimai::Order makes optimized order list which include MTA/MSP modules to be
3
- # loaded on first from MTA specific headers in the bounce mail headers such as
4
- # X-Failed-Recipients. This module are called from only Sisimai::Message.
2
+ # Sisimai::Order - Parent class for making optimized order list for calling
3
+ # MTA, MSP, and CED modules
5
4
  module Order
6
- # Imported from p5-Sisimail/lib/Sisimai/RFC3464.pm
5
+ # Imported from p5-Sisimail/lib/Sisimai/Order.pm
7
6
  class << self
8
- require 'sisimai/mta'
9
- require 'sisimai/msp'
10
-
11
- AnotherList1 = [
12
- # These modules have many subject patterns or have MIME encoded subjects
13
- # which is hard to code as regular expression
14
- 'Sisimai::MTA::Exim',
15
- 'Sisimai::MTA::Exchange2003',
16
- ]
17
- AnotherList2 = [
18
- # These modules have no MTA specific header and did not listed in the
19
- # following subject header based regular expressions.
20
- 'Sisimai::MTA::Exchange2007',
21
- 'Sisimai::MSP::US::Facebook',
22
- 'Sisimai::MSP::JP::KDDI',
23
- ]
24
- AnotherList3 = [
25
- # These modules have no MTA specific header but listed in the following
26
- # subject header based regular expressions.
27
- 'Sisimai::MTA::Qmail',
28
- 'Sisimai::MTA::Notes',
29
- 'Sisimai::MTA::MessagingServer',
30
- 'Sisimai::MTA::Domino',
31
- 'Sisimai::MSP::DE::EinsUndEins',
32
- 'Sisimai::MTA::OpenSMTPD',
33
- 'Sisimai::MTA::MXLogic',
34
- 'Sisimai::MTA::Postfix',
35
- 'Sisimai::MTA::Sendmail',
36
- 'Sisimai::MTA::Courier',
37
- 'Sisimai::MTA::IMailServer',
38
- 'Sisimai::MSP::US::SendGrid',
39
- 'Sisimai::MSP::US::Bigfoot',
40
- 'Sisimai::MTA::X4',
41
- ]
42
- AnotherList4 = [
43
- # These modules have no MTA specific headers and there are few samples or
44
- # too old MTA
45
- 'Sisimai::MSP::US::Verizon',
46
- 'Sisimai::MTA::InterScanMSS',
47
- 'Sisimai::MTA::MailFoundry',
48
- 'Sisimai::MTA::ApacheJames',
49
- 'Sisimai::MSP::JP::Biglobe',
50
- 'Sisimai::MSP::JP::EZweb',
51
- 'Sisimai::MTA::X5',
52
- 'Sisimai::MTA::X3',
53
- 'Sisimai::MTA::X2',
54
- 'Sisimai::MTA::X1',
55
- 'Sisimai::MTA::V5sendmail',
56
- ]
57
- AnotherList5 = [
58
- # These modules have one or more MTA specific headers but other headers
59
- # also required for detecting MTA name
60
- 'Sisimai::MSP::US::Google',
61
- 'Sisimai::MSP::US::Outlook',
62
- 'Sisimai::MSP::RU::MailRu',
63
- 'Sisimai::MSP::UK::MessageLabs',
64
- 'Sisimai::MTA::MailMarshalSMTP',
65
- 'Sisimai::MTA::MFILTER',
66
- ]
67
- AnotherList9 = [
68
- # These modules have one or more MTA specific headers
69
- 'Sisimai::MSP::US::Aol',
70
- 'Sisimai::MSP::US::Yahoo',
71
- 'Sisimai::MSP::US::AmazonSES',
72
- 'Sisimai::MSP::DE::GMX',
73
- 'Sisimai::MSP::RU::Yandex',
74
- 'Sisimai::MSP::US::ReceivingSES',
75
- 'Sisimai::MSP::US::Office365',
76
- 'Sisimai::MSP::US::AmazonWorkMail',
77
- 'Sisimai::MSP::US::Zoho',
78
- 'Sisimai::MTA::McAfee',
79
- 'Sisimai::MTA::Activehunter',
80
- 'Sisimai::MTA::SurfControl',
81
- ]
82
-
83
- # This variable don't hold MTA/MSP name which have one or more MTA specific
84
- # header such as X-AWS-Outgoing, X-Yandex-Uniq.
85
- PatternTable = {
86
- 'subject' => {
87
- %r/delivery/i => [
88
- 'Sisimai::MTA::Exim',
89
- 'Sisimai::MTA::Courier',
90
- 'Sisimai::MSP::US::Google',
91
- 'Sisimai::MSP::US::Outlook',
92
- 'Sisimai::MTA::Domino',
93
- 'Sisimai::MTA::OpenSMTPD',
94
- 'Sisimai::MSP::DE::EinsUndEins',
95
- 'Sisimai::MTA::InterScanMSS',
96
- 'Sisimai::MTA::MailFoundry',
97
- 'Sisimai::MTA::X4',
98
- 'Sisimai::MTA::X3',
99
- 'Sisimai::MTA::X2',
100
- ],
101
- %r/noti(?:ce|fi)/i => [
102
- 'Sisimai::MTA::Qmail',
103
- 'Sisimai::MTA::Sendmail',
104
- 'Sisimai::MSP::US::Google',
105
- 'Sisimai::MSP::US::Outlook',
106
- 'Sisimai::MTA::Courier',
107
- 'Sisimai::MTA::MessagingServer',
108
- 'Sisimai::MTA::OpenSMTPD',
109
- 'Sisimai::MTA::X4',
110
- 'Sisimai::MTA::X3',
111
- 'Sisimai::MTA::MFILTER',
112
- ],
113
- %r/return/i => [
114
- 'Sisimai::MTA::Postfix',
115
- 'Sisimai::MTA::Sendmail',
116
- 'Sisimai::MSP::US::SendGrid',
117
- 'Sisimai::MSP::US::Bigfoot',
118
- 'Sisimai::MTA::X1',
119
- 'Sisimai::MSP::DE::EinsUndEins',
120
- 'Sisimai::MSP::JP::Biglobe',
121
- 'Sisimai::MTA::V5sendmail',
122
- ],
123
- %r/undeliver/i => [
124
- 'Sisimai::MTA::Postfix',
125
- 'Sisimai::MTA::Exchange2007',
126
- 'Sisimai::MTA::Exchange2003',
127
- 'Sisimai::MTA::Notes',
128
- 'Sisimai::MSP::US::Office365',
129
- 'Sisimai::MSP::US::Verizon',
130
- 'Sisimai::MSP::US::SendGrid',
131
- 'Sisimai::MTA::IMailServer',
132
- 'Sisimai::MTA::MailMarshalSMTP',
133
- ],
134
- %r/failure/i => [
135
- 'Sisimai::MTA::Qmail',
136
- 'Sisimai::MTA::Domino',
137
- 'Sisimai::MSP::US::Google',
138
- 'Sisimai::MSP::US::Outlook',
139
- 'Sisimai::MSP::RU::MailRu',
140
- 'Sisimai::MTA::X4',
141
- 'Sisimai::MTA::X2',
142
- 'Sisimai::MTA::MFILTER',
143
- ],
144
- %r/warning/i => [
145
- 'Sisimai::MTA::Postfix',
146
- 'Sisimai::MTA::Sendmail',
147
- 'Sisimai::MTA::Exim',
148
- ],
149
- },
150
- }
151
-
152
- make_default_order = lambda do
153
- # Make default order of MTA/MSP modules to be loaded
154
- rv = []
155
- begin
156
- rv.concat(Sisimai::MTA.index.map { |e| 'Sisimai::MTA::' + e })
157
- rv.concat(Sisimai::MSP.index.map { |e| 'Sisimai::MSP::' + e })
158
- rescue
159
- # Failed to load MTA/MSP module
160
- next
161
- end
162
- return rv
163
- end
164
- DefaultOrder = make_default_order.call
165
-
166
- # Get regular expression patterns for specified field
167
- # @param [String] group Group name for "ORDER BY"
168
- # @return [Hash] Pattern table for the group
169
- def by(group = '')
170
- return {} unless group.size > 0
171
- return PatternTable[group] if PatternTable.key?(group)
172
- return {}
173
- end
174
-
175
- # Make default order of MTA/MSP modules to be loaded
176
- # @return [Array] Default order list of MTA/MSP modules
177
- def default
178
- return DefaultOrder
179
- end
180
-
181
- # Make MTA/MSP module list as a spare
182
- # @return [Array] Ordered module list
183
- def another
184
- rv = []
185
- rv.concat(AnotherList1)
186
- rv.concat(AnotherList2)
187
- rv.concat(AnotherList3)
188
- rv.concat(AnotherList4)
189
- rv.concat(AnotherList5)
190
- rv.concat(AnotherList9)
191
- return rv
192
- end
193
-
194
- # Make email header list in each MTA module
195
- # @return [Hash] Header list to be parsed
196
- def headers
197
- order = self.default
198
- table = {}
199
- skips = { 'return-path' => 1, 'x-mailer' => 1 }
200
-
201
- order.each do |e|
202
- # Load email headers from each MTA,MSP module
203
- begin
204
- require e.gsub('::', '/').downcase
205
- rescue LoadError
206
- warn ' ***warning: Failed to load ' + e
207
- next
208
- end
209
-
210
- Module.const_get(e).headerlist.each do |v|
211
- # Get header name which required each MTA/MSP module
212
- q = v.downcase
213
- next if skips.key?(q)
214
- table[q] ||= {}
215
- table[q][e] = 1
216
- end
217
- end
218
- return table
219
- end
7
+ def by; return {}; end
8
+ def default; return []; end
9
+ def another; return []; end
10
+ def headers; return {}; end
220
11
 
221
12
  end
222
13
  end