sisimai 4.22.1 → 4.22.2

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 (100) hide show
  1. checksums.yaml +4 -4
  2. data/ChangeLog.md +21 -0
  3. data/README-JA.md +2 -2
  4. data/README.md +2 -2
  5. data/lib/sisimai.rb +2 -3
  6. data/lib/sisimai/address.rb +20 -40
  7. data/lib/sisimai/arf.rb +4 -4
  8. data/lib/sisimai/bite.rb +1 -0
  9. data/lib/sisimai/bite/email.rb +3 -4
  10. data/lib/sisimai/bite/email/activehunter.rb +7 -7
  11. data/lib/sisimai/bite/email/amazonses.rb +14 -14
  12. data/lib/sisimai/bite/email/amazonworkmail.rb +7 -7
  13. data/lib/sisimai/bite/email/aol.rb +8 -8
  14. data/lib/sisimai/bite/email/apachejames.rb +7 -7
  15. data/lib/sisimai/bite/email/bigfoot.rb +7 -7
  16. data/lib/sisimai/bite/email/biglobe.rb +7 -7
  17. data/lib/sisimai/bite/email/courier.rb +9 -9
  18. data/lib/sisimai/bite/email/domino.rb +8 -8
  19. data/lib/sisimai/bite/email/einsundeins.rb +7 -7
  20. data/lib/sisimai/bite/email/exchange2003.rb +10 -10
  21. data/lib/sisimai/bite/email/exchange2007.rb +10 -10
  22. data/lib/sisimai/bite/email/exim.rb +18 -19
  23. data/lib/sisimai/bite/email/ezweb.rb +9 -11
  24. data/lib/sisimai/bite/email/facebook.rb +22 -23
  25. data/lib/sisimai/bite/email/gmx.rb +7 -7
  26. data/lib/sisimai/bite/email/google.rb +22 -25
  27. data/lib/sisimai/bite/email/gsuite.rb +17 -19
  28. data/lib/sisimai/bite/email/imailserver.rb +13 -13
  29. data/lib/sisimai/bite/email/interscanmss.rb +7 -7
  30. data/lib/sisimai/bite/email/kddi.rb +7 -7
  31. data/lib/sisimai/bite/email/mailfoundry.rb +6 -6
  32. data/lib/sisimai/bite/email/mailmarshalsmtp.rb +13 -13
  33. data/lib/sisimai/bite/email/mailru.rb +10 -10
  34. data/lib/sisimai/bite/email/mcafee.rb +7 -7
  35. data/lib/sisimai/bite/email/messagelabs.rb +9 -9
  36. data/lib/sisimai/bite/email/messagingserver.rb +8 -8
  37. data/lib/sisimai/bite/email/mfilter.rb +7 -7
  38. data/lib/sisimai/bite/email/mxlogic.rb +9 -9
  39. data/lib/sisimai/bite/email/notes.rb +12 -12
  40. data/lib/sisimai/bite/email/office365.rb +14 -15
  41. data/lib/sisimai/bite/email/opensmtpd.rb +7 -7
  42. data/lib/sisimai/bite/email/outlook.rb +9 -9
  43. data/lib/sisimai/bite/email/postfix.rb +13 -13
  44. data/lib/sisimai/bite/email/qmail.rb +9 -9
  45. data/lib/sisimai/bite/email/receivingses.rb +9 -9
  46. data/lib/sisimai/bite/email/sendgrid.rb +9 -9
  47. data/lib/sisimai/bite/email/sendmail.rb +7 -7
  48. data/lib/sisimai/bite/email/surfcontrol.rb +7 -7
  49. data/lib/sisimai/bite/email/userdefined.rb +7 -7
  50. data/lib/sisimai/bite/email/v5sendmail.rb +21 -22
  51. data/lib/sisimai/bite/email/verizon.rb +8 -8
  52. data/lib/sisimai/bite/email/x1.rb +6 -6
  53. data/lib/sisimai/bite/email/x2.rb +6 -6
  54. data/lib/sisimai/bite/email/x3.rb +6 -6
  55. data/lib/sisimai/bite/email/x4.rb +9 -9
  56. data/lib/sisimai/bite/email/x5.rb +6 -6
  57. data/lib/sisimai/bite/email/yahoo.rb +7 -7
  58. data/lib/sisimai/bite/email/yandex.rb +7 -7
  59. data/lib/sisimai/bite/email/zoho.rb +8 -8
  60. data/lib/sisimai/bite/json.rb +10 -11
  61. data/lib/sisimai/bite/json/amazonses.rb +11 -11
  62. data/lib/sisimai/bite/json/sendgrid.rb +67 -17
  63. data/lib/sisimai/data.rb +19 -21
  64. data/lib/sisimai/data/json.rb +3 -3
  65. data/lib/sisimai/data/yaml.rb +3 -3
  66. data/lib/sisimai/datetime.rb +18 -21
  67. data/lib/sisimai/mail.rb +1 -1
  68. data/lib/sisimai/mail/stdin.rb +2 -2
  69. data/lib/sisimai/mda.rb +4 -4
  70. data/lib/sisimai/message.rb +1 -1
  71. data/lib/sisimai/message/email.rb +32 -35
  72. data/lib/sisimai/message/json.rb +3 -3
  73. data/lib/sisimai/mime.rb +5 -6
  74. data/lib/sisimai/order/email.rb +11 -11
  75. data/lib/sisimai/order/json.rb +3 -3
  76. data/lib/sisimai/reason.rb +2 -2
  77. data/lib/sisimai/reason/userunknown.rb +4 -5
  78. data/lib/sisimai/rfc3464.rb +14 -16
  79. data/lib/sisimai/rfc3834.rb +5 -5
  80. data/lib/sisimai/rfc5322.rb +2 -2
  81. data/lib/sisimai/rhost.rb +6 -5
  82. data/lib/sisimai/rhost/exchangeonline.rb +1 -1
  83. data/lib/sisimai/rhost/godaddy.rb +87 -0
  84. data/lib/sisimai/rhost/googleapps.rb +1 -1
  85. data/lib/sisimai/smtp/error.rb +21 -27
  86. data/lib/sisimai/smtp/status.rb +2 -2
  87. data/lib/sisimai/string.rb +7 -7
  88. data/lib/sisimai/version.rb +1 -1
  89. data/set-of-emails/jsonobj/json-sendgrid-12.json +1 -0
  90. data/set-of-emails/jsonobj/json-sendgrid-13.json +1 -0
  91. data/set-of-emails/jsonobj/json-sendgrid-14.json +1 -0
  92. data/set-of-emails/jsonobj/json-sendgrid-15.json +1 -0
  93. data/set-of-emails/jsonobj/json-sendgrid-16.json +1 -0
  94. data/set-of-emails/jsonobj/json-sendgrid-17.json +1 -0
  95. data/set-of-emails/maildir/bsd/rhost-godaddy-01.eml +83 -0
  96. data/set-of-emails/maildir/bsd/rhost-godaddy-02.eml +69 -0
  97. metadata +12 -6
  98. data/lib/sisimai/ced.rb +0 -48
  99. data/lib/sisimai/msp.rb +0 -39
  100. data/lib/sisimai/mta.rb +0 -39
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.1
4
+ version: 4.22.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - azumakuniyuki
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-08-29 00:00:00.000000000 Z
11
+ date: 2017-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -156,7 +156,6 @@ files:
156
156
  - lib/sisimai/bite/json.rb
