sisimai 4.22.3-java → 4.22.4-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 (130) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +1 -1
  3. data/Benchmarks.mk +54 -0
  4. data/ChangeLog.md +23 -2
  5. data/Developers.mk +42 -35
  6. data/Makefile +10 -0
  7. data/README-JA.md +13 -13
  8. data/README.md +14 -14
  9. data/lib/sisimai.rb +12 -18
  10. data/lib/sisimai/address.rb +64 -82
  11. data/lib/sisimai/arf.rb +27 -42
  12. data/lib/sisimai/bite/email.rb +2 -4
  13. data/lib/sisimai/bite/email/activehunter.rb +12 -17
  14. data/lib/sisimai/bite/email/amazonses.rb +30 -48
  15. data/lib/sisimai/bite/email/amazonworkmail.rb +20 -27
  16. data/lib/sisimai/bite/email/aol.rb +27 -35
  17. data/lib/sisimai/bite/email/apachejames.rb +17 -28
  18. data/lib/sisimai/bite/email/bigfoot.rb +20 -33
  19. data/lib/sisimai/bite/email/biglobe.rb +15 -24
  20. data/lib/sisimai/bite/email/courier.rb +37 -61
  21. data/lib/sisimai/bite/email/domino.rb +19 -28
  22. data/lib/sisimai/bite/email/einsundeins.rb +20 -34
  23. data/lib/sisimai/bite/email/exchange2003.rb +25 -43
  24. data/lib/sisimai/bite/email/exchange2007.rb +15 -23
  25. data/lib/sisimai/bite/email/exim.rb +101 -120
  26. data/lib/sisimai/bite/email/ezweb.rb +28 -44
  27. data/lib/sisimai/bite/email/facebook.rb +26 -37
  28. data/lib/sisimai/bite/email/fml.rb +11 -20
  29. data/lib/sisimai/bite/email/gmx.rb +17 -27
  30. data/lib/sisimai/bite/email/google.rb +19 -29
  31. data/lib/sisimai/bite/email/gsuite.rb +39 -48
  32. data/lib/sisimai/bite/email/imailserver.rb +25 -39
  33. data/lib/sisimai/bite/email/interscanmss.rb +19 -26
  34. data/lib/sisimai/bite/email/kddi.rb +20 -33
  35. data/lib/sisimai/bite/email/mailfoundry.rb +14 -24
  36. data/lib/sisimai/bite/email/mailmarshalsmtp.rb +15 -24
  37. data/lib/sisimai/bite/email/mailru.rb +40 -59
  38. data/lib/sisimai/bite/email/mcafee.rb +21 -35
  39. data/lib/sisimai/bite/email/messagelabs.rb +23 -38
  40. data/lib/sisimai/bite/email/messagingserver.rb +15 -27
  41. data/lib/sisimai/bite/email/mfilter.rb +19 -28
  42. data/lib/sisimai/bite/email/mxlogic.rb +31 -49
  43. data/lib/sisimai/bite/email/notes.rb +16 -24
  44. data/lib/sisimai/bite/email/office365.rb +29 -38
  45. data/lib/sisimai/bite/email/opensmtpd.rb +50 -67
  46. data/lib/sisimai/bite/email/outlook.rb +24 -36
  47. data/lib/sisimai/bite/email/postfix.rb +33 -42
  48. data/lib/sisimai/bite/email/qmail.rb +44 -59
  49. data/lib/sisimai/bite/email/receivingses.rb +28 -36
  50. data/lib/sisimai/bite/email/sendgrid.rb +28 -37
  51. data/lib/sisimai/bite/email/sendmail.rb +35 -51
  52. data/lib/sisimai/bite/email/surfcontrol.rb +17 -25
  53. data/lib/sisimai/bite/email/userdefined.rb +17 -28
  54. data/lib/sisimai/bite/email/v5sendmail.rb +32 -41
  55. data/lib/sisimai/bite/email/verizon.rb +31 -56
  56. data/lib/sisimai/bite/email/x1.rb +11 -18
  57. data/lib/sisimai/bite/email/x2.rb +11 -23
  58. data/lib/sisimai/bite/email/x3.rb +10 -19
  59. data/lib/sisimai/bite/email/x4.rb +46 -65
  60. data/lib/sisimai/bite/email/x5.rb +26 -37
  61. data/lib/sisimai/bite/email/yahoo.rb +11 -19
  62. data/lib/sisimai/bite/email/yandex.rb +19 -30
  63. data/lib/sisimai/bite/email/zoho.rb +21 -30
  64. data/lib/sisimai/bite/json.rb +1 -2
  65. data/lib/sisimai/bite/json/amazonses.rb +20 -25
  66. data/lib/sisimai/bite/json/sendgrid.rb +1 -1
  67. data/lib/sisimai/data.rb +36 -55
  68. data/lib/sisimai/data/json.rb +3 -3
  69. data/lib/sisimai/data/yaml.rb +1 -1
  70. data/lib/sisimai/datetime.rb +5 -21
  71. data/lib/sisimai/mail.rb +4 -6
  72. data/lib/sisimai/mail/maildir.rb +1 -1
  73. data/lib/sisimai/mda.rb +41 -44
  74. data/lib/sisimai/message.rb +2 -3
  75. data/lib/sisimai/message/email.rb +42 -52
  76. data/lib/sisimai/message/json.rb +7 -7
  77. data/lib/sisimai/mime.rb +25 -23
  78. data/lib/sisimai/order/email.rb +2 -2
  79. data/lib/sisimai/order/json.rb +2 -7
  80. data/lib/sisimai/reason.rb +41 -46
  81. data/lib/sisimai/reason/blocked.rb +60 -71
  82. data/lib/sisimai/reason/contenterror.rb +4 -8
  83. data/lib/sisimai/reason/delivered.rb +1 -3
  84. data/lib/sisimai/reason/exceedlimit.rb +10 -20
  85. data/lib/sisimai/reason/expired.rb +5 -9
  86. data/lib/sisimai/reason/feedback.rb +1 -3
  87. data/lib/sisimai/reason/filtered.rb +19 -38
  88. data/lib/sisimai/reason/hasmoved.rb +5 -8
  89. data/lib/sisimai/reason/hostunknown.rb +11 -18
  90. data/lib/sisimai/reason/mailboxfull.rb +14 -24
  91. data/lib/sisimai/reason/mailererror.rb +3 -5
  92. data/lib/sisimai/reason/mesgtoobig.rb +15 -25
  93. data/lib/sisimai/reason/networkerror.rb +8 -10
  94. data/lib/sisimai/reason/norelaying.rb +9 -14
  95. data/lib/sisimai/reason/notaccept.rb +9 -21
  96. data/lib/sisimai/reason/onhold.rb +3 -8
  97. data/lib/sisimai/reason/policyviolation.rb +8 -10
  98. data/lib/sisimai/reason/rejected.rb +36 -49
  99. data/lib/sisimai/reason/securityerror.rb +11 -13
  100. data/lib/sisimai/reason/spamdetected.rb +23 -37
  101. data/lib/sisimai/reason/suspend.rb +9 -10
  102. data/lib/sisimai/reason/syntaxerror.rb +3 -4
  103. data/lib/sisimai/reason/systemerror.rb +7 -9
  104. data/lib/sisimai/reason/systemfull.rb +2 -4
  105. data/lib/sisimai/reason/toomanyconn.rb +17 -30
  106. data/lib/sisimai/reason/undefined.rb +1 -3
  107. data/lib/sisimai/reason/userunknown.rb +28 -38
  108. data/lib/sisimai/reason/vacation.rb +4 -6
  109. data/lib/sisimai/reason/virusdetected.rb +4 -6
  110. data/lib/sisimai/rfc2606.rb +1 -2
  111. data/lib/sisimai/rfc3464.rb +87 -101
  112. data/lib/sisimai/rfc3834.rb +29 -39
  113. data/lib/sisimai/rfc5322.rb +17 -24
  114. data/lib/sisimai/rhost.rb +10 -7
  115. data/lib/sisimai/rhost/exchangeonline.rb +124 -255
  116. data/lib/sisimai/rhost/franceptt.rb +2 -2
  117. data/lib/sisimai/rhost/godaddy.rb +12 -25
  118. data/lib/sisimai/rhost/googleapps.rb +82 -183
  119. data/lib/sisimai/smtp.rb +4 -4
  120. data/lib/sisimai/smtp/error.rb +8 -8
  121. data/lib/sisimai/smtp/reply.rb +1 -1
  122. data/lib/sisimai/smtp/status.rb +1 -0
  123. data/lib/sisimai/string.rb +5 -7
  124. data/lib/sisimai/version.rb +1 -1
  125. data/set-of-emails/README.md +1 -1
  126. data/set-of-emails/maildir/bsd/README.md +50 -50
  127. data/sisimai-java.gemspec +1 -1
  128. data/sisimai.gemspec +1 -1
  129. metadata +4 -4
  130. data/lib/sisimai/skeleton.rb +0 -43
