sisimai 5.4.1 → 5.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (146) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/codecovio.yml +1 -1
  3. data/.github/workflows/rake-test.yml +1 -1
  4. data/ChangeLog.md +35 -0
  5. data/Makefile +2 -4
  6. data/README-JA.md +23 -20
  7. data/README.md +23 -20
  8. data/lib/sisimai/address.rb +92 -44
  9. data/lib/sisimai/arf.rb +7 -8
  10. data/lib/sisimai/datetime.rb +2 -2
  11. data/lib/sisimai/fact/json.rb +1 -2
  12. data/lib/sisimai/fact/yaml.rb +1 -2
  13. data/lib/sisimai/fact.rb +60 -35
  14. data/lib/sisimai/lda.rb +2 -2
  15. data/lib/sisimai/lhost/activehunter.rb +4 -5
  16. data/lib/sisimai/lhost/amazonses.rb +3 -4
  17. data/lib/sisimai/lhost/apachejames.rb +2 -2
  18. data/lib/sisimai/lhost/biglobe.rb +6 -6
  19. data/lib/sisimai/lhost/courier.rb +7 -7
  20. data/lib/sisimai/lhost/domino.rb +6 -6
  21. data/lib/sisimai/lhost/dragonfly.rb +5 -5
  22. data/lib/sisimai/lhost/einsundeins.rb +4 -4
  23. data/lib/sisimai/lhost/exchange2003.rb +7 -7
  24. data/lib/sisimai/lhost/exchange2007.rb +3 -3
  25. data/lib/sisimai/lhost/exim.rb +7 -7
  26. data/lib/sisimai/lhost/ezweb.rb +3 -2
  27. data/lib/sisimai/lhost/fml.rb +9 -9
  28. data/lib/sisimai/lhost/gmail.rb +9 -9
  29. data/lib/sisimai/lhost/gmx.rb +3 -3
  30. data/lib/sisimai/lhost/googlegroups.rb +6 -7
  31. data/lib/sisimai/lhost/googleworkspace.rb +5 -6
  32. data/lib/sisimai/lhost/imailserver.rb +4 -4
  33. data/lib/sisimai/lhost/kddi.rb +4 -4
  34. data/lib/sisimai/lhost/mailfoundry.rb +3 -3
  35. data/lib/sisimai/lhost/{mailmarshalsmtp.rb → mailmarshal.rb} +5 -5
  36. data/lib/sisimai/lhost/messagingserver.rb +8 -8
  37. data/lib/sisimai/lhost/mfilter.rb +8 -4
  38. data/lib/sisimai/lhost/mimecast.rb +105 -0
  39. data/lib/sisimai/lhost/notes.rb +5 -5
  40. data/lib/sisimai/lhost/opensmtpd.rb +5 -5
  41. data/lib/sisimai/lhost/postfix.rb +38 -32
  42. data/lib/sisimai/lhost/qmail.rb +6 -6
  43. data/lib/sisimai/lhost/sendmail.rb +13 -13
  44. data/lib/sisimai/lhost/{interscanmss.rb → trendmicro.rb} +8 -9
  45. data/lib/sisimai/lhost/v5sendmail.rb +7 -7
  46. data/lib/sisimai/lhost/verizon.rb +3 -3
  47. data/lib/sisimai/lhost/x1.rb +7 -4
  48. data/lib/sisimai/lhost/x2.rb +40 -12
  49. data/lib/sisimai/lhost/x3.rb +3 -3
  50. data/lib/sisimai/lhost/x6.rb +2 -2
  51. data/lib/sisimai/lhost/zoho.rb +5 -5
  52. data/lib/sisimai/lhost.rb +18 -17
  53. data/lib/sisimai/mail/maildir.rb +4 -4
  54. data/lib/sisimai/mail/mbox.rb +4 -4
  55. data/lib/sisimai/mail/memory.rb +1 -1
  56. data/lib/sisimai/mail/stdin.rb +2 -2
  57. data/lib/sisimai/message.rb +34 -34
  58. data/lib/sisimai/order.rb +5 -4
  59. data/lib/sisimai/reason/authfailure.rb +1 -1
  60. data/lib/sisimai/reason/badreputation.rb +1 -1
  61. data/lib/sisimai/reason/blocked.rb +2 -1
  62. data/lib/sisimai/reason/contenterror.rb +1 -2
  63. data/lib/sisimai/reason/exceedlimit.rb +1 -1
  64. data/lib/sisimai/reason/expired.rb +1 -1
  65. data/lib/sisimai/reason/failedstarttls.rb +1 -1
  66. data/lib/sisimai/reason/filtered.rb +1 -1
  67. data/lib/sisimai/reason/hasmoved.rb +1 -1
  68. data/lib/sisimai/reason/hostunknown.rb +2 -2
  69. data/lib/sisimai/reason/mailboxfull.rb +1 -1
  70. data/lib/sisimai/reason/mailererror.rb +1 -1
  71. data/lib/sisimai/reason/mesgtoobig.rb +1 -1
  72. data/lib/sisimai/reason/networkerror.rb +1 -1
  73. data/lib/sisimai/reason/norelaying.rb +2 -2
  74. data/lib/sisimai/reason/notaccept.rb +2 -3
  75. data/lib/sisimai/reason/notcompliantrfc.rb +1 -1
  76. data/lib/sisimai/reason/policyviolation.rb +2 -4
  77. data/lib/sisimai/reason/rejected.rb +5 -3
  78. data/lib/sisimai/reason/requireptr.rb +1 -1
  79. data/lib/sisimai/reason/securityerror.rb +1 -1
  80. data/lib/sisimai/reason/spamdetected.rb +1 -1
  81. data/lib/sisimai/reason/speeding.rb +1 -1
  82. data/lib/sisimai/reason/suspend.rb +2 -1
  83. data/lib/sisimai/reason/systemerror.rb +1 -1
  84. data/lib/sisimai/reason/systemfull.rb +1 -1
  85. data/lib/sisimai/reason/toomanyconn.rb +1 -1
  86. data/lib/sisimai/reason/userunknown.rb +4 -3
  87. data/lib/sisimai/reason/vacation.rb +1 -1
  88. data/lib/sisimai/reason/virusdetected.rb +1 -1
  89. data/lib/sisimai/reason.rb +12 -12
  90. data/lib/sisimai/rfc1123.rb +58 -18
  91. data/lib/sisimai/rfc1894.rb +6 -8
  92. data/lib/sisimai/rfc2045.rb +25 -13
  93. data/lib/sisimai/rfc3464/thirdparty.rb +2 -3
  94. data/lib/sisimai/rfc3464.rb +6 -6
  95. data/lib/sisimai/rfc3834.rb +18 -8
  96. data/lib/sisimai/rfc5322.rb +9 -9
  97. data/lib/sisimai/rfc791.rb +2 -2
  98. data/lib/sisimai/rhost/aol.rb +4 -1
  99. data/lib/sisimai/rhost/apple.rb +11 -7
  100. data/lib/sisimai/rhost/cox.rb +9 -5
  101. data/lib/sisimai/rhost/facebook.rb +9 -3
  102. data/lib/sisimai/rhost/franceptt.rb +86 -37
  103. data/lib/sisimai/rhost/godaddy.rb +10 -1
  104. data/lib/sisimai/rhost/google.rb +6 -6
  105. data/lib/sisimai/rhost/gsuite.rb +1 -1
  106. data/lib/sisimai/rhost/kddi.rb +1 -1
  107. data/lib/sisimai/rhost/messagelabs.rb +160 -2
  108. data/lib/sisimai/rhost/microsoft.rb +77 -26
  109. data/lib/sisimai/rhost/mimecast.rb +30 -21
  110. data/lib/sisimai/rhost/nttdocomo.rb +69 -89
  111. data/lib/sisimai/rhost/outlook.rb +1 -1
  112. data/lib/sisimai/rhost/spectrum.rb +1 -1
  113. data/lib/sisimai/rhost/tencent.rb +5 -4
  114. data/lib/sisimai/rhost/yahooinc.rb +2 -2
  115. data/lib/sisimai/rhost/zoho.rb +72 -0
  116. data/lib/sisimai/rhost.rb +4 -3
  117. data/lib/sisimai/smtp/command.rb +2 -2
  118. data/lib/sisimai/smtp/reply.rb +11 -4
  119. data/lib/sisimai/smtp/status.rb +17 -8
  120. data/lib/sisimai/smtp/transcript.rb +3 -3
  121. data/lib/sisimai/string.rb +6 -10
  122. data/lib/sisimai/version.rb +1 -1
  123. data/lib/sisimai.rb +1 -1
  124. data/set-of-emails/maildir/bsd/lhost-exim-56.eml +40 -40
  125. data/set-of-emails/maildir/bsd/lhost-mfilter-05.eml +41 -0
  126. data/set-of-emails/maildir/bsd/lhost-mimecast-01.eml +46 -0
  127. data/set-of-emails/maildir/bsd/lhost-mimecast-02.eml +59 -0
  128. data/set-of-emails/maildir/bsd/lhost-postfix-79.eml +81 -0
  129. data/set-of-emails/maildir/bsd/lhost-postfix-80.eml +84 -0
  130. data/set-of-emails/maildir/bsd/lhost-x1-03.eml +26 -0
  131. data/set-of-emails/maildir/bsd/lhost-x1-04.eml +45 -0
  132. data/set-of-emails/maildir/bsd/lhost-x2-07.eml +30 -0
  133. data/set-of-emails/maildir/bsd/rfc3464-66.eml +170 -0
  134. data/set-of-emails/maildir/bsd/rfc3834-06.eml +59 -0
  135. data/set-of-emails/maildir/bsd/rhost-zoho-01.eml +88 -0
  136. data/set-of-emails/maildir/bsd/rhost-zoho-02.eml +86 -0
  137. data/set-of-emails/maildir/bsd/rhost-zoho-03.eml +87 -0
  138. data/set-of-emails/maildir/bsd/rhost-zoho-04.eml +86 -0
  139. data/set-of-emails/maildir/not/rb-issue-368-bug.eml +39 -0
  140. data/sisimai-java.gemspec +1 -1
  141. data/sisimai.gemspec +1 -1
  142. metadata +26 -9
  143. /data/set-of-emails/maildir/bsd/{lhost-mailmarshalsmtp-02.eml → lhost-mailmarshal-02.eml} +0 -0
  144. /data/set-of-emails/maildir/bsd/{lhost-interscanmss-01.eml → lhost-trendmicro-01.eml} +0 -0
  145. /data/set-of-emails/maildir/bsd/{lhost-interscanmss-02.eml → lhost-trendmicro-02.eml} +0 -0
  146. /data/set-of-emails/maildir/bsd/{lhost-interscanmss-03.eml → lhost-trendmicro-03.eml} +0 -0