157
157
  - lib/sisimai/bite/json/amazonses.rb
158
158
  - lib/sisimai/bite/json/sendgrid.rb
159
- - lib/sisimai/ced.rb
160
159
  - lib/sisimai/data.rb
161
160
  - lib/sisimai/data/json.rb
162
161
  - lib/sisimai/data/yaml.rb
@@ -170,8 +169,6 @@ files:
170
169
  - lib/sisimai/message/email.rb
171
170
  - lib/sisimai/message/json.rb
172
171
  - lib/sisimai/mime.rb
173
- - lib/sisimai/msp.rb
174
- - lib/sisimai/mta.rb
175
172
  - lib/sisimai/order.rb
176
173
  - lib/sisimai/order/email.rb
177
174
  - lib/sisimai/order/json.rb
@@ -211,6 +208,7 @@ files:
211
208
  - lib/sisimai/rfc5322.rb
212
209
  - lib/sisimai/rhost.rb
213
210
  - lib/sisimai/rhost/exchangeonline.rb
211
+ - lib/sisimai/rhost/godaddy.rb
214
212
  - lib/sisimai/rhost/googleapps.rb
215
213
  - lib/sisimai/skeleton.rb
216
214
  - lib/sisimai/smtp.rb
@@ -237,6 +235,12 @@ files:
237
235
  - set-of-emails/jsonobj/json-sendgrid-09.json