@@ -68,7 +68,7 @@ module Sisimai
68
68
  def find(argv1 = '')
69
69
  return '' unless argv1
70
70
  return '' unless argv1.size > 0
71
- return '' if argv1 =~ /X-Unix;/i
71
+ return '' if argv1.upcase.include?('X-UNIX')
72
72
 
73
73
  ip4re = %r{\b
74
74
  (?:\d|[01]?\d\d|2[0-4]\d|25[0-5])[.]
@@ -580,6 +580,7 @@ module Sisimai
580
580
  :'4.7.15' => 'securityerror', # Priority Level is too low
581
581
  :'4.7.16' => 'mesgtoobig', # Message is too big for the specified priority
582
582
  :'4.7.24' => 'securityerror', # SPF validation error
583
+ :'4.7.25' => 'blocked', # Reverse DNS validation failed
583
584
  # ------------------------------------------------------------------------------
584
585
  :'5.1.0' => 'userunknown', # Other address status
585
586
  :'5.1.1' => 'userunknown', # Bad destination mailbox address
@@ -6,9 +6,7 @@ module Sisimai
6
6
  # End of email message as a sentinel for parsing bounce messages
7
7
  # @private
8
8
  # @return [String] Fixed length string like a constant
9
- def EOM
10
- return '__END_OF_EMAIL_MESSAGE__'
11
- end
9
+ def EOM; return '__END_OF_EMAIL_MESSAGE__'; end
12
10
 
13
11
  # Create message token from addresser and recipient
14
12
  # @param [String] addr1 Sender address
@@ -53,7 +51,7 @@ module Sisimai
53
51
  argv1 = argv1.chomp
54
52
  argv1 = argv1.squeeze(' ')
55
53
  argv1 = argv1.delete("\t")
56
- argv1 = argv1.gsub(/\A /, '').gsub(/ \z/, '')
54
+ argv1 = argv1.strip
57
55
  argv1 = argv1.sub(/ [-]{2,}[^ \t].+\z/, '')
58
56
 
59
57
  return argv1
@@ -68,8 +66,8 @@ module Sisimai
68
66
 
69
67
  plain = argv1
70
68
  match = {
71
- :html => %r|<html[ >].+?</html>|sim,
72
- :body => %r|<head>.+</head>.*<body[ >].+</body>|sim,
69
+ html: %r|<html[ >].+?</html>|sim,
70
+ body: %r|<head>.+</head>.*<body[ >].+</body>|sim,
73
71
  }
74
72
 
75
73
  if loose || plain =~ match[:html] || plain =~ match[:body]
@@ -91,7 +89,7 @@ module Sisimai
91
89
 
92
90
  if argv1.size > plain.size
93
91
  plain = plain.squeeze(' ')
94
- plain += "\n"
92
+ plain << "\n"
95
93
  end
96
94
  end
97
95
 
@@ -1,4 +1,4 @@
1
1
  # Define the version number of Sisimai
2
2
  module Sisimai
3
- VERSION = '4.22.3'.freeze
3
+ VERSION = '4.22.4'.freeze
4
4
  end
@@ -30,7 +30,7 @@ in this repository are read from `make test` at p5-Sisimai and rb-Sisimai.
30
30
  See Also
31
31
  ========
32
32
  * __Sisimai Project__ | [github.com/sisimai](https://github.com/sisimai)
33
- * __libsisimai.org__ | [Sisimai — A successor to bounceHammer, Library to parse error mails](http://libsisimai.org/)
33
+ * __libsisimai.org__ | [Sisimai — A successor to bounceHammer, Library to parse error mails](https://libsisimai.org/)
34
34
  * __Perl Verson__ | [Perl version of Sisimai(Stable)](https://github.com/sisimai/p5-Sisimai)
35
35
  * __Ruby verson__ | [Ruby version of Sisimai(Under the development)](https://github.com/sisimai/rb-Sisimai)
36
36
 
@@ -13,173 +13,173 @@ Sisimai::ARF
13
13
 
14
14
  Sisimai::MTA::Exchange2003
15
15
  --------------------------------------------------------------------------------
16
- * mta-exchange-06.eml
16
+ * email-exchange-06.eml
17
17
  * mailman-2.1.15/tests/bounces/groupwise_01.txt
18
18
  * Copyright (C) 1989, 1991 Free Software Foundation, Inc. | GPLv2
19
19
 
20
20
  Sisimai::MTA::Exchange2007
21
21
  --------------------------------------------------------------------------------
22
- * mta-exchange2007-02.eml
22
+ * email-exchange2007-02.eml
23
23
  * [message-too-large.msg](https://github.com/rjbs/Mail-DeliveryStatus-BounceParser/blob/master/t/corpus/message-too-large.msg)
24
24
  * Copyright (C) 2003-2006 IC Group, Inc. | GPLv2
25
25
 
26
- * mta-exchange2007-03.eml
26
+ * email-exchange2007-03.eml
27
27
  * https://github.com/LoneStarInternet/mail_manager/tree/master/spec/test_app/spec/support/files/bounce-mail-box-full.txt
28
28
  * Copyright (c) 2015 Lone Star Internet, Inc. | MIT
29
29
 
30
30
  Sisimai::MTA::Exim
31
31
  --------------------------------------------------------------------------------
32
- * mta-exim-09.eml
32
+ * email-exim-09.eml
33
33
  * [13.eml](https://github.com/prasad83/node-bounce-handler/blob/master/eml/13.eml)
34
34
  * Copyright (c) 2014 prasad83 | The MIT License
35
35
 
36
- * mta-exim-10.eml
36
+ * email-exim-10.eml
37
37
  * [34.eml](https://github.com/prasad83/node-bounce-handler/blob/master/eml/34.eml)
38
38
  * Copyright (c) 2014 prasad83 | The MIT License
39
39
 
40
- * mta-exim-11.eml
40
+ * email-exim-11.eml
41
41
  * [44.eml](https://github.com/prasad83/node-bounce-handler/blob/master/eml/44.eml)
42
42
  * Copyright (c) 2014 prasad83 | The MIT License
43
43
 
44
- * mta-exim-12.eml
44
+ * email-exim-12.eml
45
45
  * [0224.CALLER](https://github.com/Exim/exim/blob/master/test/mail/0224.CALLER)
46
46
  * Copyright (c) 1995 - 2012 University of Cambridge.
47
47
 
48
- * mta-exim-13.eml
48
+ * email-exim-13.eml
49
49
  * [0237.CALLER](https://github.com/Exim/exim/blob/master/test/mail/0237.CALLER)
50
50
  * Copyright (c) 1995 - 2012 University of Cambridge.
51
51
 
52
- * mta-exim-14.eml
52
+ * email-exim-14.eml
53
53
  * [9001.CALLER](https://github.com/Exim/exim/blob/master/test/mail/9001.CALLER)
54
54
  * Copyright (c) 1995 - 2012 University of Cambridge.
55
55
 
56
- * mta-exim-15.eml
56
+ * email-exim-15.eml
57
57
  * [0536.oksender](https://github.com/Exim/exim/blob/master/test/mail/0536.oksender)
58
58
  * Copyright (c) 1995 - 2012 University of Cambridge.
59
59
 
60
- * mta-exim-16.eml
60
+ * email-exim-16.eml
61
61
  * [0522.CALLER](https://github.com/Exim/exim/blob/master/test/mail/0522.CALLER)
62
62
  * Copyright (c) 1995 - 2012 University of Cambridge.
63
63
 
64
- * mta-exim-17.eml
64
+ * email-exim-17.eml
65
65
  * [0310.CALLER](https://github.com/Exim/exim/blob/master/test/mail/0310.CALLER)
66
66
  * Copyright (c) 1995 - 2012 University of Cambridge.
67
67
 
68
- * mta-exim-18.eml
68
+ * email-exim-18.eml
69
69
  * [0280.CALLER](https://github.com/Exim/exim/blob/master/test/mail/0280.CALLER)
70
70
  * Copyright (c) 1995 - 2012 University of Cambridge.
71
71
 
72
- * mta-exim-19.eml
72
+ * email-exim-19.eml
73
73
  * [0174.CALLER](https://github.com/Exim/exim/blob/master/test/mail/0174.CALLER)
74
74
  * Copyright (c) 1995 - 2012 University of Cambridge.
75
75
 
76
- * mta-exim-20.eml
76
+ * email-exim-20.eml
77
77
  * [0531.CALLER](https://github.com/Exim/exim/blob/master/test/mail/0531.CALLER)
78
78
  * Copyright (c) 1995 - 2012 University of Cambridge.
79
79
 
80
- * mta-exim-21.eml
80
+ * email-exim-21.eml
81
81
  * [0461.CALLER](https://github.com/Exim/exim/blob/master/test/mail/0461.CALLER)
82
82
  * Copyright (c) 1995 - 2012 University of Cambridge.
83
83
 
84
- * mta-exim-22.eml
84
+ * email-exim-22.eml
85
85
  * [0321.CALLER](https://github.com/Exim/exim/blob/master/test/mail/0321.CALLER)
86
86
  * Copyright (c) 1995 - 2012 University of Cambridge.
87
87
 
88
- * mta-exim-23.eml
88
+ * email-exim-23.eml
89
89
  * [0253.lmn](https://github.com/Exim/exim/blob/master/test/mail/0253.lmn)
90
90
  * Copyright (c) 1995 - 2012 University of Cambridge.
91
91
 
92
- * mta-exim-24.eml
92
+ * email-exim-24.eml
93
93
  * [0136.forwarder](https://github.com/Exim/exim/blob/master/test/mail/0136.forwarder)
94
94
  * Copyright (c) 1995 - 2012 University of Cambridge.
95
95
 
96
- * mta-exim-25.eml
96
+ * email-exim-25.eml
97
97
  * [0233.me](https://github.com/Exim/exim/blob/master/test/mail/0233.me)
98
98
  * Copyright (c) 1995 - 2012 University of Cambridge.
99
99
 
100
- * mta-exim-26.eml
100
+ * email-exim-26.eml
101
101
  * [0015.CALLER](https://github.com/Exim/exim/blob/master/test/mail/0015.CALLER)
102
102
  * Copyright (c) 1995 - 2012 University of Cambridge.
103
103
 
104
- * mta-exim-27.eml
104
+ * email-exim-27.eml
105
105
  * [0211.CALLER](https://github.com/Exim/exim/blob/master/test/mail/0211.CALLER)
106
106
  * Copyright (c) 1995 - 2012 University of Cambridge.
107
107
 
108
- * mta-exim-28.eml
108
+ * email-exim-28.eml
109
109
  * [0226.CALLER](https://github.com/Exim/exim/blob/master/test/mail/0226.CALLER)
110
110
  * Copyright (c) 1995 - 2012 University of Cambridge.
111
111
 
112
112
  Sisimai::MTA::IMailServer
113
113
  --------------------------------------------------------------------------------
114
- * mta-imailserver-05.eml
114
+ * email-imailserver-05.eml
115
115
  * mailman-2.1.15/tests/bounces/smtp32_03.txt
116
116
  * Copyright (C) 1989, 1991 Free Software Foundation, Inc. | GPLv2
117
117
 
118
118
  Sisimai::MTA::InterScanMSS
119
119
  --------------------------------------------------------------------------------
120
- * mta-interscanmss-02.eml
120
+ * email-interscanmss-02.eml
121
121
  * mailman-2.1.15/tests/bounces/simple_15.txt
122
122
  * Copyright (C) 1989, 1991 Free Software Foundation, Inc. | GPLv2
123
123
 
124
124
  Sisimai::MTA::Notes
125
125
  --------------------------------------------------------------------------------
126
- * mta-notes-04.eml
126
+ * email-notes-04.eml
127
127
  * [msg00154.html](http://osdir.com/ml/org.telecom.india-gii/2003-02/msg00154.html)
128
128
  * Copyrighted (c) 2000-2015, but we're happy to let you use what you wish with attribution. OSDir.com
129
129
 
130
130
  Sisimai::MTA::Postfix
131
131
  --------------------------------------------------------------------------------
132
- * mta-postfix-18.eml
132
+ * email-postfix-18.eml
133
133
  * [relay_failed.eml](https://github.com/choonkeat/deliveryboy/blob/master/spec/fixtures/bounce_cases/relay_failed.eml)
134
134
  * Copyright (c) 2011 Chew Choon Keat | The MIT License
135
135
 
136
- * mta-postfix-19.eml
136
+ * email-postfix-19.eml
137
137
  * [testfile.eml](https://github.com/prasad83/node-bounce-handler/blob/master/eml/testfile.eml)
138
138
  * Copyright (c) 2011 Chew Choon Keat | The MIT License
139
139
 
140
- * mta-postfix-20.eml
140
+ * email-postfix-20.eml
141
141
  * mailman-2.1.15/tests/bounces/postfix_05.txt
142
142
  * Copyright (C) 1989, 1991 Free Software Foundation, Inc. | GPLv2
143
143
 
144
- * mta-postfix-22.eml
144
+ * email-postfix-22.eml
145
145
  * https://github.com/LoneStarInternet/mail_manager/tree/master/spec/test_app/spec/support/files/bounce_400.txt
146
146
  * Copyright (c) 2015 Lone Star Internet, Inc. | MIT
147
147
 
148
- * mta-postfix-23.eml
148
+ * email-postfix-23.eml
149
149
  * https://github.com/LoneStarInternet/mail_manager/tree/master/spec/test_app/spec/support/files/bounce_500.txt
150
150
  * Copyright (c) 2015 Lone Star Internet, Inc. | MIT
151
151
 
152
- * mta-postfix-24.eml
152
+ * email-postfix-24.eml
153
153
  * https://github.com/LoneStarInternet/mail_manager/tree/master/spec/test_app/spec/support/files/bounce-invalid-address.txt
154
154
  * Copyright (c) 2015 Lone Star Internet, Inc. | MIT
155
155
 
156
- * mta-postfix-25.eml
156
+ * email-postfix-25.eml
157
157
  * https://github.com/LoneStarInternet/mail_manager/tree/master/spec/test_app/spec/support/files/bounce-smtp-timeout.txt
158
158
  * Copyright (c) 2015 Lone Star Internet, Inc. | MIT
159
159
 
160
- * mta-postfix-26.eml
160
+ * email-postfix-26.eml
161
161
  * https://github.com/LoneStarInternet/mail_manager/tree/master/spec/test_app/spec/support/files/bounce-unknown_domain.txt
162
162
  * Copyright (c) 2015 Lone Star Internet, Inc. | MIT
163
163
 
164
- * mta-postfix-27.eml
164
+ * email-postfix-27.eml
165
165
  * https://github.com/rgl/MailBounceDetector/blob/master/MailBounceDetector.Tests/Fixtures/bounce_postfix_non_existing_mailbox.eml
166
166
  * Copyright (c) 2015 Rui Lopes (ruilopes.com) | MIT
167
167
 
168
168
  Sisimai::MTA::qmail
169
169
  --------------------------------------------------------------------------------
170
- * mta-qmail-09.eml
170
+ * email-qmail-09.eml
171
171
  * mailman-2.1.15/tests/bounces/qmail_01.txt
172
172
  * Copyright (C) 1989, 1991 Free Software Foundation, Inc. | GPLv2
173
173
 
174
- * mta-qmail-10.eml
174
+ * email-qmail-10.eml
175
175
  * https://github.com/rgl/MailBounceDetector/blob/master/MailBounceDetector.Tests/Fixtures/bounce_qmail_extra_lines_between_recipient_paragraphs.eml
176
176
  * Copyright (c) 2015 Rui Lopes (ruilopes.com) | MIT
177
177
 
178
- * mta-qmail-11.eml
178
+ * email-qmail-11.eml
179
179
  * https://github.com/rgl/MailBounceDetector/blob/master/MailBounceDetector.Tests/Fixtures/bounce_qmail_multipart_alternative_non_existing_mailbox.eml
180
180
  * Copyright (c) 2015 Rui Lopes (ruilopes.com) | MIT
181
181
 
182
- * mta-qmail-12.eml
182
+ * email-qmail-12.eml
183
183
  * https://github.com/rgl/MailBounceDetector/blob/master/MailBounceDetector.Tests/Fixtures/bounce_qmail_no_host_found.eml
184
184
  * Copyright (c) 2015 Rui Lopes (ruilopes.com) | MIT
185
185
 
@@ -273,55 +273,55 @@ Sisimai::RFC3834
273
273
 
274
274
  Sisimai::MTA::Sendmail
275
275
  --------------------------------------------------------------------------------
276
- * mta-sendmail-23.eml
276
+ * email-sendmail-23.eml
277
277
  * [DSN-spam.eml](https://github.com/sendgrid/go-gmime/blob/master/gmime/fixtures/DSN-spam.eml)
278
278
  * Copyright (c) 2014, 2015 SendGrid Inc. | The MIT License
279
279
 
280
280
  Sisimai::MSP::US::Google
281
281
  --------------------------------------------------------------------------------
282
- * us-msp-google-12.eml
282
+ * email-google-12.eml
283
283
  * mailman-2.1.15/tests/bounces/simple_17.txt
284
284
  * Copyright (C) 1989, 1991 Free Software Foundation, Inc. | GPLv2
285
285
 
286
- * us-msp-google-13.eml
286
+ * email-google-13.eml
287
287
  * mailman-2.1.15/tests/bounces/simple_28.txt
288
288
  * Copyright (C) 1989, 1991 Free Software Foundation, Inc. | GPLv2
289
289
 
290
290
  Sisimai::MSP::US::Outlook
291
291
  --------------------------------------------------------------------------------
292
- * us-msp-outlook-09.eml
292
+ * email-outlook-09.eml
293
293
  * [connection_timed_out.eml](https://github.com/choonkeat/deliveryboy/blob/master/spec/fixtures/bounce_cases/connection_timed_out.eml)
294
294
  * Copyright (c) 2011 Chew Choon Keat | The MIT License
295
295
 
296
296
  Sisimai::MTA::X2
297
297
  --------------------------------------------------------------------------------
298
- * mta-x2-05.eml
298
+ * email-x2-05.eml
299
299
  * mailman-2.1.15/tests/bounces/yahoo_03.txt
300
300
  * Copyright (C) 1989, 1991 Free Software Foundation, Inc. | GPLv2
301
301
 
302
302
  Sisimai::MTA::X4
303
303
  --------------------------------------------------------------------------------
304
- * mta-x4-01.eml
304
+ * email-x4-01.eml
305
305
  * [bounce-secureservers.net-mailfolder_is_full.eml](https://github.com/justingit/dada-mail/blob/master/dada/t/corpus/email_messages/bounce-secureservers.net-mailfolder_is_full.eml)
306
306
  * Copyright (c) 1999 - 2015 Justin Simoni | GPL
307
307
 
308
- * mta-x4-02.eml
308
+ * email-x4-02.eml
309
309
  * mailman-2.1.15/tests/bounces/newmailru_01.txt
310
310
  * Copyright (C) 1989, 1991 Free Software Foundation, Inc. | GPLv2
311
311
 
312
- * mta-x4-03.eml
312
+ * email-x4-03.eml
313
313
  * mailman-2.1.15/tests/bounces/qmail_03.txt
314
314
  * Copyright (C) 1989, 1991 Free Software Foundation, Inc. | GPLv2
315
315
 
316
- * mta-x4-04.eml
316
+ * email-x4-04.eml
317
317
  * mailman-2.1.15/tests/bounces/qmail_04.txt
318
318
  * Copyright (C) 1989, 1991 Free Software Foundation, Inc. | GPLv2
319
319
 
320
- * mta-x4-05.eml
320
+ * email-x4-05.eml
321
321
  * mailman-2.1.15/tests/bounces/qmail_05.txt
322
322
  * Copyright (C) 1989, 1991 Free Software Foundation, Inc. | GPLv2
323
323
 
324
- * mta-x4-06.eml
324
+ * email-x4-06.eml
325
325
  * mailman-2.1.15/tests/bounces/qmail_06.txt
326
326
  * Copyright (C) 1989, 1991 Free Software Foundation, Inc. | GPLv2
327
327
 
data/sisimai-java.gemspec CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
 
12
12
  spec.summary = 'Mail Analyzing Interface'
13
13
  spec.description = 'Sisimai is a Ruby library for analyzing RFC5322 bounce emails and generating structured data from parsed results.'
14
- spec.homepage = 'http://libsisimai.org/'
14
+ spec.homepage = 'https://libsisimai.org/'
15
15
  spec.license = 'BSD-2-Clause'
16
16
  spec.platform = "java"
17
17
 
data/sisimai.gemspec CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
 
12
12
  spec.summary = 'Mail Analyzing Interface'
13
13
  spec.description = 'Sisimai is a Ruby library for analyzing RFC5322 bounce emails and generating structured data from parsed results.'
14
- spec.homepage = 'http://libsisimai.org/'
14
+ spec.homepage = 'https://libsisimai.org/'
15
15
  spec.license = 'BSD-2-Clause'
16
16
 
17
17
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sisimai
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.22.3
4
+ version: 4.22.4
5
5
  platform: java
6
6
  authors:
7
7
  - azumakuniyuki
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-12-26 00:00:00.000000000 Z
11
+ date: 2018-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -84,6 +84,7 @@ files:
84
84
  - ".rubocop.yml"
85
85
  - ".travis.yml"
86
86
  - ANALYTICAL-PRECISION
87
+ - Benchmarks.mk
87
88
  - ChangeLog.md
88
89
  - Developers.mk
89
90
  - Gemfile
@@ -211,7 +212,6 @@ files:
211
212
  - lib/sisimai/rhost/franceptt.rb
212
213
  - lib/sisimai/rhost/godaddy.rb
213
214
  - lib/sisimai/rhost/googleapps.rb
214
- - lib/sisimai/skeleton.rb
215
215
  - lib/sisimai/smtp.rb
216
216
  - lib/sisimai/smtp/error.rb
217
217
  - lib/sisimai/smtp/reply.rb
@@ -811,7 +811,7 @@ files:
811
811
  - set-of-emails/to-be-parsed-for-test/README.md
812
812
  - sisimai-java.gemspec
813
813
  - sisimai.gemspec
814
- homepage: http://libsisimai.org/
814
+ homepage: https://libsisimai.org/
815
815
  licenses:
816
816
  - BSD-2-Clause
817
817
  metadata: {}
@@ -1,43 +0,0 @@
1
- module Sisimai
2
- # Sisimai::Skeleton - Class for basic data structure of Sisimai
3
- module Skeleton
4
- class << self
5
- # Imported from p5-Sisimail/lib/Sisimai/Skeleton.pm
6
-
7
- # Flags for position variables
8
- # @return [Hash] Position flag data
9
- # @private
10
- def INDICATORS
11
- return {
12
- :'deliverystatus' => (1 << 1),
13
- :'message-rfc822' => (1 << 2),
14
- }
15
- end
16
-
17
- # Data structure for parsed bounce messages
18
- # @return [Hash] Data structure for delivery status
19
- # @private
20
- def DELIVERYSTATUS
21
- return {
22
- 'spec' => nil, # Protocl specification
23
- 'date' => nil, # The value of Last-Attempt-Date header
24
- 'rhost' => nil, # The value of Remote-MTA header
25
- 'lhost' => nil, # The value of Received-From-MTA header
26
- 'alias' => nil, # The value of alias entry(RHS)
27
- 'agent' => nil, # MTA name
28
- 'action' => nil, # The value of Action header
29
- 'status' => nil, # The value of Status header
30
- 'reason' => nil, # Temporary reason of bounce
31
- 'command' => nil, # SMTP command in the message body
32
- 'replycode' => nil, # SMTP Reply code
33
- 'diagnosis' => nil, # The value of Diagnostic-Code header
34
- 'recipient' => nil, # The value of Final-Recipient header
35
- 'softbounce' => nil, # Soft bounce or not
36
- 'feedbacktype' => nil, # Feedback Type
37
- }
38
- end
39
-
40
- end
41
- end
42
- end
43
-