@@ -0,0 +1,59 @@
1
+ Return-Path: <>
2
+ X-Original-To: system@errors.ef.example.org
3
+ Delivered-To: system@errors.ef.example.org
4
+ Received: from relaying1.ef.example.org (unknown [192.0.2.25])
5
+ by feed.ef.example.org (Postfix) with ESMTPS id 4yK3pM26yhzhbLwQ
6
+ for <system@errors.ef.example.org>; Mon, 6 Jan 2025 07:00:30 +0900 (JST)
7
+ Authentication-Results: feed.ef.example.org;
8
+ dkim=pass (1024-bit key, unprotected) header.d=example.com header.i=@example.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=cCkHGzXN
9
+ Received: from us-smtp-delivery-000.mimecast.com (ip-192-0-2-250.ap-northeast-1.compute.internal [192.0.2.250])
10
+ by relaying1.ef.example.org (Postfix) with ESMTPS id YS7PlVh11Bz0QdTL
11
+ for <nekochan@ef.example.org>; Mon, 6 Jan 2025 07:00:29 +0900 (JST)
12
+ DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=example.com;
13
+ s=mimecast20190719; t=1779662812;
14
+ h=from:from:reply-to:reply-to:subject:subject:date:date:
15
+ message-id:message-id:to:to:cc:mime-version:mime-version:
16
+ content-type:content-type:in-reply-to:in-reply-to: references:references;
17
+ bh=...;
18
+ b=...
19
+ Received: from us-smtp-inbound-delivery-0.mimecast.com
20
+ (us-mta-000-route1.us.mimecast.lan [10.20.30.40]) by relay.mimecast.com
21
+ with ESMTP id us-mta-000-AAAAAAA-00000000000000-0; Sun, 05 Jan 2025
22
+ 18:03:23 -0400
23
+ X-MC-Unique: ...
24
+ X-Mimecast-MFC-AGG-ID: ...
25
+ From: <noreply@example.com>
26
+ To: <nekochan@ef.example.org>
27
+ Reply-To: <kijitora@example.com>
28
+ Message-Id: <000000000-0000000000000@us-mta-000.us.mimecast.lan>
29
+ Subject: =?UTF-8?Q?AutoRespons?= :Nyaan?
30
+ Date: Sun, 05 Jan 2025 18:03:23 -0400
31
+ Auto-Submitted: auto-replied
32
+ X-Auto-Response-Suppress: OOF, AutoReply, DR, NDR, RN, NRN
33
+ Precedence: bulk
34
+ X-MC-System: ...
35
+ Mime-Version: 1.0
36
+ X-Mimecast-Spam-Score: 0
37
+ X-Mimecast-Originator: example.com
38
+ Content-Type: multipart/alternative;
39
+ boundary="MCBoundary=_14445917231142800"
40
+
41
+ --MCBoundary=_14445917231142800
42
+ Content-Type: text/plain; charset=UTF-8
43
+ Content-Transfer-Encoding: quoted-printable
44
+
45
+ This email inbox kijitora@example.com is no longer in use. Please contact so=
46
+ meone else at Example or visit https://www.example.com/en/contact for assist=
47
+ ance.
48
+
49
+ --MCBoundary=_14445917231142800
50
+ Content-Type: text/html; charset=UTF-8
51
+ Content-Transfer-Encoding: quoted-printable
52
+
53
+ <html><head></head><body>This email inbox (<a href=3D"mailto:kijitora@example=
54
+ .com">kijitora@example.com</a>) is no longer in use. Please contact someone e=
55
+ lse at Example or visit https://www.example.com/en/contact for assistance.</b=
56
+ ody></html>
57
+
58
+ --MCBoundary=_14445917231142800--
59
+
@@ -0,0 +1,88 @@
1
+ Return-Path: <>
2
+ X-Original-To: michitsuna@example.org
3
+ Delivered-To: nekonyaan@example.org
4
+ Received: by mbox.example.org (Postfix)
5
+ id 4dJF1r4PPvz20Q1D; Tue, 29 Apr 2025 11:47:12 +0900 (JST)
6
+ Date: Tue, 29 Apr 2025 11:47:12 +0900 (JST)
7
+ From: MAILER-DAEMON@mbox.example.org (Mail Delivery System)
8
+ Subject: Undelivered Mail Returned to Sender
9
+ To: michitsuna@example.org
10
+ Auto-Submitted: auto-replied
11
+ MIME-Version: 1.0
12
+ Content-Type: multipart/report; report-type=delivery-status;
13
+ boundary="4dJF1p1qt4z20PyL.1234580000/mbox.example.org"
14
+ Message-Id: <4dJF1r4PPvz20Q1D@mbox.example.org>
15
+
16
+ This is a MIME-encapsulated message.
17
+
18
+ --4dJF1p1qt4z20PyL.1234580000/mbox.example.org
19
+ Content-Description: Notification
20
+ Content-Type: text/plain; charset=us-ascii
21
+
22
+ This is the mail system at host mbox.example.org.
23
+
24
+ I'm sorry to have to inform you that your message could not
25
+ be delivered to one or more recipients. It's attached below.
26
+
27
+ For further assistance, please send mail to postmaster.
28
+
29
+ If you do so, please include this problem report. You can
30
+ delete your own text from the attached returned message.
31
+
32
+ The mail system
33
+
34
+ <kijitora@zoho.example.com>: host smtpin.zoho.com[204.141.33.23]
35
+ said: 550 5.1.1 User does not exist -
36
+ <kijitora@zoho.example.com> (in reply to RCPT TO command)
37
+
38
+ --4dJF1p1qt4z20PyL.1234580000/mbox.example.org
39
+ Content-Description: Delivery report
40
+ Content-Type: message/delivery-status
41
+
42
+ Reporting-MTA: dns; mbox.example.org
43
+ X-Postfix-Queue-ID: 4dJF1p1qt4z20PyL
44
+ X-Postfix-Sender: rfc822; michitsuna@example.org
45
+ Arrival-Date: Tue, 29 Apr 2025 11:47:10 +0900 (JST)
46
+
47
+ Final-Recipient: rfc822; kijitora@zoho.example.com
48
+ Original-Recipient: rfc822;kijitora@zoho.example.com
49
+ Action: failed
50
+ Status: 5.1.1
51
+ Remote-MTA: dns; smtpin.zoho.com
52
+ Diagnostic-Code: smtp; 550 5.1.1 User does not exist -
53
+ <kijitora@zoho.example.com>
54
+
55
+ --4dJF1p1qt4z20PyL.1234580000/mbox.example.org
56
+ Content-Description: Undelivered Message
57
+ Content-Type: message/rfc822
58
+
59
+ Return-Path: <michitsuna@example.org>
60
+ Received: from smtpclient.apple (p2-255.kyoto.example.ne.jp [192.0.2.25])
61
+ by mbox.example.org (Postfix) with ESMTPSA id 4dJF1p1qt4z20PyL
62
+ for <kijitora@zoho.example.com>; Tue, 29 Apr 2025 11:47:10 +0900 (JST)
63
+ Authentication-Results: mbox.example.org; arc=none smtp.client-ip=192.0.2.25
64
+ DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=example.org;
65
+ s=neko22; t=1000000000;
66
+ bh=PTPS44ldRbybtsf2JyOccMKmOaotbn7wXTBZLWOqHr0=;
67
+ h=From:Subject:Message-Id:Date:To:X-Mailer:From;
68
+ b=dVV/aqMxVRphpgNYICGJBO1oqI/MBC0qoa0TZSVaL5dtDxOm23+iaQjs2rJv8oRmo
69
+ H3QDTWfjopR+04szcFtRVQRXAJQFW0rmaYf4hXwAqqLCR3egw/vILDYV4Pr3lktPzT
70
+ u1nZbYhdtgnmN89z/GIGUIKyoumKCK3ADCH2VL0ZFauLnTsiIqDPtFUeETfXiQiZr0
71
+ 5QbE/iwY29R4NY1s2Spc0BtSHeZDbsfgnccZIZhKUvC2AaJqFMfO3xfAvDSHrGRU/L
72
+ 0NLS9PyGUR+UL/QVFuGgti1AC3jKvevurqMQnz3Rw1G8zYq8y10h5ta0nZ9HfWbzO8
73
+ NZrIa7MtJeCAw==
74
+ From: "Nekodono" <michitsuna@example.org>
75
+ Content-Type: text/plain;
76
+ charset=us-ascii
77
+ Content-Transfer-Encoding: 7bit
78
+ Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.400.131.1.6\))
79
+ Subject: Nyaan?
80
+ Message-Id: <6E83AE85-5AF4-4E9B-8B33-64683EF86601@example.org>
81
+ Date: Tue, 29 Apr 2025 11:46:59 +0900
82
+ To: kijitora@zoho.example.com
83
+ X-Mailer: Apple Mail (2.3826.400.131.1.6)
84
+
85
+ Nyaan?
86
+
87
+ --4dJF1p1qt4z20PyL.1234580000/mbox.example.org--
88
+
@@ -0,0 +1,86 @@
1
+ Return-Path: <>
2
+ X-Original-To: michitsuna@example.org
3
+ Delivered-To: nekonyaan@example.org
4
+ Received: by mbox.example.org (Postfix)
5
+ id 4dJF1r4PPvz20Q2D; Tue, 29 Apr 2025 11:47:12 +0900 (JST)
6
+ Date: Tue, 29 Apr 2025 11:47:12 +0900 (JST)
7
+ From: MAILER-DAEMON@mbox.example.org (Mail Delivery System)
8
+ Subject: Undelivered Mail Returned to Sender
9
+ To: michitsuna@example.org
10
+ Auto-Submitted: auto-replied
11
+ MIME-Version: 1.0
12
+ Content-Type: multipart/report; report-type=delivery-status;
13
+ boundary="4dJF1p1qt4z20PyL.1234580000/mbox.example.org"
14
+ Message-Id: <4dJF1r4PPvz20Q2D@mbox.example.org>
15
+
16
+ This is a MIME-encapsulated message.
17
+
18
+ --4dJF1p1qt4z20PyL.1234580000/mbox.example.org
19
+ Content-Description: Notification
20
+ Content-Type: text/plain; charset=us-ascii
21
+
22
+ This is the mail system at host mbox.example.org.
23
+
24
+ I'm sorry to have to inform you that your message could not
25
+ be delivered to one or more recipients. It's attached below.
26
+
27
+ For further assistance, please send mail to postmaster.
28
+
29
+ If you do so, please include this problem report. You can
30
+ delete your own text from the attached returned message.
31
+
32
+ The mail system
33
+
34
+ <kijitora@zoho.example.com>: host smtpin.zoho.com[204.141.33.23] said: 554 5.7.7 Email
35
+ policy violation detected (in reply to end of DATA command)
36
+
37
+ --4dJF1p1qt4z20PyL.1234580000/mbox.example.org
38
+ Content-Description: Delivery report
39
+ Content-Type: message/delivery-status
40
+
41
+ Reporting-MTA: dns; mbox.example.org
42
+ X-Postfix-Queue-ID: 4dJF1p1qt4z20PyL
43
+ X-Postfix-Sender: rfc822; michitsuna@example.org
44
+ Arrival-Date: Tue, 29 Apr 2025 11:47:10 +0900 (JST)
45
+
46
+ Final-Recipient: rfc822; kijitora@zoho.example.com
47
+ Original-Recipient: rfc822;kijitora@zoho.example.com
48
+ Action: failed
49
+ Status: 5.7.7
50
+ Remote-MTA: dns; smtpin.zoho.com
51
+ Diagnostic-Code: smtp; 554 5.7.7 Email policy violation detected
52
+
53
+ --4dJF1p1qt4z20PyL.1234580000/mbox.example.org
54
+ Content-Description: Undelivered Message
55
+ Content-Type: message/rfc822
56
+
57
+ Return-Path: <michitsuna@example.org>
58
+ Received: from smtpclient.apple (p2-255.kyoto.example.ne.jp [192.0.2.25])
59
+ by mbox.example.org (Postfix) with ESMTPSA id 4dJF1p1qt4z20PyL
60
+ for <kijitora@zoho.example.com>; Tue, 29 Apr 2025 11:47:10 +0900 (JST)
61
+ Authentication-Results: mbox.example.org; arc=none smtp.client-ip=192.0.2.25
62
+ DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=example.org;
63
+ s=neko22; t=1000000000;
64
+ bh=PTPS44ldRbybtsf2JyOccMKmOaotbn7wXTBZLWOqHr0=;
65
+ h=From:Subject:Message-Id:Date:To:X-Mailer:From;
66
+ b=dVV/aqMxVRphpgNYICGJBO1oqI/MBC0qoa0TZSVaL5dtDxOm23+iaQjs2rJv8oRmo
67
+ H3QDTWfjopR+04szcFtRVQRXAJQFW0rmaYf4hXwAqqLCR3egw/vILDYV4Pr3lktPzT
68
+ u1nZbYhdtgnmN89z/GIGUIKyoumKCK3ADCH2VL0ZFauLnTsiIqDPtFUeETfXiQiZr0
69
+ 5QbE/iwY29R4NY1s2Spc0BtSHeZDbsfgnccZIZhKUvC2AaJqFMfO3xfAvDSHrGRU/L
70
+ 0NLS9PyGUR+UL/QVFuGgti1AC3jKvevurqMQnz3Rw1G8zYq8y10h5ta0nZ9HfWbzO8
71
+ NZrIa7MtJeCAw==
72
+ From: "Nekodono" <michitsuna@example.org>
73
+ Content-Type: text/plain;
74
+ charset=us-ascii
75
+ Content-Transfer-Encoding: 7bit
76
+ Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.400.131.1.6\))
77
+ Subject: Nyaan?
78
+ Message-Id: <6E83AE85-5AF4-4E9B-8B33-64683EF86602@example.org>
79
+ Date: Tue, 29 Apr 2025 11:46:59 +0900
80
+ To: kijitora@zoho.example.com
81
+ X-Mailer: Apple Mail (2.3826.400.131.1.6)
82
+
83
+ Nyaan?
84
+
85
+ --4dJF1p1qt4z20PyL.1234580000/mbox.example.org--
86
+
@@ -0,0 +1,87 @@
1
+ Return-Path: <>
2
+ X-Original-To: michitsuna@example.org
3
+ Delivered-To: nekonyaan@example.org
4
+ Received: by mbox.example.org (Postfix)
5
+ id 4dJF1r4PPvz20Q3D; Tue, 29 Apr 2025 11:47:12 +0900 (JST)
6
+ Date: Tue, 29 Apr 2025 11:47:12 +0900 (JST)
7
+ From: MAILER-DAEMON@mbox.example.org (Mail Delivery System)
8
+ Subject: Undelivered Mail Returned to Sender
9
+ To: michitsuna@example.org
10
+ Auto-Submitted: auto-replied
11
+ MIME-Version: 1.0
12
+ Content-Type: multipart/report; report-type=delivery-status;
13
+ boundary="4dJF1p1qt4z20PyL.1234580000/mbox.example.org"
14
+ Message-Id: <4dJF1r4PPvz20Q3D@mbox.example.org>
15
+
16
+ This is a MIME-encapsulated message.
17
+
18
+ --4dJF1p1qt4z20PyL.1234580000/mbox.example.org
19
+ Content-Description: Notification
20
+ Content-Type: text/plain; charset=us-ascii
21
+
22
+ This is the mail system at host mbox.example.org.
23
+
24
+ I'm sorry to have to inform you that your message could not
25
+ be delivered to one or more recipients. It's attached below.
26
+
27
+ For further assistance, please send mail to postmaster.
28
+
29
+ If you do so, please include this problem report. You can
30
+ delete your own text from the attached returned message.
31
+
32
+ The mail system
33
+
34
+ <kijitora@zoho.example.com>: host smtpin.zoho.com[204.141.33.23] said: 554 5.7.1 Email
35
+ cannot be delivered. Reason: Email flagged as Spam. (in reply to RCPT TO command)
36
+
37
+ --4dJF1p1qt4z20PyL.1234580000/mbox.example.org
38
+ Content-Description: Delivery report
39
+ Content-Type: message/delivery-status
40
+
41
+ Reporting-MTA: dns; mbox.example.org
42
+ X-Postfix-Queue-ID: 4dJF1p1qt4z20PyL
43
+ X-Postfix-Sender: rfc822; michitsuna@example.org
44
+ Arrival-Date: Tue, 29 Apr 2025 11:47:10 +0900 (JST)
45
+
46
+ Final-Recipient: rfc822; kijitora@zoho.example.com
47
+ Original-Recipient: rfc822;kijitora@zoho.example.com
48
+ Action: failed
49
+ Status: 5.7.1
50
+ Remote-MTA: dns; smtpin.zoho.com
51
+ Diagnostic-Code: smtp; 554 5.7.1 Email cannot be delivered. Reason: Email
52
+ flagged as Spam.
53
+
54
+ --4dJF1p1qt4z20PyL.1234580000/mbox.example.org
55
+ Content-Description: Undelivered Message
56
+ Content-Type: message/rfc822
57
+
58
+ Return-Path: <michitsuna@example.org>
59
+ Received: from smtpclient.apple (p2-255.kyoto.example.ne.jp [192.0.2.25])
60
+ by mbox.example.org (Postfix) with ESMTPSA id 4dJF1p1qt4z20PyL
61
+ for <kijitora@zoho.example.com>; Tue, 29 Apr 2025 11:47:10 +0900 (JST)
62
+ Authentication-Results: mbox.example.org; arc=none smtp.client-ip=192.0.2.25
63
+ DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=example.org;
64
+ s=neko22; t=1000000000;
65
+ bh=PTPS44ldRbybtsf2JyOccMKmOaotbn7wXTBZLWOqHr0=;
66
+ h=From:Subject:Message-Id:Date:To:X-Mailer:From;
67
+ b=dVV/aqMxVRphpgNYICGJBO1oqI/MBC0qoa0TZSVaL5dtDxOm23+iaQjs2rJv8oRmo
68
+ H3QDTWfjopR+04szcFtRVQRXAJQFW0rmaYf4hXwAqqLCR3egw/vILDYV4Pr3lktPzT
69
+ u1nZbYhdtgnmN89z/GIGUIKyoumKCK3ADCH2VL0ZFauLnTsiIqDPtFUeETfXiQiZr0
70
+ 5QbE/iwY29R4NY1s2Spc0BtSHeZDbsfgnccZIZhKUvC2AaJqFMfO3xfAvDSHrGRU/L
71
+ 0NLS9PyGUR+UL/QVFuGgti1AC3jKvevurqMQnz3Rw1G8zYq8y10h5ta0nZ9HfWbzO8
72
+ NZrIa7MtJeCAw==
73
+ From: "Nekodono" <michitsuna@example.org>
74
+ Content-Type: text/plain;
75
+ charset=us-ascii
76
+ Content-Transfer-Encoding: 7bit
77
+ Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.400.131.1.6\))
78
+ Subject: Nyaan?
79
+ Message-Id: <6E83AE85-5AF4-4E9B-8B33-64683EF86603@example.org>
80
+ Date: Tue, 29 Apr 2025 11:46:59 +0900
81
+ To: kijitora@zoho.example.com
82
+ X-Mailer: Apple Mail (2.3826.400.131.1.6)
83
+
84
+ Nyaan?
85
+
86
+ --4dJF1p1qt4z20PyL.1234580000/mbox.example.org--
87
+
@@ -0,0 +1,86 @@
1
+ Return-Path: <>
2
+ X-Original-To: michitsuna@example.org
3
+ Delivered-To: nekonyaan@example.org
4
+ Received: by mbox.example.org (Postfix)
5
+ id 4dJF1r4PPvz20Q4D; Tue, 29 Apr 2025 11:47:12 +0900 (JST)
6
+ Date: Tue, 29 Apr 2025 11:47:12 +0900 (JST)
7
+ From: MAILER-DAEMON@mbox.example.org (Mail Delivery System)
8
+ Subject: Undelivered Mail Returned to Sender
9
+ To: michitsuna@example.org
10
+ Auto-Submitted: auto-replied
11
+ MIME-Version: 1.0
12
+ Content-Type: multipart/report; report-type=delivery-status;
13
+ boundary="4dJF1p1qt4z20PyL.1234580000/mbox.example.org"
14
+ Message-Id: <4dJF1r4PPvz20Q4D@mbox.example.org>
15
+
16
+ This is a MIME-encapsulated message.
17
+
18
+ --4dJF1p1qt4z20PyL.1234580000/mbox.example.org
19
+ Content-Description: Notification
20
+ Content-Type: text/plain; charset=us-ascii
21
+
22
+ This is the mail system at host mbox.example.org.
23
+
24
+ I'm sorry to have to inform you that your message could not
25
+ be delivered to one or more recipients. It's attached below.
26
+
27
+ For further assistance, please send mail to postmaster.
28
+
29
+ If you do so, please include this problem report. You can
30
+ delete your own text from the attached returned message.
31
+
32
+ The mail system
33
+
34
+ <kijitora@zoho.example.com>: host mx.zoho.com[136.143.183.44] said: 541 5.4.1
35
+ Mail rejected by destination domain (in reply to RCPT TO command)
36
+
37
+ --4dJF1p1qt4z20PyL.1234580000/mbox.example.org
38
+ Content-Description: Delivery report
39
+ Content-Type: message/delivery-status
40
+
41
+ Reporting-MTA: dns; mbox.example.org
42
+ X-Postfix-Queue-ID: 4dJF1p1qt4z20PyL
43
+ X-Postfix-Sender: rfc822; michitsuna@example.org
44
+ Arrival-Date: Tue, 29 Apr 2025 11:47:10 +0900 (JST)
45
+
46
+ Final-Recipient: rfc822; kijitora@zoho.example.com
47
+ Original-Recipient: rfc822;kijitora@zoho.example.com
48
+ Action: failed
49
+ Status: 5.4.1
50
+ Remote-MTA: dns; mx.zoho.com
51
+ Diagnostic-Code: smtp; 541 5.4.1 Mail rejected by destination domain
52
+
53
+ --4dJF1p1qt4z20PyL.1234580000/mbox.example.org
54
+ Content-Description: Undelivered Message
55
+ Content-Type: message/rfc822
56
+
57
+ Return-Path: <michitsuna@example.org>
58
+ Received: from smtpclient.apple (p2-255.kyoto.example.ne.jp [192.0.2.25])
59
+ by mbox.example.org (Postfix) with ESMTPSA id 4dJF1p1qt4z20PyL
60
+ for <kijitora@zoho.example.com>; Tue, 29 Apr 2025 11:47:10 +0900 (JST)
61
+ Authentication-Results: mbox.example.org; arc=none smtp.client-ip=192.0.2.25
62
+ DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=example.org;
63
+ s=neko22; t=1000000000;
64
+ bh=PTPS44ldRbybtsf2JyOccMKmOaotbn7wXTBZLWOqHr0=;
65
+ h=From:Subject:Message-Id:Date:To:X-Mailer:From;
66
+ b=dVV/aqMxVRphpgNYICGJBO1oqI/MBC0qoa0TZSVaL5dtDxOm23+iaQjs2rJv8oRmo
67
+ H3QDTWfjopR+04szcFtRVQRXAJQFW0rmaYf4hXwAqqLCR3egw/vILDYV4Pr3lktPzT
68
+ u1nZbYhdtgnmN89z/GIGUIKyoumKCK3ADCH2VL0ZFauLnTsiIqDPtFUeETfXiQiZr0
69
+ 5QbE/iwY29R4NY1s2Spc0BtSHeZDbsfgnccZIZhKUvC2AaJqFMfO3xfAvDSHrGRU/L
70
+ 0NLS9PyGUR+UL/QVFuGgti1AC3jKvevurqMQnz3Rw1G8zYq8y10h5ta0nZ9HfWbzO8
71
+ NZrIa7MtJeCAw==
72
+ From: "Nekodono" <michitsuna@example.org>
73
+ Content-Type: text/plain;
74
+ charset=us-ascii
75
+ Content-Transfer-Encoding: 7bit
76
+ Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.400.131.1.6\))
77
+ Subject: Nyaan?
78
+ Message-Id: <6E83AE85-5AF4-4E9B-8B33-64683EF86604@example.org>
79
+ Date: Tue, 29 Apr 2025 11:46:59 +0900
80
+ To: kijitora@zoho.example.com
81
+ X-Mailer: Apple Mail (2.3826.400.131.1.6)
82
+
83
+ Nyaan?
84
+
85
+ --4dJF1p1qt4z20PyL.1234580000/mbox.example.org--
86
+
@@ -0,0 +1,39 @@
1
+ From MAILER-DAEMON Sat Oct 4 08:00:09 2025
2
+ Return-Path: <>
3
+ Date: Sat, 04 Oct 2025 08:00:07 +0200
4
+ Auto-Submitted: auto-replied
5
+ From: postmaster@yyyyyy.de
6
+ To: bounce+xxxx=yyyyyy.net@zzzzzzzz.net
7
+ Subject: email bounce notification
8
+
9
+ ########################################################################
10
+ ## automatic bounce notification (english text below) ##
11
+ ########################################################################
12
+
13
+ This message is to inform you that an email you sent was rejected.
14
+ Your message was rejected and discarded because it wasn't possible to
15
+ save the message in the target mailbox.
16
+
17
+ Please don't reply to this email because it is automaticaly generated.
18
+ You may want to wait some time to give the recipient the chance to
19
+ solve the problem (i.e. mailbox full) and then resend your email.
20
+
21
+ reject reason: Mailbox full
22
+ target mail address: xxxx@yyyyyy.net
23
+
24
+ ------------------------------------------------------------------------
25
+ bounced E-Mail:
26
+
27
+ From bounce+xxxx=yyyyyy.net@zzzzzzzz.net Sat Oct 4 08:00:07 2025
28
+ Date: Sat, 04 Oct 2025 06:00:03 +0000
29
+ From: Name <ccccc@zzzzzzzz.net>
30
+ To: xxxx@yyyyyy.net
31
+ Message-ID: <68e0b7e3615cd_1dc7010592ed@7cf4d87f87-9r5w2.mail>
32
+ Subject: SUBJECT
33
+ Mime-Version: 1.0
34
+ Content-Type: multipart/alternative;
35
+ boundary="--==_mimepart_68e0b7e359d08_1dc701059085";
36
+ charset=UTF-8
37
+ Content-Transfer-Encoding: 7bit
38
+
39
+
data/sisimai-java.gemspec CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
20
20
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
21
  spec.require_paths = ['lib']
