sisimai 4.25.14 → 4.25.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog.md +51 -0
- data/README-JA.md +2 -2
- data/README.md +2 -2
- data/lib/sisimai/address.rb +1 -1
- data/lib/sisimai/data.rb +7 -3
- data/lib/sisimai/lhost/facebook.rb +10 -6
- data/lib/sisimai/lhost/googlegroups.rb +1 -2
- data/lib/sisimai/lhost/imailserver.rb +1 -1
- data/lib/sisimai/message.rb +15 -2
- data/lib/sisimai/mime.rb +1 -1
- data/lib/sisimai/reason/blocked.rb +2 -1
- data/lib/sisimai/reason/contenterror.rb +1 -0
- data/lib/sisimai/reason/filtered.rb +1 -0
- data/lib/sisimai/reason/networkerror.rb +1 -0
- data/lib/sisimai/reason/notaccept.rb +1 -0
- data/lib/sisimai/reason/policyviolation.rb +2 -0
- data/lib/sisimai/reason/rejected.rb +5 -0
- data/lib/sisimai/reason/spamdetected.rb +4 -0
- data/lib/sisimai/reason/userunknown.rb +8 -1
- data/lib/sisimai/rfc3464.rb +1 -1
- data/lib/sisimai/rfc3834.rb +0 -2
- data/lib/sisimai/rhost/exchangeonline.rb +711 -142
- data/lib/sisimai/rhost/googleapps.rb +239 -104
- data/lib/sisimai/rhost/mimecast.rb +290 -0
- data/lib/sisimai/rhost/nttdocomo.rb +118 -0
- data/lib/sisimai/rhost.rb +3 -1
- data/lib/sisimai/string.rb +2 -2
- data/lib/sisimai/version.rb +1 -1
- data/set-of-emails/maildir/bsd/rhost-mimecast-01.eml +88 -0
- data/set-of-emails/maildir/bsd/rhost-mimecast-02.eml +90 -0
- data/set-of-emails/maildir/bsd/rhost-nttdocomo-01.eml +62 -0
- data/set-of-emails/maildir/bsd/rhost-nttdocomo-02.eml +89 -0
- data/set-of-emails/maildir/bsd/rhost-nttdocomo-03.eml +79 -0
- metadata +9 -2
@@ -0,0 +1,62 @@
|
|
1
|
+
Return-Path: <MAILER-DAEMON@nijo.example.jp>
|
2
|
+
Received: from localhost (localhost)
|
3
|
+
by nijo.example.jp (V8/cf) id 2A18Nuql028789;
|
4
|
+
Tue, 1 Nov 2022 17:23:56 +0900
|
5
|
+
Date: Tue, 1 Nov 2022 17:23:56 +0900
|
6
|
+
From: Mail Delivery Subsystem <poostmaster@example.jp>
|
7
|
+
Message-Id: <202211010823.2A18Nuql028789@nijo.example.jp>
|
8
|
+
To: <le@example.jp>
|
9
|
+
MIME-Version: 1.0
|
10
|
+
Content-Type: multipart/report; report-type=delivery-status;
|
11
|
+
boundary="2A18Nuql028789.1667291036/nijo.example.jp"
|
12
|
+
Subject: Returned mail: see transcript for details
|
13
|
+
Auto-Submitted: auto-generated (failure)
|
14
|
+
|
15
|
+
This is a MIME-encapsulated message
|
16
|
+
|
17
|
+
--2A18Nuql028789.1667291036/nijo.example.jp
|
18
|
+
|
19
|
+
The original message was received at Tue, 1 Nov 2022 17:23:25 +0900
|
20
|
+
from localhost [127.0.0.1]
|
21
|
+
|
22
|
+
----- The following addresses had permanent fatal errors -----
|
23
|
+
<azumakuniyuki@ntt.docomo.example.ne.jp>
|
24
|
+
(reason: 550 Unknown user azumakuniyuki@ntt.docomo.example.ne.jp)
|
25
|
+
|
26
|
+
----- Transcript of session follows -----
|
27
|
+
... while talking to mfsmax.docomo.ne.jp.:
|
28
|
+
>>> DATA
|
29
|
+
<<< 550 Unknown user azumakuniyuki@ntt.docomo.example.ne.jp
|
30
|
+
554 5.0.0 Service unavailable
|
31
|
+
|
32
|
+
--2A18Nuql028789.1667291036/nijo.example.jp
|
33
|
+
Content-Type: message/delivery-status
|
34
|
+
|
35
|
+
Reporting-MTA: dns; nijo.example.jp
|
36
|
+
Received-From-MTA: DNS; localhost
|
37
|
+
Arrival-Date: Tue, 1 Nov 2022 17:23:25 +0900
|
38
|
+
|
39
|
+
Final-Recipient: RFC822; azumakuniyuki@ntt.docomo.example.ne.jp
|
40
|
+
Action: failed
|
41
|
+
Status: 5.2.0
|
42
|
+
Remote-MTA: DNS; mfsmax.docomo.ne.jp
|
43
|
+
Diagnostic-Code: SMTP; 550 Unknown user azumakuniyuki@ntt.docomo.example.ne.jp
|
44
|
+
Last-Attempt-Date: Tue, 1 Nov 2022 17:23:56 +0900
|
45
|
+
|
46
|
+
--2A18Nuql028789.1667291036/nijo.example.jp
|
47
|
+
Content-Type: message/rfc822
|
48
|
+
|
49
|
+
Return-Path: <le@example.jp>
|
50
|
+
Received: from [127.0.0.1] (localhost [127.0.0.1])
|
51
|
+
by nijo.example.jp (V8/cf) with ESMTP id 2A18N1ql028769
|
52
|
+
for <azumakuniyuki@ntt.docomo.example.ne.jp>; Tue, 1 Nov 2022 17:23:25 +0900
|
53
|
+
Date: Tue, 1 Nov 2022 17:23:01 +0900
|
54
|
+
Message-Id: <202211010823.2A18N1ql028769@nijo.example.jp>
|
55
|
+
Subject: TEST FROM NIJO(1)
|
56
|
+
To: azumakuniyuki@ntt.docomo.example.ne.jp
|
57
|
+
From: le@example.jp
|
58
|
+
|
59
|
+
TEST(2)
|
60
|
+
|
61
|
+
--2A18Nuql028789.1667291036/nijo.example.jp--
|
62
|
+
|
@@ -0,0 +1,89 @@
|
|
1
|
+
Return-Path: <>
|
2
|
+
Received: from mbox.example.jp (6j.example.jp [192.0.2.12])
|
3
|
+
by nijo.example.jp (V8/cf) with ESMTP id 2A1G9IPF003550
|
4
|
+
for <kijitora@example.jp>; Wed, 2 Nov 2022 01:09:18 +0900
|
5
|
+
Received: by mbox.example.jp (Postfix)
|
6
|
+
id 4N1w263TMDz1wYtp; Wed, 2 Nov 2022 01:09:18 +0900 (JST)
|
7
|
+
Date: Wed, 2 Nov 2022 01:09:18 +0900 (JST)
|
8
|
+
From: MAILER-DAEMON@mbox.example.jp (Mail Delivery System)
|
9
|
+
Subject: Undelivered Mail Returned to Sender
|
10
|
+
To: kijitora@example.jp
|
11
|
+
Auto-Submitted: auto-replied
|
12
|
+
MIME-Version: 1.0
|
13
|
+
Content-Type: multipart/report; report-type=delivery-status;
|
14
|
+
boundary="4N1w261vJbz1wYv9.1667318958/mbox.example.jp"
|
15
|
+
Message-Id: <4N1w263TMDz1wYtp@mbox.example.jp>
|
16
|
+
|
17
|
+
This is a MIME-encapsulated message.
|
18
|
+
|
19
|
+
--4N1w261vJbz1wYv9.1667318958/mbox.example.jp
|
20
|
+
Content-Description: Notification
|
21
|
+
Content-Type: text/plain; charset=us-ascii
|
22
|
+
|
23
|
+
This is the mail system at host mbox.example.jp.
|
24
|
+
|
25
|
+
I'm sorry to have to inform you that your message could not
|
26
|
+
be delivered to one or more recipients. It's attached below.
|
27
|
+
|
28
|
+
For further assistance, please send mail to postmaster.
|
29
|
+
|
30
|
+
If you do so, please include this problem report. You can
|
31
|
+
delete your own text from the attached returned message.
|
32
|
+
|
33
|
+
The mail system
|
34
|
+
|
35
|
+
<azumakuniyuki@ntt.docomo.example.ne.jp>: host mfsmax.docomo.ne.jp[203.138.181.240] said:
|
36
|
+
550 Unknown user azumakuniyuki@ntt.docomo.example.ne.jp (in reply to end of DATA
|
37
|
+
command)
|
38
|
+
|
39
|
+
--4N1w261vJbz1wYv9.1667318958/mbox.example.jp
|
40
|
+
Content-Description: Delivery report
|
41
|
+
Content-Type: message/delivery-status
|
42
|
+
|
43
|
+
Reporting-MTA: dns; mbox.example.jp
|
44
|
+
X-Postfix-Queue-ID: 4N1w261vJbz1wYv9
|
45
|
+
X-Postfix-Sender: rfc822; kijitora@example.jp
|
46
|
+
Arrival-Date: Wed, 2 Nov 2022 01:09:18 +0900 (JST)
|
47
|
+
|
48
|
+
Final-Recipient: rfc822; azumakuniyuki@ntt.docomo.example.ne.jp
|
49
|
+
Original-Recipient: rfc822;azumakuniyuki@ntt.docomo.example.ne.jp
|
50
|
+
Action: failed
|
51
|
+
Status: 5.0.0
|
52
|
+
Remote-MTA: dns; mfsmax.docomo.ne.jp
|
53
|
+
Diagnostic-Code: smtp; 550 Unknown user azumakuniyuki@ntt.docomo.example.ne.jp
|
54
|
+
|
55
|
+
--4N1w261vJbz1wYv9.1667318958/mbox.example.jp
|
56
|
+
Content-Description: Undelivered Message
|
57
|
+
Content-Type: message/rfc822
|
58
|
+
|
59
|
+
Return-Path: <kijitora@example.jp>
|
60
|
+
Received: from mbox.example.jp (localhost [127.0.0.1])
|
61
|
+
by mbox.example.jp (Postfix) with ESMTP id 4N1w261vJbz1wYv9
|
62
|
+
for <azumakuniyuki@ntt.docomo.example.ne.jp>; Wed, 2 Nov 2022 01:09:18 +0900 (JST)
|
63
|
+
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=example.jp;
|
64
|
+
s=nekochan; t=1667318958;
|
65
|
+
bh=Rcw09b0VqpSsRy3duiZI5bXVf5Zz0hewV7vRzHCVJtw=;
|
66
|
+
h=From:Subject:Date:To:From;
|
67
|
+
b=ChN9gLs+vvYZLRCAxMyvjlM3RzW95tHMBEfD9jxScvqmCrQLLUettVRJSRNXqSipr
|
68
|
+
upfnU+QoGWbqbrNEKFrxatZrDNyHSspWCd29nBbbLteV92RxVw2kX8Wb9rltRf6lRN
|
69
|
+
jUy+ANmVMvFOqVKvDRJi/JcvpHz12mL5JqRLUI04zi0OSljIS87KFHCUd+FdHeysez
|
70
|
+
+ezc42Yw6y44VF7ptXBEP0WQ/+p+uCnrMVyMGzCeVvv8X6lr/BBiVdIMJBfXcLRid4
|
71
|
+
dACf0Kuob5cdCsJ37JeY5FT/3SzlO+Ia6xR4lXGnI5b5RMuURq7LHb9LU/mgQb19Lf
|
72
|
+
8cuI2XYTOA7WQ==
|
73
|
+
Received: from smtpclient.apple (p22.kyoto.example.ad.jp [192.0.2.254])
|
74
|
+
by mbox.example.jp (Postfix) with ESMTPSA id 4N1w256Ccdz1wYtp
|
75
|
+
for <azumakuniyuki@ntt.docomo.example.ne.jp>; Wed, 2 Nov 2022 01:09:17 +0900 (JST)
|
76
|
+
From: "Neko, Nyaan" <kijitora@example.jp>
|
77
|
+
Content-Type: text/plain;
|
78
|
+
charset=utf-8
|
79
|
+
Content-Transfer-Encoding: quoted-printable
|
80
|
+
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\))
|
81
|
+
Subject: Nyaan
|
82
|
+
Message-Id: <E7C0BEB1-BA8B-4639-B37B-A8D4A8494900@example.jp>
|
83
|
+
Date: Wed, 2 Nov 2022 01:09:17 +0900
|
84
|
+
To: azumakuniyuki@ntt.docomo.example.ne.jp
|
85
|
+
X-Mailer: Apple Mail (2.3696.100.31)
|
86
|
+
X-Virus-Scanned: ClamAV using ClamSMTP
|
87
|
+
|
88
|
+
|
89
|
+
--4N1w261vJbz1wYv9.1667318958/mbox.example.jp--
|
@@ -0,0 +1,79 @@
|
|
1
|
+
Return-Path: <>
|
2
|
+
X-Original-To: sabatora@libsisimai.org
|
3
|
+
Delivered-To: sabatora@libsisimai.org
|
4
|
+
Received: from mbox.example.jp (localhost [127.0.0.1])
|
5
|
+
by mbox.example.jp (Postfix) with ESMTP id 4N1jYH5mF8z1wYv2
|
6
|
+
for <sabatora@libsisimai.org>; Tue, 1 Nov 2022 17:17:07 +0900 (JST)
|
7
|
+
Received: from 4j.example.jp (4j.example.jp [192.0.2.45])
|
8
|
+
by mbox.example.jp (Postfix) with ESMTP id 4N1jYH4vf9z1wYtp
|
9
|
+
for <sabatora@libsisimai.org>; Tue, 1 Nov 2022 17:17:07 +0900 (JST)
|
10
|
+
Authentication-Results: mbox.example.jp; dmarc=none (p=none dis=none) header.from=4j.example.jp
|
11
|
+
Authentication-Results: mbox.example.jp; spf=pass smtp.helo=4j.example.jp
|
12
|
+
Received: by 4j.example.jp (Postfix)
|
13
|
+
id 5619AC00844; Tue, 1 Nov 2022 17:17:21 +0900 (JST)
|
14
|
+
Date: Tue, 1 Nov 2022 17:17:21 +0900 (JST)
|
15
|
+
From: MAILER-DAEMON@4j.example.jp (Mail Delivery System)
|
16
|
+
Subject: Undelivered Mail Returned to Sender
|
17
|
+
To: sabatora@libsisimai.org
|
18
|
+
Auto-Submitted: auto-replied
|
19
|
+
MIME-Version: 1.0
|
20
|
+
Content-Type: multipart/report; report-type=delivery-status;
|
21
|
+
boundary="18E1AC6C55C.1667290641/4j.example.jp"
|
22
|
+
Message-Id: <20221101081721.5619AC00844@4j.example.jp>
|
23
|
+
X-Virus-Scanned: ClamAV using ClamSMTP
|
24
|
+
|
25
|
+
This is a MIME-encapsulated message.
|
26
|
+
|
27
|
+
--18E1AC6C55C.1667290641/4j.example.jp
|
28
|
+
Content-Description: Notification
|
29
|
+
Content-Type: text/plain; charset=us-ascii
|
30
|
+
|
31
|
+
This is the mail system at host 4j.example.jp.
|
32
|
+
|
33
|
+
I'm sorry to have to inform you that your message could not
|
34
|
+
be delivered to one or more recipients. It's attached below.
|
35
|
+
|
36
|
+
For further assistance, please send mail to postmaster.
|
37
|
+
|
38
|
+
If you do so, please include this problem report. You can
|
39
|
+
delete your own text from the attached returned message.
|
40
|
+
|
41
|
+
The mail system
|
42
|
+
|
43
|
+
<azumakuniyuki@ntt.docomo.example.ne.jp>: host mfsmax.docomo.ne.jp[203.138.180.240] said:
|
44
|
+
550 Unknown user azumakuniyuki@ntt.docomo.example.ne.jp (in reply to end of DATA
|
45
|
+
command)
|
46
|
+
|
47
|
+
--18E1AC6C55C.1667290641/4j.example.jp
|
48
|
+
Content-Description: Delivery report
|
49
|
+
Content-Type: message/delivery-status
|
50
|
+
|
51
|
+
Reporting-MTA: dns; 4j.example.jp
|
52
|
+
X-Postfix-Queue-ID: 18E1AC6C55C
|
53
|
+
X-Postfix-Sender: rfc822; sabatora@libsisimai.org
|
54
|
+
Arrival-Date: Tue, 1 Nov 2022 17:16:42 +0900 (JST)
|
55
|
+
|
56
|
+
Final-Recipient: rfc822; azumakuniyuki@ntt.docomo.example.ne.jp
|
57
|
+
Original-Recipient: rfc822;azumakuniyuki@ntt.docomo.example.ne.jp
|
58
|
+
Action: failed
|
59
|
+
Status: 5.0.0
|
60
|
+
Remote-MTA: dns; mfsmax.docomo.ne.jp
|
61
|
+
Diagnostic-Code: smtp; 550 Unknown user azumakuniyuki@ntt.docomo.example.ne.jp
|
62
|
+
|
63
|
+
--18E1AC6C55C.1667290641/4j.example.jp
|
64
|
+
Content-Description: Undelivered Message
|
65
|
+
Content-Type: message/rfc822
|
66
|
+
|
67
|
+
Return-Path: <sabatora@libsisimai.org>
|
68
|
+
Received: from [127.0.0.1] (localhost [127.0.0.1])
|
69
|
+
by 4j.example.jp (Postfix) with ESMTP id 18E1AC6C55C
|
70
|
+
for <azumakuniyuki@ntt.docomo.example.ne.jp>; Tue, 1 Nov 2022 17:16:42 +0900 (JST)
|
71
|
+
Subject: Nyaan
|
72
|
+
From: sabatora@libsisimai.org
|
73
|
+
To: azumakuniyuki@ntt.docomo.example.ne.jp
|
74
|
+
Message-Id: <20221101081656.18E1AC6C55C@4j.example.jp>
|
75
|
+
Date: Tue, 1 Nov 2022 17:16:42 +0900 (JST)
|
76
|
+
|
77
|
+
TEST(1)
|
78
|
+
|
79
|
+
--18E1AC6C55C.1667290641/4j.example.jp--
|
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.25.
|
4
|
+
version: 4.25.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- azumakuniyuki
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -207,6 +207,8 @@ files:
|
|
207
207
|
- lib/sisimai/rhost/googleapps.rb
|
208
208
|
- lib/sisimai/rhost/iua.rb
|
209
209
|
- lib/sisimai/rhost/kddi.rb
|
210
|
+
- lib/sisimai/rhost/mimecast.rb
|
211
|
+
- lib/sisimai/rhost/nttdocomo.rb
|
210
212
|
- lib/sisimai/rhost/spectrum.rb
|
211
213
|
- lib/sisimai/rhost/tencentqq.rb
|
212
214
|
- lib/sisimai/smtp.rb
|
@@ -721,6 +723,11 @@ files:
|
|
721
723
|
- set-of-emails/maildir/bsd/rhost-iua-01.eml
|
722
724
|
- set-of-emails/maildir/bsd/rhost-kddi-01.eml
|
723
725
|
- set-of-emails/maildir/bsd/rhost-kddi-02.eml
|
726
|
+
- set-of-emails/maildir/bsd/rhost-mimecast-01.eml
|
727
|
+
- set-of-emails/maildir/bsd/rhost-mimecast-02.eml
|
728
|
+
- set-of-emails/maildir/bsd/rhost-nttdocomo-01.eml
|
729
|
+
- set-of-emails/maildir/bsd/rhost-nttdocomo-02.eml
|
730
|
+
- set-of-emails/maildir/bsd/rhost-nttdocomo-03.eml
|
724
731
|
- set-of-emails/maildir/bsd/rhost-spectrum-01.eml
|
725
732
|
- set-of-emails/maildir/bsd/rhost-tencentqq-01.eml
|
726
733
|
- set-of-emails/maildir/bsd/rhost-tencentqq-02.eml
|