sisimai 5.6.0-java → 5.7.1-java
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.
- checksums.yaml +4 -4
- data/.github/workflows/rake-test.yml +0 -4
- data/ChangeLog.md +47 -0
- data/README-JA.md +19 -16
- data/README.md +23 -21
- data/lib/sisimai/address.rb +8 -31
- data/lib/sisimai/arf.rb +5 -6
- data/lib/sisimai/eb.rb +116 -0
- data/lib/sisimai/fact.rb +33 -51
- data/lib/sisimai/lda.rb +20 -18
- data/lib/sisimai/lhost/activehunter.rb +0 -2
- data/lib/sisimai/lhost/amazonses.rb +17 -18
- data/lib/sisimai/lhost/apachejames.rb +0 -1
- data/lib/sisimai/lhost/biglobe.rb +0 -16
- data/lib/sisimai/lhost/courier.rb +9 -7
- data/lib/sisimai/lhost/deutschetelekom.rb +120 -0
- data/lib/sisimai/lhost/domino.rb +2 -4
- data/lib/sisimai/lhost/dragonfly.rb +0 -27
- data/lib/sisimai/lhost/einsundeins.rb +4 -12
- data/lib/sisimai/lhost/exchange2003.rb +12 -11
- data/lib/sisimai/lhost/exchange2007.rb +17 -17
- data/lib/sisimai/lhost/exim.rb +34 -81
- data/lib/sisimai/lhost/ezweb.rb +15 -51
- data/lib/sisimai/lhost/fml.rb +8 -32
- data/lib/sisimai/lhost/gmail.rb +10 -32
- data/lib/sisimai/lhost/gmx.rb +7 -24
- data/lib/sisimai/lhost/googlegroups.rb +6 -5
- data/lib/sisimai/lhost/googleworkspace.rb +2 -5
- data/lib/sisimai/lhost/imailserver.rb +4 -9
- data/lib/sisimai/lhost/kddi.rb +8 -21
- data/lib/sisimai/lhost/mailfoundry.rb +0 -2
- data/lib/sisimai/lhost/mailmarshal.rb +1 -3
- data/lib/sisimai/lhost/messagingserver.rb +4 -15
- data/lib/sisimai/lhost/mfilter.rb +0 -1
- data/lib/sisimai/lhost/mimecast.rb +0 -1
- data/lib/sisimai/lhost/notes.rb +3 -3
- data/lib/sisimai/lhost/opensmtpd.rb +0 -40
- data/lib/sisimai/lhost/postfix.rb +14 -14
- data/lib/sisimai/lhost/qmail.rb +23 -89
- data/lib/sisimai/lhost/sendmail.rb +8 -7
- data/lib/sisimai/lhost/trendmicro.rb +5 -4
- data/lib/sisimai/lhost/v5sendmail.rb +2 -2
- data/lib/sisimai/lhost/verizon.rb +4 -4
- data/lib/sisimai/lhost/x1.rb +1 -2
- data/lib/sisimai/lhost/x2.rb +0 -2
- data/lib/sisimai/lhost/x3.rb +4 -9
- data/lib/sisimai/lhost/x6.rb +0 -1
- data/lib/sisimai/lhost/zoho.rb +0 -12
- data/lib/sisimai/lhost.rb +38 -19
- data/lib/sisimai/message.rb +1 -1
- data/lib/sisimai/order.rb +4 -1
- data/lib/sisimai/reason/authfailure.rb +8 -7
- data/lib/sisimai/reason/badreputation.rb +5 -4
- data/lib/sisimai/reason/blocked.rb +6 -5
- data/lib/sisimai/reason/contenterror.rb +8 -5
- data/lib/sisimai/reason/delivered.rb +3 -2
- data/lib/sisimai/reason/emailtoolarge.rb +7 -6
- data/lib/sisimai/reason/expired.rb +16 -4
- data/lib/sisimai/reason/failedstarttls.rb +5 -3
- data/lib/sisimai/reason/feedback.rb +2 -1
- data/lib/sisimai/reason/filtered.rb +9 -8
- data/lib/sisimai/reason/hasmoved.rb +5 -4
- data/lib/sisimai/reason/hostunknown.rb +14 -4
- data/lib/sisimai/reason/mailboxfull.rb +10 -8
- data/lib/sisimai/reason/mailererror.rb +3 -2
- data/lib/sisimai/reason/networkerror.rb +16 -3
- data/lib/sisimai/reason/norelaying.rb +8 -6
- data/lib/sisimai/reason/notaccept.rb +15 -7
- data/lib/sisimai/reason/notcompliantrfc.rb +5 -3
- data/lib/sisimai/reason/onhold.rb +8 -7
- data/lib/sisimai/reason/policyviolation.rb +11 -5
- data/lib/sisimai/reason/ratelimited.rb +5 -4
- data/lib/sisimai/reason/rejected.rb +24 -14
- data/lib/sisimai/reason/requireptr.rb +5 -4
- data/lib/sisimai/reason/securityerror.rb +5 -3
- data/lib/sisimai/reason/spamdetected.rb +6 -5
- data/lib/sisimai/reason/suppressed.rb +4 -3
- data/lib/sisimai/reason/suspend.rb +8 -3
- data/lib/sisimai/reason/syntaxerror.rb +5 -11
- data/lib/sisimai/reason/systemerror.rb +21 -2
- data/lib/sisimai/reason/systemfull.rb +4 -3
- data/lib/sisimai/reason/undefined.rb +2 -1
- data/lib/sisimai/reason/userunknown.rb +15 -9
- data/lib/sisimai/reason/vacation.rb +2 -1
- data/lib/sisimai/reason/virusdetected.rb +6 -5
- data/lib/sisimai/reason.rb +47 -42
- data/lib/sisimai/rfc1123.rb +1 -1
- data/lib/sisimai/rfc1894.rb +15 -8
- data/lib/sisimai/rfc2045.rb +8 -5
- data/lib/sisimai/rfc3464/thirdparty.rb +11 -10
- data/lib/sisimai/rfc3464.rb +10 -14
- data/lib/sisimai/rfc3834.rb +6 -5
- data/lib/sisimai/rfc791.rb +3 -38
- data/lib/sisimai/rhost/aol.rb +3 -2
- data/lib/sisimai/rhost/apple.rb +12 -11
- data/lib/sisimai/rhost/cloudflare.rb +3 -2
- data/lib/sisimai/rhost/cox.rb +38 -37
- data/lib/sisimai/rhost/facebook.rb +17 -16
- data/lib/sisimai/rhost/franceptt.rb +39 -38
- data/lib/sisimai/rhost/godaddy.rb +35 -34
- data/lib/sisimai/rhost/google.rb +22 -21
- data/lib/sisimai/rhost/gsuite.rb +8 -7
- data/lib/sisimai/rhost/iua.rb +11 -10
- data/lib/sisimai/rhost/kddi.rb +3 -2
- data/lib/sisimai/rhost/messagelabs.rb +13 -12
- data/lib/sisimai/rhost/microsoft.rb +37 -32
- data/lib/sisimai/rhost/mimecast.rb +18 -17
- data/lib/sisimai/rhost/nttdocomo.rb +10 -9
- data/lib/sisimai/rhost/outlook.rb +3 -2
- data/lib/sisimai/rhost/spectrum.rb +19 -18
- data/lib/sisimai/rhost/tencent.rb +10 -9
- data/lib/sisimai/rhost/yahooinc.rb +11 -10
- data/lib/sisimai/rhost/zoho.rb +8 -7
- data/lib/sisimai/rhost.rb +1 -1
- data/lib/sisimai/smtp/command.rb +13 -8
- data/lib/sisimai/smtp/failure.rb +9 -8
- data/lib/sisimai/smtp/reply.rb +23 -22
- data/lib/sisimai/smtp/status.rb +164 -159
- data/lib/sisimai/smtp/transcript.rb +3 -2
- data/lib/sisimai/string.rb +0 -12
- data/lib/sisimai/version.rb +1 -1
- data/lib/sisimai.rb +2 -1
- data/set-of-emails/maildir/bsd/lhost-deutschetelekom-01.eml +66 -0
- data/set-of-emails/maildir/bsd/lhost-deutschetelekom-02.eml +68 -0
- data/set-of-emails/maildir/bsd/lhost-deutschetelekom-03.eml +50 -0
- data/set-of-emails/maildir/bsd/lhost-postfix-81.eml +130 -0
- data/set-of-emails/should-not-crash/go-423-deeply-nested-mime-parts.eml +20050 -0
- data/set-of-emails/should-not-crash/p5-664-iomart-mail-filter.eml +258 -0
- data/set-of-emails/to-be-debugged-because/sisimai-cannot-parse-yet/.gitkeep +0 -0
- metadata +11 -2
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
Return-Path: <kijitora-nyaan@example.org>
|
|
2
|
+
Delivered-To: sironeko@example.jp
|
|
3
|
+
Received: from example.com (unknown [192.0.2.250])
|
|
4
|
+
by r1.example.co.jp (Postfix) with ESMTP id FFFFFFFF00
|
|
5
|
+
for <sironeko@example.jp>; Thu, 29 Apr 2006 23:34:45 +0000 (UTC)
|
|
6
|
+
Received: from r2.example.org (r2.example.org [192.0.2.25])
|
|
7
|
+
by smtp.nyaan.example.net (8.10.1/8.10.1) with ESMTP id k3k000000000
|
|
8
|
+
for <sironeko@nyaan.example.net>; Thu,29 Apr 2006 23:34:45 +0000
|
|
9
|
+
Received: from [203.0.113.25] (helo=r9.example.net)
|
|
10
|
+
by r2.example.org with esmtp (Exim 3.21 #1)
|
|
11
|
+
id AAAAAA-000000-22
|
|
12
|
+
for kijitora-nyaan@example.org; Thu, 29 Apr 2006 23:34:45 +0000
|
|
13
|
+
Received: from smtp1.r.example.net ([209.196.123.3])
|
|
14
|
+
by mx7.example.net with smtp (Exim 3.16 #10)
|
|
15
|
+
id BBBBBB-111111-22
|
|
16
|
+
for kijitora-nyaan@example.org; Thu, 29 Apr 2006 23:34:45 +0000
|
|
17
|
+
Message-Id: <ffffffffffffffff1@smtp1.r.example.net>
|
|
18
|
+
From: <MAILER-DAEMON@example.net>
|
|
19
|
+
To: kijitora-nyaan@example.org
|
|
20
|
+
Date: Thu, 29 Apr 2006 23:34:45 +0000 (UTC)
|
|
21
|
+
Subject: mail failed, returning to sender
|
|
22
|
+
|
|
23
|
+
|------------------------- Message log follows: -------------------------|
|
|
24
|
+
no valid recipients were found for this message
|
|
25
|
+
|------------------------- Failed addresses follow: ---------------------|
|
|
26
|
+
kijitora@neko.nyaan.example.com ... unknown host
|
|
27
|
+
|------------------------- Message text follows: ------------------------|
|
|
28
|
+
Received: from r2.example.org ([192.0.2.25])
|
|
29
|
+
by mx1.example.net with esmtp (Exim 3.22 #2)
|
|
30
|
+
id aaaaaa-444444-22
|
|
31
|
+
for kijitora@neosoft.com; Thu, 29 Apr 2006 23:34:45 +0000
|
|
32
|
+
Received: from localhost.localdomain ([127.0.0.1] helo=r2.example.org)
|
|
33
|
+
by r2.example.org with esmtp (Exim 3.22 #2)
|
|
34
|
+
id 000000-000000-00; Thu, 29 Apr 2006 23:34:45 +0000
|
|
35
|
+
Received: from [203.0.113.1] (helo=[127.0.0.1])
|
|
36
|
+
by r2.example.org with smtp (Exim 3.22 #2)
|
|
37
|
+
id eeeeee-rrrrrr-22
|
|
38
|
+
for neko-nyaan@example.org; Thu, 29 Apr 2006 23:34:45 +0000
|
|
39
|
+
Message-Id: <ffffffffffff000000002222000000000@e3.example.com>
|
|
40
|
+
To: kijitora@neko.nyaan.example.com
|
|
41
|
+
From: Neko <sironeko@example.jp>
|
|
42
|
+
Cc: neko-nyaan@example.org
|
|
43
|
+
Mime-Version: 1.0
|
|
44
|
+
Content-Type: text/plain; charset="us-ascii"; format=flowed
|
|
45
|
+
Date: Thu, 29 Apr 2006 23:34:45 +0000
|
|
46
|
+
Subject: Nyaan
|
|
47
|
+
|
|
48
|
+
Nyaan
|
|
49
|
+
|
|
50
|
+
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
Return-Path: <>
|
|
2
|
+
Delivered-To: sironeko@example.com
|
|
3
|
+
Received: by e4.example.com (Postfix) via r2.example.com id FFFFFFFF00;
|
|
4
|
+
Thu, 29 Apr 2005 23:34:45 +0000 (UTC)
|
|
5
|
+
MIME-Version: 1.0
|
|
6
|
+
Content-Type: multipart/mixed; boundary="BOUNDARY-DEPTH-01"
|
|
7
|
+
Message-Id: <20050429233445.FFFFFFFF99@e4.example.com>
|
|
8
|
+
From: MAILER-DAEMON@e4.example.com (Mail Delivery System)
|
|
9
|
+
To: sironeko@e4.example.com
|
|
10
|
+
Subject: Undelivered Mail Returned to Sender
|
|
11
|
+
Date: Thu, 29 Apr 2005 23:34:45 +0000 (UTC)
|
|
12
|
+
|
|
13
|
+
This is a MIME-encapsulated message.
|
|
14
|
+
|
|
15
|
+
--BOUNDARY-DEPTH-01
|
|
16
|
+
Content-Type: multipart/mixed; boundary="BOUNDARY-DEPTH-02"
|
|
17
|
+
|
|
18
|
+
--BOUNDARY-DEPTH-02
|
|
19
|
+
Content-Type: multipart/mixed; boundary="BOUNDARY-DEPTH-03"
|
|
20
|
+
|
|
21
|
+
--BOUNDARY-DEPTH-03
|
|
22
|
+
Content-Type: multipart/mixed; boundary="BOUNDARY-DEPTH-04"
|
|
23
|
+
|
|
24
|
+
--BOUNDARY-DEPTH-04
|
|
25
|
+
Content-Type: multipart/mixed; boundary="BOUNDARY-DEPTH-05"
|
|
26
|
+
|
|
27
|
+
--BOUNDARY-DEPTH-05
|
|
28
|
+
Content-Type: multipart/mixed; boundary="BOUNDARY-DEPTH-06"
|
|
29
|
+
|
|
30
|
+
--BOUNDARY-DEPTH-06
|
|
31
|
+
Content-Type: multipart/mixed; boundary="BOUNDARY-DEPTH-07"
|
|
32
|
+
|
|
33
|
+
--BOUNDARY-DEPTH-07
|
|
34
|
+
Content-Type: multipart/mixed; boundary="BOUNDARY-DEPTH-08"
|
|
35
|
+
|
|
36
|
+
--BOUNDARY-DEPTH-08
|
|
37
|
+
Content-Type: multipart/mixed; boundary="BOUNDARY-DEPTH-09"
|
|
38
|
+
|
|
39
|
+
--BOUNDARY-DEPTH-09
|
|
40
|
+
Content-Type: multipart/mixed; boundary="BOUNDARY-DEPTH-10"
|
|
41
|
+
|
|
42
|
+
--BOUNDARY-DEPTH-10
|
|
43
|
+
Content-Type: multipart/mixed; boundary="BOUNDARY-DEPTH-11"
|
|
44
|
+
|
|
45
|
+
--BOUNDARY-DEPTH-11
|
|
46
|
+
Content-Type: multipart/mixed; boundary="BOUNDARY-DEPTH-12"
|
|
47
|
+
|
|
48
|
+
--BOUNDARY-DEPTH-12
|
|
49
|
+
Content-Type: multipart/mixed; boundary="BOUNDARY-DEPTH-13"
|
|
50
|
+
|
|
51
|
+
--BOUNDARY-DEPTH-13
|
|
52
|
+
Content-Type: multipart/mixed; boundary="BOUNDARY-DEPTH-14"
|
|
53
|
+
|
|
54
|
+
--BOUNDARY-DEPTH-14
|
|
55
|
+
Content-Type: multipart/mixed; boundary="BOUNDARY-DEPTH-15"
|
|
56
|
+
|
|
57
|
+
--BOUNDARY-DEPTH-15
|
|
58
|
+
Content-Type: multipart/mixed; boundary="BOUNDARY-DEPTH-16"
|
|
59
|
+
|
|
60
|
+
--BOUNDARY-DEPTH-16
|
|
61
|
+
Content-Type: multipart/mixed; boundary="BOUNDARY-DEPTH-17"
|
|
62
|
+
|
|
63
|
+
--BOUNDARY-DEPTH-17
|
|
64
|
+
Content-Type: multipart/mixed; boundary="BOUNDARY-DEPTH-18"
|
|
65
|
+
|
|
66
|
+
--BOUNDARY-DEPTH-18
|
|
67
|
+
Content-Type: multipart/mixed; boundary="BOUNDARY-DEPTH-19"
|
|
68
|
+
|
|
69
|
+
--BOUNDARY-DEPTH-19
|
|
70
|
+
Content-Type: multipart/mixed; boundary="BOUNDARY-DEPTH-20"
|
|
71
|
+
|
|
72
|
+
--BOUNDARY-DEPTH-20
|
|
73
|
+
Content-Description: Notification
|
|
74
|
+
Content-Type: text/plain
|
|
75
|
+
|
|
76
|
+
This is the Postfix program at host e4.example.com.
|
|
77
|
+
|
|
78
|
+
I'm sorry to have to inform you that the message returned
|
|
79
|
+
below could not be delivered to one or more destinations.
|
|
80
|
+
|
|
81
|
+
For further assistance, please contact <postmaster@e4.example.com>
|
|
82
|
+
|
|
83
|
+
If you do so, please include this problem report. You can
|
|
84
|
+
delete your own text from the message returned below.
|
|
85
|
+
|
|
86
|
+
The Postfix program
|
|
87
|
+
|
|
88
|
+
<kijitora@example.com>: Name service error for domain example.com: Host not
|
|
89
|
+
found, try again
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
--FFFF000020.0000110000/e4.example.com
|
|
93
|
+
Content-Description: Undelivered Message
|
|
94
|
+
Content-Type: message/rfc822
|
|
95
|
+
|
|
96
|
+
Received: by e4.example.com (Postfix, from userid 1)
|
|
97
|
+
id FFFFFFFF55; Thu, 29 Apr 2005 23:34:45 +0000 (UTC)
|
|
98
|
+
MIME-Version: 1.0
|
|
99
|
+
Content-Type: text/plain; charset=us-ascii
|
|
100
|
+
Content-Transfer-Encoding: 7bit
|
|
101
|
+
Message-ID: <ffffffffffffffff000000002@neko.nyaan.example.jp>
|
|
102
|
+
From: Neko <sironeko@example.or.jp>
|
|
103
|
+
Date: Thu, 29 Apr 2005 23:34:45 +0000
|
|
104
|
+
To: Kijitora <kijitora@example.com>
|
|
105
|
+
Subject: Nyaan
|
|
106
|
+
|
|
107
|
+
Nyaan
|
|
108
|
+
|
|
109
|
+
--FFFF000020.0000110000/e4.example.com--
|
|
110
|
+
|
|
111
|
+
--BOUNDARY-DEPTH-20--
|
|
112
|
+
--BOUNDARY-DEPTH-19--
|
|
113
|
+
--BOUNDARY-DEPTH-18--
|
|
114
|
+
--BOUNDARY-DEPTH-17--
|
|
115
|
+
--BOUNDARY-DEPTH-16--
|
|
116
|
+
--BOUNDARY-DEPTH-15--
|
|
117
|
+
--BOUNDARY-DEPTH-14--
|
|
118
|
+
--BOUNDARY-DEPTH-13--
|
|
119
|
+
--BOUNDARY-DEPTH-12--
|
|
120
|
+
--BOUNDARY-DEPTH-11--
|
|
121
|
+
--BOUNDARY-DEPTH-10--
|
|
122
|
+
--BOUNDARY-DEPTH-09--
|
|
123
|
+
--BOUNDARY-DEPTH-08--
|
|
124
|
+
--BOUNDARY-DEPTH-07--
|
|
125
|
+
--BOUNDARY-DEPTH-06--
|
|
126
|
+
--BOUNDARY-DEPTH-05--
|
|
127
|
+
--BOUNDARY-DEPTH-04--
|
|
128
|
+
--BOUNDARY-DEPTH-03--
|
|
129
|
+
--BOUNDARY-DEPTH-02--
|
|
130
|
+
--BOUNDARY-DEPTH-01--
|