22
22
 
23
- spec.required_ruby_version = '>= 2.4.0'
23
+ spec.required_ruby_version = '>= 2.5.0'
24
24
 
25
25
  spec.add_development_dependency 'bundler', '>= 1.8'
26
26
  spec.add_development_dependency 'rake', '>= 10.0'
data/sisimai.gemspec CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ['lib']
21
21
 
22
- spec.required_ruby_version = '>= 2.4.0'
22
+ spec.required_ruby_version = '>= 2.5.0'
23
23
 
24
24
  spec.add_development_dependency 'bundler', '>= 1.8'
25
25
  spec.add_development_dependency 'rake', '>= 10.0'
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: 5.4.1
4
+ version: 5.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - azumakuniyuki
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-08-31 00:00:00.000000000 Z
11
+ date: 2025-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -120,17 +120,18 @@ files:
120
120
  - lib/sisimai/lhost/googlegroups.rb
121
121
  - lib/sisimai/lhost/googleworkspace.rb
122
122
  - lib/sisimai/lhost/imailserver.rb
123
- - lib/sisimai/lhost/interscanmss.rb
124
123
  - lib/sisimai/lhost/kddi.rb
125
124
  - lib/sisimai/lhost/mailfoundry.rb
126
- - lib/sisimai/lhost/mailmarshalsmtp.rb
125
+ - lib/sisimai/lhost/mailmarshal.rb
127
126
  - lib/sisimai/lhost/messagingserver.rb