238
236
  - set-of-emails/jsonobj/json-sendgrid-10.json
239
237
  - set-of-emails/jsonobj/json-sendgrid-11.json
238
+ - set-of-emails/jsonobj/json-sendgrid-12.json
239
+ - set-of-emails/jsonobj/json-sendgrid-13.json
240
+ - set-of-emails/jsonobj/json-sendgrid-14.json
241
+ - set-of-emails/jsonobj/json-sendgrid-15.json
242
+ - set-of-emails/jsonobj/json-sendgrid-16.json
243
+ - set-of-emails/jsonobj/json-sendgrid-17.json
240
244
  - set-of-emails/mailbox/mbox-0
241
245
  - set-of-emails/mailbox/mbox-1
242
246
  - set-of-emails/maildir/bsd/README.md
@@ -603,6 +607,8 @@ files:
603
607
  - set-of-emails/maildir/bsd/rfc3834-05.eml
604
608
  - set-of-emails/maildir/bsd/rfc3834-06.eml
605
609
  - set-of-emails/maildir/bsd/rhost-exchange-online-01.eml
610
+ - set-of-emails/maildir/bsd/rhost-godaddy-01.eml
611
+ - set-of-emails/maildir/bsd/rhost-godaddy-02.eml
606
612
  - set-of-emails/maildir/bsd/rhost-google-apps-01.eml
607
613
  - set-of-emails/maildir/dos/arf-01.eml
608
614
  - set-of-emails/maildir/dos/email-activehunter-01.eml
@@ -781,7 +787,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
781
787
  version: '0'
782
788
  requirements: []
783
789
  rubyforge_project:
784
- rubygems_version: 2.6.8
790
+ rubygems_version: 2.6.13
785
791
  signing_key:
786
792
  specification_version: 4
787
793
  summary: Mail Analyzing Interface
