sisimai 5.0.1 → 5.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/codecovio.yml +33 -0
- data/.github/workflows/rake-test.yml +54 -0
- data/ChangeLog.md +55 -0
- data/Gemfile +2 -0
- data/README-JA.md +14 -14
- data/README.md +15 -16
- data/lib/sisimai/arf.rb +24 -5
- data/lib/sisimai/fact.rb +46 -8
- data/lib/sisimai/lhost/amazonses.rb +0 -1
- data/lib/sisimai/lhost/amazonworkmail.rb +0 -1
- data/lib/sisimai/lhost/aol.rb +0 -1
- data/lib/sisimai/lhost/bigfoot.rb +0 -1
- data/lib/sisimai/lhost/domino.rb +0 -1
- data/lib/sisimai/lhost/exchange2007.rb +1 -1
- data/lib/sisimai/lhost/exim.rb +7 -16
- data/lib/sisimai/lhost/facebook.rb +0 -1
- data/lib/sisimai/lhost/googlegroups.rb +2 -1
- data/lib/sisimai/lhost/gsuite.rb +0 -1
- data/lib/sisimai/lhost/mailmarshalsmtp.rb +1 -1
- data/lib/sisimai/lhost/mailru.rb +8 -17
- data/lib/sisimai/lhost/messagelabs.rb +0 -1
- data/lib/sisimai/lhost/mfilter.rb +1 -1
- data/lib/sisimai/lhost/mxlogic.rb +8 -18
- data/lib/sisimai/lhost/office365.rb +1 -1
- data/lib/sisimai/lhost/outlook.rb +0 -1
- data/lib/sisimai/lhost/postfix.rb +0 -1
- data/lib/sisimai/lhost/receivingses.rb +0 -1
- data/lib/sisimai/lhost/sendgrid.rb +1 -3
- data/lib/sisimai/lhost/sendmail.rb +0 -1
- data/lib/sisimai/lhost/yandex.rb +0 -1
- data/lib/sisimai/message.rb +14 -5
- data/lib/sisimai/reason/authfailure.rb +1 -0
- data/lib/sisimai/reason/blocked.rb +3 -0
- data/lib/sisimai/reason/expired.rb +8 -0
- data/lib/sisimai/reason/filtered.rb +1 -0
- data/lib/sisimai/reason/mailboxfull.rb +4 -0
- data/lib/sisimai/reason/norelaying.rb +1 -0
- data/lib/sisimai/reason/rejected.rb +1 -1
- data/lib/sisimai/reason/securityerror.rb +1 -0
- data/lib/sisimai/reason/spamdetected.rb +1 -0
- data/lib/sisimai/reason/suspend.rb +5 -0
- data/lib/sisimai/reason/userunknown.rb +4 -1
- data/lib/sisimai/rfc5322.rb +120 -64
- data/lib/sisimai/rhost/google.rb +82 -67
- data/lib/sisimai/rhost/microsoft.rb +8 -0
- data/lib/sisimai/rhost/mimecast.rb +9 -2
- data/lib/sisimai/rhost/nttdocomo.rb +3 -3
- data/lib/sisimai/version.rb +1 -1
- data/set-of-emails/maildir/bsd/arf-26.eml +27 -0
- data/set-of-emails/maildir/bsd/lhost-sendmail-60.eml +85 -0
- data/set-of-emails/maildir/bsd/rhost-microsoft-04.eml +86 -0
- data/set-of-emails/maildir/bsd/rhost-microsoft-05.eml +83 -0
- metadata +8 -3
- data/.travis.yml +0 -23
@@ -0,0 +1,86 @@
|
|
1
|
+
Return-Path: <>
|
2
|
+
X-Original-To: neko@example.jp
|
3
|
+
Delivered-To: return@example.jp
|
4
|
+
Received: from relay1.example.ne.jp (ip-10-25-26-27.ip-block.example.net [10.25.26.27])
|
5
|
+
by mx1.example.jp (Postfix) with ESMTPS id KF65BTjb2jzpq4Pk
|
6
|
+
for <neko@example.jp>; Thu, 29 Apr 2024 23:34:45 +0900 (JST)
|
7
|
+
Received: from localhost (localhost)
|
8
|
+
by relay1.example.ne.jp (8.17.2/8.17.2) id gWjKPD2i071354;
|
9
|
+
Thu, 29 Apr 2024 23:34:45 +0900 (JST)
|
10
|
+
(envelope-from MAILER-DAEMON)
|
11
|
+
MIME-Version: 1.0
|
12
|
+
Date: Thu, 29 Apr 2024 23:34:45 +0900 (JST)
|
13
|
+
From: Mail Delivery Subsystem <MAILER-DAEMON@relay1.example.ne.jp>
|
14
|
+
To: <neko@example.jp>
|
15
|
+
Message-Id: <20240429233445.gWjKPD2i071354@relay1.example.ne.jp>
|
16
|
+
Content-Type: multipart/report; report-type=delivery-status;
|
17
|
+
boundary="gWjKPD2i071354.1423881060/relay1.example.ne.jp"
|
18
|
+
Subject: Returned mail: see transcript for details
|
19
|
+
Auto-Submitted: auto-generated (failure)
|
20
|
+
|
21
|
+
This is a MIME-encapsulated message
|
22
|
+
|
23
|
+
--gWjKPD2i071354.1423881060/relay1.example.ne.jp
|
24
|
+
|
25
|
+
The original message was received at Thu, 29 Apr 2024 23:34:45 +0900 (JST)
|
26
|
+
from localhost [127.0.0.1]
|
27
|
+
|
28
|
+
----- The following addresses had permanent fatal errors -----
|
29
|
+
<pseudo-local-part-of-microsoft@outlook.com>
|
30
|
+
(reason: 550 5.7.509 Access denied, sending domain [EXAMPLE.JP] does not pass DMARC verification and has a D...E22] [JUTN0NNV051736.eop-eur22.prod.protection.outlook.com 2024-04-29T23:34:45.000Z K2TP4MV8R6ZF2XN2])
|
31
|
+
|
32
|
+
----- Transcript of session follows -----
|
33
|
+
... while talking to apc.olc.protection.outlook.com.:
|
34
|
+
>>> DATA
|
35
|
+
<<< 550 5.7.509 Access denied, sending domain [EXAMPLE.JP] does not pass DMARC verification and has a DMARC policy of reject. [7FQL1BDY0XZ5XGTW.JPNP222.PROD.OUTLOOK.COM 2024-04-29T23:34:45.000Z NG5X6YLY2QZK8T7B] [VB0JMRQKNLZPTQMN.eurprd06.prod.outlook.com 2024-04-29T23:34:45.000Z HTTZYWCWHTZK8F8N] [JUTN0NNV051736.eop-eur22.prod.protection.outlook.com 2024-04-29T23:34:45.000Z K2TP4MV8R6ZF2XN2]
|
36
|
+
554 5.0.0 Service unavailable
|
37
|
+
|
38
|
+
--gWjKPD2i071354.1423881060/relay1.example.ne.jp
|
39
|
+
Content-Type: message/delivery-status
|
40
|
+
|
41
|
+
Reporting-MTA: dns; relay1.example.ne.jp
|
42
|
+
Received-From-MTA: DNS; localhost
|
43
|
+
Arrival-Date: Thu, 29 Apr 2024 23:34:45 +0900 (JST)
|
44
|
+
|
45
|
+
Final-Recipient: RFC822; pseudo-local-part-of-microsoft@outlook.com
|
46
|
+
X-Actual-Recipient: rfc822; pseudo-local-part-of-microsoft@outlook.com
|
47
|
+
Action: failed
|
48
|
+
Status: 5.7.509
|
49
|
+
Remote-MTA: DNS; apc.olc.protection.outlook.com
|
50
|
+
Diagnostic-Code: SMTP; 550 5.7.509 Access denied, sending domain [EXAMPLE.JP] does not pass DMARC verification and has a DMARC policy of reject. [7FQL1BDY0XZ5XGTW.JPNP222.PROD.OUTLOOK.COM 2024-04-29T23:34:45.000Z NG5X6YLY2QZK8T7B] [VB0JMRQKNLZPTQMN.eurprd06.prod.outlook.com 2024-04-29T23:34:45.000Z HTTZYWCWHTZK8F8N] [JUTN0NNV051736.eop-eur22.prod.protection.outlook.com 2024-04-29T23:34:45.000Z K2TP4MV8R6ZF2XN2]
|
51
|
+
Last-Attempt-Date: Thu, 29 Apr 2024 23:34:45 +0900 (JST)
|
52
|
+
|
53
|
+
--gWjKPD2i071354.1423881060/relay1.example.ne.jp
|
54
|
+
Content-Type: message/rfc822
|
55
|
+
|
56
|
+
Return-Path: <neko@example.jp>
|
57
|
+
Received: from relay1.example.ne.jp (localhost [127.0.0.1])
|
58
|
+
by relay1.example.ne.jp (8.17.2/8.17.2) with ESMTP id YQKNBhqe049695
|
59
|
+
for <pseudo-local-part-of-microsoft@outlook.com>; Thu, 29 Apr 2024 23:34:45 +0900 (JST)
|
60
|
+
(envelope-from neko@example.jp)
|
61
|
+
Received: (from neko-nyaan-cat@localhost)
|
62
|
+
by relay1.example.ne.jp (8.17.2/8.17.2/Submit) id J05hAdU8018709
|
63
|
+
for pseudo-local-part-of-microsoft@outlook.com; Thu, 29 Apr 2024 23:34:45 +0900 (JST)
|
64
|
+
(envelope-from neko@example.jp)
|
65
|
+
Received: from relay0.example.jp (relay0.example.jp [192.0.2.25])
|
66
|
+
by relay1.example.ne.jp (8.17.2/8.17.2) with ESMTPS id Ufhljuhn061193
|
67
|
+
(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO)
|
68
|
+
for <kijitora@example.co.jp>; Thu, 29 Apr 2024 23:34:45 +0900 (JST)
|
69
|
+
(envelope-from neko@example.jp)
|
70
|
+
Received: from MTA1 (unknown [10.9.8.7])
|
71
|
+
by relay0.example.jp (Postfix) with ESMTP id Mgt61KRzl7zjTNcc
|
72
|
+
for <kijitora@example.co.jp>; Thu, 29 Apr 2024 23:34:45 +0900 (JST)
|
73
|
+
From: <neko@example.jp>
|
74
|
+
To: "Kijitora, Cat" <kijitora@example.co.jp>
|
75
|
+
Reply-To: sironeko@cat.example.org
|
76
|
+
Date: 29 Apr 2024 23:34:45 +0900
|
77
|
+
Subject: Nyaaaaan
|
78
|
+
MIME-Version: 1.0
|
79
|
+
Content-Type: text/plain; charset=iso-2022-jp
|
80
|
+
Message-Id: <Mgt61KRzl7zjTNcc@relay0.example.jp>
|
81
|
+
Content-Transfer-Encoding: 8bit
|
82
|
+
|
83
|
+
Nyaan?
|
84
|
+
|
85
|
+
--gWjKPD2i071354.1423881060/relay1.example.ne.jp--
|
86
|
+
|
@@ -0,0 +1,83 @@
|
|
1
|
+
Return-Path: <>
|
2
|
+
X-Original-To: kijitora@example.jp
|
3
|
+
Delivered-To: return@example.jp
|
4
|
+
Received: from relay0.example.jp (relay0 [10.25.26.27])
|
5
|
+
by relay1.example.jp (Postfix) with ESMTPS id nhpzScP2kkzDgQ8L
|
6
|
+
for <kijitora@example.jp>; Thu, 9 May 2024 23:34:45 +0900 (JST)
|
7
|
+
Received: by relay0.example.jp (Postfix)
|
8
|
+
id 9ltCcYNCJ4zblqrq; Thu, 9 May 2024 23:34:45 +0900 (JST)
|
9
|
+
Date: Thu, 9 May 2024 23:34:45 +0900 (JST)
|
10
|
+
From: MAILER-DAEMON@relay0.example.jp (Mail Delivery System)
|
11
|
+
To: kijitora@example.jp
|
12
|
+
Subject: Undelivered Mail Returned to Sender
|
13
|
+
Message-Id: <9ltCcYNCJ4zblqrq@relay0.example.jp>
|
14
|
+
Auto-Submitted: auto-replied
|
15
|
+
MIME-Version: 1.0
|
16
|
+
Content-Type: multipart/report; report-type=delivery-status;
|
17
|
+
boundary="WpZGzDpcy1zw5NGv.1098352336/relay0.example.jp"
|
18
|
+
|
19
|
+
This is a MIME-encapsulated message.
|
20
|
+
|
21
|
+
--WpZGzDpcy1zw5NGv.1098352336/relay0.example.jp
|
22
|
+
Content-Description: Notification
|
23
|
+
Content-Type: text/plain; charset=us-ascii
|
24
|
+
|
25
|
+
This is the mail system at host relay0.example.jp.
|
26
|
+
|
27
|
+
I'm sorry to have to inform you that your message could not
|
28
|
+
be delivered to one or more recipients. It's attached below.
|
29
|
+
|
30
|
+
For further assistance, please send mail to postmaster.
|
31
|
+
|
32
|
+
If you do so, please include this problem report. You can
|
33
|
+
delete your own text from the attached returned message.
|
34
|
+
|
35
|
+
The mail system
|
36
|
+
|
37
|
+
<pseudo-local-part-of-microsoft@outlook.com>: host
|
38
|
+
outlook-com.olc.protection.outlook.com[52.101.68.1] said: 451 4.7.650 The
|
39
|
+
mail server [192.0.2.25] has been temporarily rate limited due to IP
|
40
|
+
reputation. For e-mail delivery information, see
|
41
|
+
https://postmaster.live.com (S3113)
|
42
|
+
[5NY1SSJFSTZJRJBG.eurprd02.prod.outlook.com 2024-05-09T23:34:45.000Z
|
43
|
+
GLXTWVLGZHZNHVXY] (in reply to MAIL FROM command)
|
44
|
+
|
45
|
+
--WpZGzDpcy1zw5NGv.1098352336/relay0.example.jp
|
46
|
+
Content-Description: Delivery report
|
47
|
+
Content-Type: message/delivery-status
|
48
|
+
|
49
|
+
Reporting-MTA: dns; relay0.example.jp
|
50
|
+
X-Postfix-Queue-ID: WpZGzDpcy1zw5NGv
|
51
|
+
X-Postfix-Sender: rfc822; kijitora@example.jp
|
52
|
+
Arrival-Date: Thu, 9 May 2024 23:34:45 +0900 (JST)
|
53
|
+
|
54
|
+
Final-Recipient: rfc822; pseudo-local-part-of-microsoft@outlook.com
|
55
|
+
Original-Recipient: rfc822;pseudo-local-part-of-microsoft@outlook.com
|
56
|
+
Action: failed
|
57
|
+
Status: 4.7.650
|
58
|
+
Remote-MTA: dns; outlook-com.olc.protection.outlook.com
|
59
|
+
Diagnostic-Code: smtp; 451 4.7.650 The mail server [192.0.2.25] has been
|
60
|
+
temporarily rate limited due to IP reputation. For e-mail delivery
|
61
|
+
information, see https://postmaster.live.com (S3113)
|
62
|
+
[5NY1SSJFSTZJRJBG.eurprd02.prod.outlook.com 2024-05-09T23:34:45.000Z
|
63
|
+
GLXTWVLGZHZNHVXY]
|
64
|
+
|
65
|
+
--WpZGzDpcy1zw5NGv.1098352336/relay0.example.jp
|
66
|
+
Content-Description: Undelivered Message
|
67
|
+
Content-Type: message/rfc822
|
68
|
+
|
69
|
+
Return-Path: <kijitora@example.jp>
|
70
|
+
Received: from mailhub1.example.jp (unknown [10.9.8.7])
|
71
|
+
by relay0.example.jp (Postfix) with ESMTP id WpZGzDpcy1zw5NGv
|
72
|
+
for <pseudo-local-part-of-microsoft@outlook.com>; Thu, 9 May 2024 23:34:45 +0900 (JST)
|
73
|
+
From: <kijitora@example.jp>
|
74
|
+
To: <pseudo-local-part-of-microsoft@outlook.com>
|
75
|
+
Date: 9 May 2024 23:34:45 +0900
|
76
|
+
Message-Id: <WpZGzDpcy1zw5NGv@relay0.example.jp>
|
77
|
+
Subject: Nyaan
|
78
|
+
MIME-Version: 1.0
|
79
|
+
Content-Type: text/plain; charset=iso-2022-jp
|
80
|
+
|
81
|
+
Nyaan?
|
82
|
+
|
83
|
+
--WpZGzDpcy1zw5NGv.1098352336/relay0.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: 5.0.
|
4
|
+
version: 5.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- azumakuniyuki
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -74,9 +74,10 @@ executables: []
|
|
74
74
|
extensions: []
|
75
75
|
extra_rdoc_files: []
|
76
76
|
files:
|
77
|
+
- ".github/workflows/codecovio.yml"
|
78
|
+
- ".github/workflows/rake-test.yml"
|
77
79
|
- ".gitignore"
|
78
80
|
- ".rubocop.yml"
|
79
|
-
- ".travis.yml"
|
80
81
|
- ANALYTICAL-PRECISION
|
81
82
|
- Benchmarks.mk
|
82
83
|
- CONTRIBUTING
|
@@ -244,6 +245,7 @@ files:
|
|
244
245
|
- set-of-emails/maildir/bsd/arf-23.eml
|
245
246
|
- set-of-emails/maildir/bsd/arf-24.eml
|
246
247
|
- set-of-emails/maildir/bsd/arf-25.eml
|
248
|
+
- set-of-emails/maildir/bsd/arf-26.eml
|
247
249
|
- set-of-emails/maildir/bsd/lhost-activehunter-01.eml
|
248
250
|
- set-of-emails/maildir/bsd/lhost-activehunter-02.eml
|
249
251
|
- set-of-emails/maildir/bsd/lhost-amavis-01.eml
|
@@ -640,6 +642,7 @@ files:
|
|
640
642
|
- set-of-emails/maildir/bsd/lhost-sendmail-57.eml
|
641
643
|
- set-of-emails/maildir/bsd/lhost-sendmail-58.eml
|
642
644
|
- set-of-emails/maildir/bsd/lhost-sendmail-59.eml
|
645
|
+
- set-of-emails/maildir/bsd/lhost-sendmail-60.eml
|
643
646
|
- set-of-emails/maildir/bsd/lhost-surfcontrol-01.eml
|
644
647
|
- set-of-emails/maildir/bsd/lhost-surfcontrol-02.eml
|
645
648
|
- set-of-emails/maildir/bsd/lhost-surfcontrol-03.eml
|
@@ -744,6 +747,8 @@ files:
|
|
744
747
|
- set-of-emails/maildir/bsd/rhost-microsoft-01.eml
|
745
748
|
- set-of-emails/maildir/bsd/rhost-microsoft-02.eml
|
746
749
|
- set-of-emails/maildir/bsd/rhost-microsoft-03.eml
|
750
|
+
- set-of-emails/maildir/bsd/rhost-microsoft-04.eml
|
751
|
+
- set-of-emails/maildir/bsd/rhost-microsoft-05.eml
|
747
752
|
- set-of-emails/maildir/bsd/rhost-mimecast-01.eml
|
748
753
|
- set-of-emails/maildir/bsd/rhost-mimecast-02.eml
|
749
754
|
- set-of-emails/maildir/bsd/rhost-nttdocomo-01.eml
|
data/.travis.yml
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
rvm:
|
3
|
-
# See http://rubies.travis-ci.org for Precompiled Ruby Versions
|
4
|
-
# - 2.1.1
|
5
|
-
# - 2.2.10
|
6
|
-
# - 2.3.0
|
7
|
-
- 2.4.9
|
8
|
-
# - 2.5.0
|
9
|
-
- 2.6.6
|
10
|
-
- 2.7.0
|
11
|
-
# - jruby-9.0.5.0
|
12
|
-
# - jruby-9.1.9.0
|
13
|
-
before_install:
|
14
|
-
script:
|
15
|
-
- make user-test
|
16
|
-
sudo: false
|
17
|
-
notifications:
|
18
|
-
recipients:
|
19
|
-
- azumakuniyuki+travis-ci.org@gmail.com
|
20
|
-
email:
|
21
|
-
on_success: change
|
22
|
-
on_failure: always
|
23
|
-
|