128
127
  - lib/sisimai/lhost/mfilter.rb
128
+ - lib/sisimai/lhost/mimecast.rb
129
129
  - lib/sisimai/lhost/notes.rb
130
130
  - lib/sisimai/lhost/opensmtpd.rb
131
131
  - lib/sisimai/lhost/postfix.rb
132
132
  - lib/sisimai/lhost/qmail.rb
133
133
  - lib/sisimai/lhost/sendmail.rb
134
+ - lib/sisimai/lhost/trendmicro.rb
134
135
  - lib/sisimai/lhost/v5sendmail.rb
135
136
  - lib/sisimai/lhost/verizon.rb
136
137
  - lib/sisimai/lhost/x1.rb
@@ -211,6 +212,7 @@ files:
211
212
  - lib/sisimai/rhost/spectrum.rb
212
213
  - lib/sisimai/rhost/tencent.rb
213
214
  - lib/sisimai/rhost/yahooinc.rb
215
+ - lib/sisimai/rhost/zoho.rb
214
216
  - lib/sisimai/smtp.rb
215
217
  - lib/sisimai/smtp/command.rb
216
218
  - lib/sisimai/smtp/failure.rb
@@ -418,15 +420,12 @@ files:
418
420
  - set-of-emails/maildir/bsd/lhost-imailserver-03.eml