data/lib/sisimai/ced.rb DELETED
@@ -1,48 +0,0 @@
1
- module Sisimai
2
- # Sisimai::CED - Base class for Sisimai::CED::*: Cloud Email Delivery Services
3
- module CED
4
- class << self
5
- # Imported from p5-Sisimail/lib/Sisimai/CED.pm
6
- require 'sisimai/skeleton'
7
-
8
- def INDICATORS
9
- warn ' ***warning: Sisimai::CED->INDICATORS has been moved to Sisimai::Bite::Email->INDICATORS'
10
- return Sisimai::Skeleton.INDICATORS
11
- end
12
-
13
- def DELIVERYSTATUS
14
- warn ' ***warning: Sisimai::CED->DELIVERYSTATUS has been moved to Sisimai::Bite->DELIVERYSTATUS'
15
- return Sisimai::Skeleton.DELIVERYSTATUS
16
- end
17
-
18
- def smtpagent(v = '')
19
- warn ' ***warning: Sisimai::CED->smtpagent has been moved to Sisimai::Bite->smtpagent'
20
- return v.to_s.sub(/\ASisimai::/, '')
21
- end
22
-
23
- def description
24
- warn ' ***warning: Sisimai::CED->description has been moved to Sisimai::Bite->description'
25
- return ''
26
- end
27
-
28
- def headerlist
29
- warn ' ***warning: Sisimai::CED->headerlist has been moved to Sisimai::Bite::Email->headerlist'
30
- return []
31
- end
32
-
33
- def pattern
34
- warn ' ***warning: Sisimai::CED->pattern has been moved to Sisimai::Bite::Email->pattern'
35
- return {}
36
- end
37
-
38
- # CED list
39
- # @return [Array] CED list with order
40
- def index
41
- warn ' ***warning: Sisimai::CED->index has been moved to Sisimai::Bite::Email->index'
42
- return ['US::AmazonSES', 'US::SendGrid']
43
- end
44
-
45
- end
46
- end
47
- end
48
-
data/lib/sisimai/msp.rb DELETED
@@ -1,39 +0,0 @@
1
- module Sisimai
2
- # Sisimai::MSP - Base class for Sisimai::MSP::*, Mail Service Provider classes.
3
- module MSP
4
- class << self
5
- # Imported from p5-Sisimail/lib/Sisimai/MSP.pm
6
- require 'sisimai/skeleton'
7
- require 'sisimai/rfc5322'
8
-
9
- def INDICATORS
10
- warn ' ***warning: Sisimai::MSP->INDICATORS has been moved to Sisimai::Bite::Email->INDICATORS'
11
- return Sisimai::Skeleton.INDICATORS
12
- end
13
-
14
- def DELIVERYSTATUS
15
- warn ' ***warning: Sisimai::MSP->DELIVERYSTATUS has been moved to Sisimai::Bite->DELIVERYSTATUS'
16
- return Sisimai::Skeleton.DELIVERYSTATUS
17
- end
18
-
19
- def smtpagent(v = '')
20
- warn ' ***warning: Sisimai::MSP->smtpagent has been moved to Sisimai::Bite->smtpagent'
21
- return v.to_s.sub(/\ASisimai::/, '')
22
- end
23
-
24
- # MSP list
25
- # @return [Array] MSP list with order
26
- def index
27
- warn ' ***warning: Sisimai::MSP->index has been moved to Sisimai::Bite::Email->index'
28
- return [
29
- 'US::Google', 'US::Yahoo', 'US::Aol', 'US::Outlook', 'US::AmazonSES',
30
- 'US::SendGrid', 'US::GSuite', 'US::Verizon', 'RU::MailRu', 'RU::Yandex',
31
- 'DE::GMX', 'US::Bigfoot', 'US::Facebook', 'US::Zoho', 'DE::EinsUndEins',
32
- 'UK::MessageLabs', 'JP::EZweb', 'JP::KDDI', 'JP::Biglobe',
33
- 'US::ReceivingSES', 'US::AmazonWorkMail', 'US::Office365',
34
- ]
35
- end
36
-
37
- end
38
- end
39
- end
data/lib/sisimai/mta.rb DELETED
@@ -1,39 +0,0 @@
1
- module Sisimai
2
- # Sisimai::MTA - Base class for Sisimai::MTA::*
3
- module MTA
4
- class << self
5
- # Imported from p5-Sisimail/lib/Sisimai/MTA.pm
6
- require 'sisimai/skeleton'
7
- require 'sisimai/rfc5322'
8
-
9
- def INDICATORS
10
- warn ' ***warning: Sisimai::MTA->INDICATORS has been moved to Sisimai::Bite::Email->INDICATORS'
11
- return Sisimai::Skeleton.INDICATORS
12
- end
13
-
14
- def DELIVERYSTATUS
15
- warn ' ***warning: Sisimai::MTA->DELIVERYSTATUS has been moved to Sisimai::Bite->DELIVERYSTATUS'
16
- return Sisimai::Skeleton.DELIVERYSTATUS
17
- end
18
-
19
- def smtpagent(v = '')
20
- warn ' ***warning: Sisimai::MTA->smtpagent has been moved to Sisimai::Bite->smtpagent'
21
- return v.to_s.sub(/\ASisimai::/, '')
22
- end
23
-
24
- # MTA list
25
- # @return [Array] MTA list with order
26
- def index
27
- warn ' ***warning: Sisimai::MTA->index has been moved to Sisimai::Bite::Email->index'
28
- return %w|
29
- Sendmail Postfix Qmail Exim Courier OpenSMTPD Exchange2007 Exchange2003
30
- MessagingServer Domino Notes ApacheJames McAfee MXLogic MailFoundry
31
- IMailServer MFILTER Activehunter InterScanMSS SurfControl MailMarshalSMTP
32
- X1 X2 X3 X4 X5 V5sendmail
33
- |
34
- end
35
-
36
- end
37
- end
38
- end
39
-