419
421
  - set-of-emails/maildir/bsd/lhost-imailserver-04.eml
420
422
  - set-of-emails/maildir/bsd/lhost-imailserver-06.eml
421
- - set-of-emails/maildir/bsd/lhost-interscanmss-01.eml
422
- - set-of-emails/maildir/bsd/lhost-interscanmss-02.eml
423
- - set-of-emails/maildir/bsd/lhost-interscanmss-03.eml
424
423
  - set-of-emails/maildir/bsd/lhost-kddi-01.eml
425
424
  - set-of-emails/maildir/bsd/lhost-kddi-02.eml
426
425
  - set-of-emails/maildir/bsd/lhost-kddi-03.eml
427
426
  - set-of-emails/maildir/bsd/lhost-mailfoundry-01.eml
428
427
  - set-of-emails/maildir/bsd/lhost-mailfoundry-02.eml
429
- - set-of-emails/maildir/bsd/lhost-mailmarshalsmtp-02.eml
428
+ - set-of-emails/maildir/bsd/lhost-mailmarshal-02.eml
430
429
  - set-of-emails/maildir/bsd/lhost-mailru-01.eml
431
430
  - set-of-emails/maildir/bsd/lhost-mailru-02.eml
432
431
  - set-of-emails/maildir/bsd/lhost-mailru-03.eml
@@ -458,6 +457,9 @@ files:
458
457
  - set-of-emails/maildir/bsd/lhost-mfilter-02.eml
459
458
  - set-of-emails/maildir/bsd/lhost-mfilter-03.eml
460
459
  - set-of-emails/maildir/bsd/lhost-mfilter-04.eml
460
+ - set-of-emails/maildir/bsd/lhost-mfilter-05.eml
461
+ - set-of-emails/maildir/bsd/lhost-mimecast-01.eml
462
+ - set-of-emails/maildir/bsd/lhost-mimecast-02.eml
461
463
  - set-of-emails/maildir/bsd/lhost-mxlogic-01.eml
462
464
  - set-of-emails/maildir/bsd/lhost-mxlogic-02.eml
463
465
  - set-of-emails/maildir/bsd/lhost-mxlogic-03.eml
@@ -566,6 +568,8 @@ files:
566
568
  - set-of-emails/maildir/bsd/lhost-postfix-76.eml
567
569
  - set-of-emails/maildir/bsd/lhost-postfix-77.eml
568
570
  - set-of-emails/maildir/bsd/lhost-postfix-78.eml
571
+ - set-of-emails/maildir/bsd/lhost-postfix-79.eml
572
+ - set-of-emails/maildir/bsd/lhost-postfix-80.eml
569
573
  - set-of-emails/maildir/bsd/lhost-powermta-01.eml
570
574
  - set-of-emails/maildir/bsd/lhost-powermta-02.eml
571
575
  - set-of-emails/maildir/bsd/lhost-powermta-03.eml
@@ -667,6 +671,9 @@ files:
667
671
  - set-of-emails/maildir/bsd/lhost-surfcontrol-01.eml
668
672
  - set-of-emails/maildir/bsd/lhost-surfcontrol-02.eml
669
673
  - set-of-emails/maildir/bsd/lhost-surfcontrol-03.eml
674
+ - set-of-emails/maildir/bsd/lhost-trendmicro-01.eml
675
+ - set-of-emails/maildir/bsd/lhost-trendmicro-02.eml
676
+ - set-of-emails/maildir/bsd/lhost-trendmicro-03.eml
670
677
  - set-of-emails/maildir/bsd/lhost-v5sendmail-01.eml
671
678
  - set-of-emails/maildir/bsd/lhost-v5sendmail-02.eml
672
679
  - set-of-emails/maildir/bsd/lhost-v5sendmail-03.eml
@@ -678,12 +685,15 @@ files:
678
685
  - set-of-emails/maildir/bsd/lhost-verizon-02.eml
679
686
  - set-of-emails/maildir/bsd/lhost-x1-01.eml
680
687
  - set-of-emails/maildir/bsd/lhost-x1-02.eml
688
+ - set-of-emails/maildir/bsd/lhost-x1-03.eml
689
+ - set-of-emails/maildir/bsd/lhost-x1-04.eml
681
690
  - set-of-emails/maildir/bsd/lhost-x2-01.eml
682
691
  - set-of-emails/maildir/bsd/lhost-x2-02.eml
683
692
  - set-of-emails/maildir/bsd/lhost-x2-03.eml
684
693
  - set-of-emails/maildir/bsd/lhost-x2-04.eml
685
694
  - set-of-emails/maildir/bsd/lhost-x2-05.eml
686
695
  - set-of-emails/maildir/bsd/lhost-x2-06.eml
696
+ - set-of-emails/maildir/bsd/lhost-x2-07.eml
687
697
  - set-of-emails/maildir/bsd/lhost-x3-01.eml
688
698
  - set-of-emails/maildir/bsd/lhost-x3-02.eml
689
699
  - set-of-emails/maildir/bsd/lhost-x3-03.eml
@@ -747,11 +757,13 @@ files:
747
757
  - set-of-emails/maildir/bsd/rfc3464-63.eml
748
758
  - set-of-emails/maildir/bsd/rfc3464-64.eml
749
759
  - set-of-emails/maildir/bsd/rfc3464-65.eml
760
+ - set-of-emails/maildir/bsd/rfc3464-66.eml
750
761
  - set-of-emails/maildir/bsd/rfc3834-01.eml
751
762
  - set-of-emails/maildir/bsd/rfc3834-02.eml
752
763
  - set-of-emails/maildir/bsd/rfc3834-03.eml
753
764
  - set-of-emails/maildir/bsd/rfc3834-04.eml
754
765
  - set-of-emails/maildir/bsd/rfc3834-05.eml
766
+ - set-of-emails/maildir/bsd/rfc3834-06.eml
755
767
  - set-of-emails/maildir/bsd/rhost-aol-01.eml
756
768
  - set-of-emails/maildir/bsd/rhost-aol-02.eml
757
769
  - set-of-emails/maildir/bsd/rhost-aol-03.eml
@@ -835,6 +847,10 @@ files:
835
847
  - set-of-emails/maildir/bsd/rhost-yahooinc-01.eml
836
848
  - set-of-emails/maildir/bsd/rhost-yahooinc-02.eml
837
849
  - set-of-emails/maildir/bsd/rhost-yahooinc-03.eml
850
+ - set-of-emails/maildir/bsd/rhost-zoho-01.eml
851
+ - set-of-emails/maildir/bsd/rhost-zoho-02.eml
852
+ - set-of-emails/maildir/bsd/rhost-zoho-03.eml
853
+ - set-of-emails/maildir/bsd/rhost-zoho-04.eml
838
854
  - set-of-emails/maildir/dos/arf-01.eml
839
855
  - set-of-emails/maildir/dos/lhost-activehunter-01.eml
840
856
  - set-of-emails/maildir/dos/lhost-amavis-01.eml
@@ -1002,6 +1018,7 @@ files:
1002
1018
  - set-of-emails/maildir/mac/rhost-tencentqq-01.eml
1003
1019
  - set-of-emails/maildir/not/is-not-bounce-01.eml
1004
1020
  - set-of-emails/maildir/not/is-not-bounce-02.eml
1021
+ - set-of-emails/maildir/not/rb-issue-368-bug.eml
1005
1022
  - set-of-emails/maildir/tmp/arf-22.eml
1006
1023
  - set-of-emails/maildir/tmp/arf-23.eml
1007
1024
  - set-of-emails/maildir/tmp/arf-24.eml
@@ -1027,7 +1044,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
1027
1044
  requirements:
1028
1045
  - - ">="
1029
1046
  - !ruby/object:Gem::Version
1030
- version: 2.4.0
1047
+ version: 2.5.0
1031
1048
  required_rubygems_version: !ruby/object:Gem::Requirement
1032
1049
  requirements:
1033
1050
  - - ">="