sisimai 4.24.1-java → 4.25.0-java

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 (155) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +3 -2
  3. data/ANALYTICAL-PRECISION +16 -25
  4. data/ChangeLog.md +41 -0
  5. data/Developers.mk +2 -2
  6. data/README-JA.md +13 -13
  7. data/README.md +13 -13
  8. data/lib/sisimai.rb +3 -7
  9. data/lib/sisimai/address.rb +25 -41
  10. data/lib/sisimai/arf.rb +58 -59
  11. data/lib/sisimai/bite.rb +0 -1
  12. data/lib/sisimai/bite/email.rb +7 -7
  13. data/lib/sisimai/bite/email/activehunter.rb +4 -3
  14. data/lib/sisimai/bite/email/amavis.rb +133 -0
  15. data/lib/sisimai/bite/email/amazonses.rb +53 -87
  16. data/lib/sisimai/bite/email/amazonworkmail.rb +51 -57
  17. data/lib/sisimai/bite/email/aol.rb +50 -76
  18. data/lib/sisimai/bite/email/apachejames.rb +2 -2
  19. data/lib/sisimai/bite/email/bigfoot.rb +47 -74
  20. data/lib/sisimai/bite/email/biglobe.rb +8 -9
  21. data/lib/sisimai/bite/email/courier.rb +56 -101
  22. data/lib/sisimai/bite/email/domino.rb +7 -8
  23. data/lib/sisimai/bite/email/einsundeins.rb +4 -5
  24. data/lib/sisimai/bite/email/exchange2003.rb +21 -22
  25. data/lib/sisimai/bite/email/exchange2007.rb +26 -28
  26. data/lib/sisimai/bite/email/exim.rb +48 -47
  27. data/lib/sisimai/bite/email/ezweb.rb +24 -36
  28. data/lib/sisimai/bite/email/facebook.rb +54 -79
  29. data/lib/sisimai/bite/email/fml.rb +10 -10
  30. data/lib/sisimai/bite/email/gmx.rb +6 -6
  31. data/lib/sisimai/bite/email/google.rb +12 -13
  32. data/lib/sisimai/bite/email/gsuite.rb +80 -108
  33. data/lib/sisimai/bite/email/imailserver.rb +16 -16
  34. data/lib/sisimai/bite/email/interscanmss.rb +4 -6
  35. data/lib/sisimai/bite/email/kddi.rb +9 -11
  36. data/lib/sisimai/bite/email/mailfoundry.rb +2 -2
  37. data/lib/sisimai/bite/email/mailmarshalsmtp.rb +2 -2
  38. data/lib/sisimai/bite/email/mailru.rb +12 -13
  39. data/lib/sisimai/bite/email/mcafee.rb +31 -25
  40. data/lib/sisimai/bite/email/messagelabs.rb +48 -87
  41. data/lib/sisimai/bite/email/messagingserver.rb +9 -10
  42. data/lib/sisimai/bite/email/mfilter.rb +16 -16
  43. data/lib/sisimai/bite/email/mxlogic.rb +11 -11
  44. data/lib/sisimai/bite/email/notes.rb +5 -6
  45. data/lib/sisimai/bite/email/office365.rb +25 -42
  46. data/lib/sisimai/bite/email/opensmtpd.rb +8 -8
  47. data/lib/sisimai/bite/email/outlook.rb +49 -67
  48. data/lib/sisimai/bite/email/postfix.rb +78 -112
  49. data/lib/sisimai/bite/email/qmail.rb +23 -23
  50. data/lib/sisimai/bite/email/receivingses.rb +53 -86
  51. data/lib/sisimai/bite/email/sendgrid.rb +65 -84
  52. data/lib/sisimai/bite/email/sendmail.rb +89 -117
  53. data/lib/sisimai/bite/email/surfcontrol.rb +15 -18
  54. data/lib/sisimai/bite/email/userdefined.rb +1 -1
  55. data/lib/sisimai/bite/email/v5sendmail.rb +3 -4
  56. data/lib/sisimai/bite/email/verizon.rb +7 -8
  57. data/lib/sisimai/bite/email/x1.rb +2 -2
  58. data/lib/sisimai/bite/email/x2.rb +2 -2
  59. data/lib/sisimai/bite/email/x3.rb +3 -3
  60. data/lib/sisimai/bite/email/x4.rb +22 -22
  61. data/lib/sisimai/bite/email/x5.rb +40 -49
  62. data/lib/sisimai/bite/email/yahoo.rb +3 -3
  63. data/lib/sisimai/bite/email/yandex.rb +54 -82
  64. data/lib/sisimai/bite/email/zoho.rb +6 -6
  65. data/lib/sisimai/bite/json/amazonses.rb +20 -20
  66. data/lib/sisimai/bite/json/sendgrid.rb +2 -2
  67. data/lib/sisimai/data.rb +27 -40
  68. data/lib/sisimai/datetime.rb +146 -162
  69. data/lib/sisimai/mda.rb +30 -31
  70. data/lib/sisimai/message/email.rb +83 -123
  71. data/lib/sisimai/message/json.rb +2 -4
  72. data/lib/sisimai/mime.rb +31 -34
  73. data/lib/sisimai/order/email.rb +23 -22
  74. data/lib/sisimai/reason.rb +61 -61
  75. data/lib/sisimai/reason/blocked.rb +139 -135
  76. data/lib/sisimai/reason/contenterror.rb +11 -10
  77. data/lib/sisimai/reason/exceedlimit.rb +4 -4
  78. data/lib/sisimai/reason/expired.rb +20 -20
  79. data/lib/sisimai/reason/filtered.rb +19 -18
  80. data/lib/sisimai/reason/hasmoved.rb +3 -3
  81. data/lib/sisimai/reason/hostunknown.rb +19 -19
  82. data/lib/sisimai/reason/mailboxfull.rb +49 -49
  83. data/lib/sisimai/reason/mailererror.rb +16 -16
  84. data/lib/sisimai/reason/mesgtoobig.rb +17 -17
  85. data/lib/sisimai/reason/networkerror.rb +19 -19
  86. data/lib/sisimai/reason/norelaying.rb +16 -16
  87. data/lib/sisimai/reason/notaccept.rb +9 -10
  88. data/lib/sisimai/reason/onhold.rb +1 -1
  89. data/lib/sisimai/reason/policyviolation.rb +21 -20
  90. data/lib/sisimai/reason/rejected.rb +53 -53
  91. data/lib/sisimai/reason/securityerror.rb +29 -29
  92. data/lib/sisimai/reason/spamdetected.rb +127 -127
  93. data/lib/sisimai/reason/suspend.rb +17 -17
  94. data/lib/sisimai/reason/systemerror.rb +22 -21
  95. data/lib/sisimai/reason/systemfull.rb +6 -6
  96. data/lib/sisimai/reason/toomanyconn.rb +19 -18
  97. data/lib/sisimai/reason/userunknown.rb +122 -121
  98. data/lib/sisimai/reason/vacation.rb +8 -8
  99. data/lib/sisimai/reason/virusdetected.rb +8 -8
  100. data/lib/sisimai/rfc1894.rb +142 -0
  101. data/lib/sisimai/rfc3464.rb +70 -70
  102. data/lib/sisimai/rfc3834.rb +15 -15
  103. data/lib/sisimai/rfc5322.rb +20 -36
  104. data/lib/sisimai/rhost.rb +1 -0
  105. data/lib/sisimai/rhost/exchangeonline.rb +31 -33
  106. data/lib/sisimai/rhost/franceptt.rb +23 -23
  107. data/lib/sisimai/rhost/godaddy.rb +28 -28
  108. data/lib/sisimai/rhost/googleapps.rb +39 -41
  109. data/lib/sisimai/rhost/kddi.rb +3 -3
  110. data/lib/sisimai/rhost/tencentqq.rb +51 -0
  111. data/lib/sisimai/smtp/error.rb +14 -21
  112. data/lib/sisimai/smtp/reply.rb +14 -13
  113. data/lib/sisimai/smtp/status.rb +178 -179
  114. data/lib/sisimai/string.rb +13 -12
  115. data/lib/sisimai/version.rb +1 -1
  116. data/set-of-emails/README.md +1 -5
  117. data/set-of-emails/maildir/bsd/arf-23.eml +49 -0
  118. data/set-of-emails/maildir/bsd/email-amavis-01.eml +78 -0
  119. data/set-of-emails/maildir/bsd/email-amavis-02.eml +78 -0
  120. data/set-of-emails/maildir/bsd/email-exchange2007-04.eml +146 -0
  121. data/set-of-emails/maildir/bsd/email-exim-60.eml +94 -0
  122. data/set-of-emails/maildir/bsd/email-ezweb-08.eml +49 -0
  123. data/set-of-emails/maildir/bsd/email-google-19.eml +67 -0
  124. data/set-of-emails/maildir/bsd/email-mcafee-05.eml +74 -0
  125. data/set-of-emails/maildir/bsd/email-messagingserver-12.eml +99 -0
  126. data/set-of-emails/maildir/bsd/email-postfix-46.eml +81 -0
  127. data/set-of-emails/maildir/bsd/email-postfix-47.eml +79 -0
  128. data/set-of-emails/maildir/bsd/email-postfix-48.eml +79 -0
  129. data/set-of-emails/maildir/bsd/email-postfix-49.eml +141 -0
  130. data/set-of-emails/maildir/bsd/email-postfix-50.eml +143 -0
  131. data/set-of-emails/maildir/bsd/email-postfix-51.eml +73 -0
  132. data/set-of-emails/maildir/bsd/email-postfix-52.eml +79 -0
  133. data/set-of-emails/maildir/bsd/email-postfix-53.eml +76 -0
  134. data/set-of-emails/maildir/bsd/email-postfix-54.eml +73 -0
  135. data/set-of-emails/maildir/bsd/email-postfix-55.eml +74 -0
  136. data/set-of-emails/maildir/bsd/email-postfix-56.eml +78 -0
  137. data/set-of-emails/maildir/bsd/email-qmail-10.eml +50 -0
  138. data/set-of-emails/maildir/bsd/email-x2-05.eml +38 -0
  139. data/set-of-emails/maildir/bsd/rhost-google-apps-02.eml +88 -0
  140. data/set-of-emails/maildir/bsd/rhost-tencentqq-01.eml +84 -0
  141. data/set-of-emails/maildir/bsd/rhost-tencentqq-02.eml +84 -0
  142. data/set-of-emails/maildir/bsd/rhost-tencentqq-03.eml +81 -0
  143. data/set-of-emails/maildir/dos/email-amavis-01.eml +78 -0
  144. data/set-of-emails/maildir/dos/email-apachejames-01.eml +1 -2
  145. data/set-of-emails/maildir/dos/email-messagelabs-01.eml +67 -50
  146. data/set-of-emails/maildir/dos/email-x4-01.eml +31 -76
  147. data/set-of-emails/maildir/dos/rhost-tencentqq-01.eml +84 -0
  148. data/set-of-emails/maildir/mac/email-amavis-01.eml +1 -4
  149. data/set-of-emails/maildir/mac/email-apachejames-01.eml +1 -9
  150. data/set-of-emails/maildir/mac/email-messagelabs-01.eml +1 -9
  151. data/set-of-emails/maildir/mac/email-x4-01.eml +1 -5
  152. data/set-of-emails/maildir/mac/rhost-tencentqq-01.eml +1 -4
  153. metadata +35 -4
  154. data/set-of-emails/logo/horizontalversions.png +0 -0
  155. data/set-of-emails/logo/icon.png +0 -0
@@ -3,6 +3,11 @@ module Sisimai
3
3
  module String
4
4
  # Imported from p5-Sisimail/lib/Sisimai/String.pm
5
5
  class << self
6
+ Match = {
7
+ html: %r|<html[ >].+?</html>|im,
8
+ body: %r|<head>.+</head>.*<body[ >].+</body>|im,
9
+ }
10
+
6
11
  # End of email message as a sentinel for parsing bounce messages
7
12
  # @private
8
13
  # @return [String] Fixed length string like a constant
@@ -16,11 +21,11 @@ module Sisimai
16
21
  # @return [String] Blank/failed to create token
17
22
  # @see http://en.wikipedia.org/wiki/ASCII
18
23
  def token(addr1, addr2, epoch)
19
- return '' unless addr1.is_a?(::String)
20
- return '' unless addr2.is_a?(::String)
21
- return '' unless epoch.is_a?(Integer)
22
- return '' if addr1.empty?
23
- return '' if addr2.empty?
24
+ return nil unless addr1.is_a?(::String)
25
+ return nil unless addr2.is_a?(::String)
26
+ return nil unless epoch.is_a?(Integer)
27
+ return nil if addr1.empty?
28
+ return nil if addr2.empty?
24
29
 
25
30
  # Format: STX(0x02) Sender-Address RS(0x1e) Recipient-Address ETX(0x03)
26
31
  require 'digest/sha1'
@@ -58,15 +63,11 @@ module Sisimai
58
63
  # @param [Boolean] loose Loose check flag
59
64
  # @return [String] Plain text
60
65
  def to_plain(argv1 = '', loose = false)
61
- return '' if argv1.empty?
66
+ return nil if argv1.empty?
62
67
 
63
68
  plain = argv1
64
- match = {
65
- html: %r|<html[ >].+?</html>|im,
66
- body: %r|<head>.+</head>.*<body[ >].+</body>|im,
67
- }
68
69
 
69
- if loose || plain =~ match[:html] || plain =~ match[:body]
70
+ if loose || plain =~ Match[:html] || plain =~ Match[:body]
70
71
  # 1. Remove <head>...</head>
71
72
  # 2. Remove <style>...</style>
72
73
  # 3. <a href = 'http://...'>...</a> to " http://... "
@@ -96,7 +97,7 @@ module Sisimai
96
97
  # @param [String] argv2 Encoding name before converting
97
98
  # @return [String] UTF-8 Encoded string
98
99
  def to_utf8(argv1 = '', argv2 = nil)
99
- return '' if argv1.empty?
100
+ return nil if argv1.empty?
100
101
 
101
102
  encodefrom = argv2 || false
102
103
  getencoded = ''
@@ -1,4 +1,4 @@
1
1
  # Define the version number of Sisimai
2
2
  module Sisimai
3
- VERSION = '4.24.1'.freeze
3
+ VERSION = '4.25.0'.freeze
4
4
  end
@@ -1,6 +1,3 @@
1
- <p align="center"><img src="logo/horizontalversions.png" alt="set-of-emails" height="180px"></p>
2
-
3
-
4
1
  About "set-of-emails" repository
5
2
  ================================================================================
6
3
  This repository hold bounce mail collections for developing Sisimai. Email files
@@ -37,10 +34,9 @@ Author
37
34
 
38
35
  Copyright
39
36
  ===============================================================================
40
- Copyright (C) 2018 azumakuniyuki, All Rights Reserved.
37
+ Copyright (C) 2018-2019 azumakuniyuki, All Rights Reserved.
41
38
 
42
39
  License
43
40
  ===============================================================================
44
41
  This software is distributed under The BSD 2-Clause License.
45
- Files in logo/ created by @batarian71 are distributed under CC BY 4.0
46
42
 
@@ -0,0 +1,49 @@
1
+ Delivered-To: abuse-report@example.com
2
+ Received: by 192.0.2.25 with SMTP id fffffffff000000;
3
+ Thu, 29 Apr 2016 23:34:45 +0000 (UTC)
4
+ X-Received: by 192.0.2.2 with SMTP id eeeeeeeee0000001.222.1500000000000;
5
+ Thu, 29 Apr 2016 23:34:45 +0000 (UTC)
6
+ Return-Path: <neko@example.org>
7
+ Received: from CAT000-NEKO2.example.com (cat000-neko2.example.com. [203.0.113.25])
8
+ by mx.example.com with ESMTPS id fffffffff11111.222.2016.04.29.23.34.45
9
+ for <abuse-report@example.com>
10
+ (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
11
+ Thu, 29 Apr 2016 23:34:45 +0000 (UTC)
12
+ Received: from CAT000-NEKO-022.r.example.org ([198.51.100.1]) by CAT004-R.example.com
13
+ with Microsoft SMTPSVC(7.5.7601.22751); Thu, 29 Apr 2016 23:34:45 +0000
14
+ Date: Thu, 29 Apr 2016 23:34:45 +0000
15
+ From: <staff@hotmail.com>
16
+ Subject: complaint about message from 192.0.2.222
17
+ To: abuse-report@example.com
18
+ MIME-Version: 1.0
19
+ Content-Type: multipart/mixed; boundary="F0000EEE2-0000-2111-AAB0-000000000000"
20
+ Message-ID: <CAT0-NNE-000000000000000022@CAT0-RRR.example.org>
21
+ X-OriginalArrivalTime: 29 Apr 2016 23:34:45.0000 (UTC) FILETIME=[FFFFFFFF:00000000]
22
+ Return-Path: neko@example.org
23
+
24
+ --F0000EEE2-0000-2111-AAB0-000000000000
25
+ Content-Type: message/rfc822
26
+ Content-Disposition: inline
27
+
28
+ X-HmXmrOriginalRecipient: kijitora@example.com
29
+ X-Reporter-IP: 192.0.2.22
30
+ Authentication-Results: example.com; spf=pass (sender IP is 203.0.113.245; identity alignment result is pass and alignment mode is relaxed) smtp.mailfrom=sironeko@example.com; dkim=pass (identity alignment result is pass and alignment mode is relaxed) header.d=example.com; x-hmca=pass header.id=sironeko@example.com
31
+ X-SID-PRA: sironeko@example.com
32
+ X-AUTH-Result: PASS
33
+ X-SID-Result: PASS
34
+ Received: from smtp.example.com ([203.0.113.245]) by R7038-AA.example.com over TLS
35
+ secured channel with Microsoft SMTPSVC(7.5.7601.23008);
36
+ Thu, 29 Apr 2016 23:34:45 +0000
37
+ Date: Thu, 29 Apr 2016 23:34:45 +0200
38
+ To: kijitora@example.com
39
+ From: Neko <sironeko@example.com>
40
+ Subject: Nyaan
41
+ MIME-Version: 1.0
42
+ Content-Transfer-Encoding: 8bit
43
+ Content-Type: text/plain; charset="utf-8"
44
+ Message-ID: <0000000000fffffffff0000000000000@example.com>
45
+ X-OriginalArrivalTime: 29 Apr 2016 23:34:45.0000 (UTC) FILETIME=[00000000:FFFFFFFF]
46
+
47
+ Nyaan
48
+
49
+ --F0000EEE2-0000-2111-AAB0-000000000000--
@@ -0,0 +1,78 @@
1
+ Return-Path: <MAILER-DAEMON>
2
+ X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on neko1.example.com
3
+ Received: from localhost (localhost.localdomain [127.0.0.1])
4
+ by mail.example.com (Postfix) with ESMTP id 94EC08061D30
5
+ for <kijitora@example.co.jp>; Thu, 29 Apr 2010 23:34:45 +0900 (JST)
6
+ Content-Type: multipart/report; report-type=delivery-status;
7
+ boundary="----------=_1924225074-2022-0"
8
+ Content-Transfer-Encoding: 7bit
9
+ MIME-Version: 1.0
10
+ Subject: Undeliverable mail, MTA-BLOCKED
11
+ Message-ID: <DSNmDLeZEmP008628@neko1.example.com>
12
+ From: "Content-filter at neko1.example.com" <postmaster@neko1.example.com>
13
+ To: <kijitora@example.co.jp>
14
+ Date: Thu, 29 Apr 2010 23:34:45 +0900 (JST)
15
+
16
+ This is a multi-part message in MIME format...
17
+
18
+ ------------=_1924225074-2022-0
19
+ Content-Type: text/plain; charset="iso-8859-1"
20
+ Content-Disposition: inline
21
+ Content-Transfer-Encoding: 7bit
22
+
23
+ The message WAS NOT relayed to:
24
+ <neko@example.co.jp>: [127.0.0.1] said:
25
+ 550 5.1.1 Failed, id=02022-02, from MTA([127.0.0.1]:10025): 550 5.1.1 <neko@example.co.jp>: Recipient address rejected: User unknown in virtual mailbox table
26
+
27
+ This nondelivery report was generated by the program amavisd-new at host
28
+ neko1.example.com. Our internal reference code for your message is
29
+ 02022-08/mDLeZEmP008628
30
+
31
+ Return-Path: <kijitora@example.co.jp>
32
+ From: <kijitora@example.co.jp>
33
+ Message-ID:
34
+ <Qdmail.0.0.0e_8ed60e1eb3e559f02254e3437c3110b1@example.net>
35
+ Subject: Nyaan
36
+
37
+
38
+ ------------=_1924225074-2022-0
39
+ Content-Type: message/delivery-status; name="dsn_status"
40
+ Content-Disposition: inline; filename="dsn_status"
41
+ Content-Transfer-Encoding: 7bit
42
+ Content-Description: Delivery error report
43
+
44
+ Reporting-MTA: dns; neko1.example.com
45
+ Received-From-MTA: smtp; mail.example.com ([127.0.0.1])
46
+ Arrival-Date: Thu, 29 Apr 2010 23:34:45 +0900 (JST)
47
+
48
+ Original-Recipient: rfc822;neko@example.co.jp
49
+ Final-Recipient: rfc822;neko@example.co.jp
50
+ Action: failed
51
+ Status: 5.1.1
52
+ Remote-MTA: dns; 127.0.0.1
53
+ Diagnostic-Code: smtp; 550 5.1.1 <neko@example.co.jp>: Recipient address rejected: User unknown in virtual mailbox table
54
+ Last-Attempt-Date: Thu, 29 Apr 2010 23:34:45 +0900 (JST)
55
+ Final-Log-ID: 02022-08/mDLeZEmP008628
56
+
57
+ ------------=_1924225074-2022-0
58
+ Content-Type: text/rfc822-headers; name="header"
59
+ Content-Disposition: inline; filename="header"
60
+ Content-Transfer-Encoding: 7bit
61
+ Content-Description: Message header section
62
+
63
+ Return-Path: <kijitora@example.co.jp>
64
+ Received: by mail.example.com (Postfix, from userid 8008)
65
+ id 0DFECC50CFA0; Thu, 29 Apr 2010 23:34:45 +0900 (JST)
66
+ To: "Neko" <neko@example.co.jp>
67
+ Subject: Nyaan
68
+ From: "Kijitora" <kijitora@example.co.jp>
69
+ Message-Id: <Qdmail.0.0.0e_8ed60e1eb3e559f02254e3437c3110b1@example.net>
70
+ Content-Type: text/plain; charset="iso-2022-jp"
71
+ Content-Transfer-Encoding: 7bit
72
+ MIME-Version: 1.0
73
+ Date: Thu, 29 Apr 2010 23:34:45 +0900 (JST)
74
+
75
+ Nyaan
76
+
77
+ ------------=_1924225074-2022-0--
78
+
@@ -0,0 +1,78 @@
1
+ Return-Path: <MAILER-DAEMON>
2
+ X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on neko1.example.com
3
+ Received: from localhost (localhost.localdomain [127.0.0.1])
4
+ by mail.example.com (Postfix) with ESMTP id JLB24aU5039193
5
+ for <kijitora@example.co.jp>; Thu, 29 Apr 2011 23:34:45 +0900 (JST)
6
+ Content-Type: multipart/report; report-type=delivery-status;
7
+ boundary="----------=_1517398920-2022-2"
8
+ Content-Transfer-Encoding: 7bit
9
+ MIME-Version: 1.0
10
+ Subject: Undeliverable mail, MTA-BLOCKED
11
+ Message-ID: <DSNwMm0hUDj006097@neko1.example.com>
12
+ From: "Content-filter at neko1.example.com" <postmaster@neko1.example.com>
13
+ To: <kijitora@example.co.jp>
14
+ Date: Thu, 29 Apr 2011 23:34:45 +0900 (JST)
15
+
16
+ This is a multi-part message in MIME format...
17
+
18
+ ------------=_1517398920-2022-2
19
+ Content-Type: text/plain; charset="iso-8859-1"
20
+ Content-Disposition: inline
21
+ Content-Transfer-Encoding: 7bit
22
+
23
+ The message WAS NOT relayed to:
24
+ <neko@example.co.jp>: [127.0.0.1] said:
25
+ 550 5.1.1 Failed, id=02022-19-2, from MTA([127.0.0.1]:10025): 550 5.1.1 <neko@example.co.jp>: Recipient address rejected: User unknown in virtual mailbox table
26
+
27
+ This nondelivery report was generated by the program amavisd-new at host
28
+ neko1.example.com. Our internal reference code for your message is
29
+ 02022-19-2/wMm0hUDj006097
30
+
31
+ Return-Path: <kijitora@example.co.jp>
32
+ From: <nyaan@example.co.jp>
33
+ Message-ID:
34
+ <Qdmail.0.0.0e_9c642ee04972b793b0cd524f85f923cb@example.net>
35
+ Subject: Nyaan
36
+
37
+
38
+ ------------=_1517398920-2022-2
39
+ Content-Type: message/delivery-status; name="dsn_status"
40
+ Content-Disposition: inline; filename="dsn_status"
41
+ Content-Transfer-Encoding: 7bit
42
+ Content-Description: Delivery error report
43
+
44
+ Reporting-MTA: dns; neko1.example.com
45
+ Received-From-MTA: smtp; mail.example.com ([127.0.0.1])
46
+ Arrival-Date: Thu, 29 Apr 2011 23:34:45 +0900 (JST)
47
+
48
+ Original-Recipient: rfc822;neko@example.co.jp
49
+ Final-Recipient: rfc822;neko@example.co.jp
50
+ Action: failed
51
+ Status: 5.1.1
52
+ Remote-MTA: dns; 127.0.0.1
53
+ Diagnostic-Code: smtp; 550 5.1.1 <neko@example.co.jp>: Recipient address rejected: User unknown in virtual mailbox table
54
+ Last-Attempt-Date: Thu, 29 Apr 2011 23:34:45 +0900 (JST)
55
+ Final-Log-ID: 02022-19-2/wMm0hUDj006097
56
+
57
+ ------------=_1517398920-2022-2
58
+ Content-Type: text/rfc822-headers; name="header"
59
+ Content-Disposition: inline; filename="header"
60
+ Content-Transfer-Encoding: 7bit
61
+ Content-Description: Message header section
62
+
63
+ Return-Path: <kijitora@example.co.jp>
64
+ Received: by mail.example.com (Postfix, from userid 8001)
65
+ id CCE4B5D7DDB0; Thu, 29 Apr 2011 23:34:45 +0900 (JST)
66
+ To: neko@example.co.jp
67
+ Subject: Nyaan
68
+ From: nyaan@example.co.jp
69
+ Message-Id: <Qdmail.0.0.0e_9c642ee04972b793b0cd524f85f923cb@example.net>
70
+ Content-Type: text/plain; charset="iso-2022-jp"
71
+ Content-Transfer-Encoding: 7bit
72
+ MIME-Version: 1.0
73
+ Date: Thu, 29 Apr 2011 23:34:45 +0900 (JST)
74
+
75
+ Nyaan
76
+
77
+ ------------=_1517398920-2022-2--
78
+
@@ -0,0 +1,146 @@
1
+ Return-Path: <>
2
+ X-Original-To: kijitora@example.com
3
+ Delivered-To: kijitora@example.com
4
+ Received: from localhost (localhost.localdomain [127.0.0.1])
5
+ by mail.example.org (Postfix) with ESMTP id 824841EEA637
6
+ for <kijitora@example.com>; Thu, 29 Apr 2017 23:34:45 +0900 (JST)
7
+ Received: from mail.example.org ([127.0.0.1])
8
+ by localhost (re2.example.org [127.0.0.1]) (amavisd-new, port 24)
9
+ with ESMTP id G7qvwSmj017353 for <kijitora@example.com>;
10
+ Thu, 29 Apr 2017 23:34:45 +0900 (JST)
11
+ Received: from mail2.memta22.messagelabs.com (mail2.memta22.messagelabs.com [192.0.2.22])
12
+ by mail.example.org (Postfix) with ESMTP id 360F5A3D5531
13
+ for <kijitora@example.com>; Thu, 29 Apr 2017 23:34:45 +0900 (JST)
14
+ Received: from [192.0.2.12] (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits))
15
+ by server-2.bemta.neko.jp-kyoto-2.aws.example.net id vbOz9C-dDJwaB-XF; Thu, 29 Apr 2017 23:34:45 +0000
16
+ X-Brightmail-Tracker: IVtdKGh0dHBzOi8vbGlic2lzaW1haS5vcmcvc3RhdGljL2ltYWd
17
+ X-Msg-Ref: server-2.tower-222.messagelabs.com!1599960191!0000000!2
18
+ X-Originating-IP: [213.0.113.13]
19
+ Received: from unknown (HELO neko.nyaan.example.net) (213.0.113.10)
20
+ by server-2.tower-222.messagelabs.com with AES128-SHA encrypted SMTP;29 Apr 2017 23:34:45 -0000
21
+ MIME-Version: 1.0
22
+ From: <postmaster@example.jp>
23
+ To: <kijitora@example.com>
24
+ Date: Thu, 29 Apr 2017 23:34:45 +0900
25
+ Content-Type: multipart/report; report-type=delivery-status;
26
+ boundary="2f7a3728-b6eb-c93a-5e13-1cd42682787f"
27
+ Content-Language: en-US
28
+ Message-ID: <c86b0a14-46ef-4afe-41fb-e16f14a13492@example.jp>
29
+ Subject: =?iso-2022-jp?B?VW5kZWxpdmVyYWJsZTogGyRCJS0lOCVIJWkhJiVVJWklQyU3JWUbKEIvGyRCJUsl=?=
30
+ =?iso-2022-jp?B?YyE8JXMbKEIK=?=
31
+
32
+ --2f7a3728-b6eb-c93a-5e13-1cd42682787f
33
+ Content-Type: multipart/alternative; differences=Content-Type;
34
+ boundary="2b5a6b30-cc46-bbac-ddee-09ed77168c67"
35
+
36
+ --2b5a6b30-cc46-bbac-ddee-09ed77168c67
37
+ Content-Type: text/plain; charset="iso-2022-jp"
38
+ Content-Transfer-Encoding: quoted-printable
39
+
40
+ Delivery has failed to these recipients or groups:
41
+
42
+ neko-nyaan@example.jp<mailto:neko-nyaan@example.jp>
43
+ Your message can't be delivered because delivery to this address is restri=
44
+ cted.
45
+
46
+
47
+
48
+
49
+
50
+
51
+
52
+ Diagnostic information for administrators:
53
+
54
+ Generating server: example.jp
55
+
56
+ neko-nyaan@example.jp
57
+ #550 5.7.1 RESOLVER.RST.AuthRequired; authentication required ##rfc822;nek=
58
+ o-nyaan@cat.example.jp
59
+
60
+ Original message headers:
61
+
62
+ Received: from mail2.bemta22.messagelabs.com (192.0.2.201) by
63
+ NN-EEEEEE22222.example.jp (198.51.100.2) with Microsoft SMTP Server (TLS) id=
64
+
65
+ 14.2.222.2; Thu, 29 Apr 2017 23:34:45 +0900
66
+ Return-Path: <kijitora@example.com>
67
+ Received: from [213.0.112.2] (using TLSv1.2 with cipher
68
+ DHE-RSA-AES256-GCM-SHA384 (256 bits)) by server-2.bemta-22.messagelabs.c=
69
+ om id
70
+ NKQCOG-ZY5CTX-8N; Thu, 29 Apr 2017 23:34:45 +0000
71
+ X-Msg-Ref: server-2.tower-222.messagelabs.com!1467226490!00000000!2
72
+ X-Originating-IP: [198.51.100.133]
73
+ Received: by mail.example.org (Postfix, from userid 22) id D7AB28CED6D2; T=
74
+ hu,
75
+ 29 Apr 2017 23:34:45 +0900 (JST)
76
+ To: neko-nyaan@example.jp
77
+ Subject: =3D?ISO-2022-JP?B?GyRCJS0lOCVIJWkhJiVVJWklQyU3JWUbKEIvGyRCJUslYyE8J=
78
+ XMbKEI=3D?=3D
79
+ From: "Kijitora" <kijitora@example.com>
80
+ Message-ID: <d41d8cd98f00b204e9800998ecf8427e@example.jp>
81
+ Content-Type: text/plain; charset=3D"iso-2022-jp"
82
+ Content-Transfer-Encoding: 7bit
83
+ MIME-Version: 1.0
84
+ Date: Thu, 29 Apr 2017 23:34:45 +0900
85
+
86
+ Nyaan
87
+
88
+ --2b5a6b30-cc46-bbac-ddee-09ed77168c67
89
+ Content-Type: text/html; charset="iso-2022-jp"
90
+ Content-Transfer-Encoding: quoted-printable
91
+
92
+ <html>
93
+ <head></head>
94
+ <body>
95
+ ...
96
+ </body>
97
+ </html>
98
+ --2b5a6b30-cc46-bbac-ddee-09ed77168c67--
99
+
100
+ --2f7a3728-b6eb-c93a-5e13-1cd42682787f
101
+ Content-Type: message/delivery-status
102
+
103
+ Reporting-MTA: dns;example.jp
104
+ Received-From-MTA: dns;mail2.bemta22.messagelabs.com
105
+ Arrival-Date: Thu, 29 Apr 2017 23:34:45 +0000
106
+
107
+ Original-Recipient: rfc822;neko-nyaan@cat.example.jp
108
+ Final-Recipient: rfc822;neko-nyaan@example.jp
109
+ Action: failed
110
+ Status: 5.7.1
111
+ Diagnostic-Code: smtp;550 5.7.1 RESOLVER.RST.AuthRequired; authentication required
112
+
113
+
114
+ --2f7a3728-b6eb-c93a-5e13-1cd42682787f
115
+ Content-Type: message/rfc822
116
+
117
+ Received: from mail2.bemta22.messagelabs.com (192.0.2.201) by
118
+ NN-EEEEEE00000.example.jp (192.0.2.22) with Microsoft SMTP Server (TLS) id
119
+ 14.2.222.2; Thu, 29 Apr 2017 23:34:45 +0900
120
+ Return-Path: <kijitora@example.com>
121
+ Received: from [213.0.113.252] (using TLSv1.2 with cipher
122
+ DHE-RSA-AES256-GCM-SHA384 (256 bits)) by server-2.bemta-22.messagelabs.com id
123
+ O1HTEV-NHSHSQ-8V; Thu, 29 Apr 2017 23:34:45 +0000
124
+ X-Brightmail-Tracker: ...
125
+ X-Msg-Ref: server-2.tower-222.messagelabs.com!1467226490!00000000!1
126
+ X-Originating-IP: [192.0.2.55]
127
+ Received: from localhost (localhost.localdomain [127.0.0.1]) by
128
+ mail.example.org (Postfix) with ESMTP id D7AB28CED6D2 for
129
+ <neko-nyaan@cat.example.jp>; Thu, 29 Apr 2017 23:34:45 +0900 (JST)
130
+ Received: from mail.example.org ([127.0.0.1]) by localhost (re2.example.org
131
+ [127.0.0.1]) (amavisd-new, port 24) with ESMTP id B95OZpsj016974 for
132
+ <neko-nyaan@cat.example.jp>; Thu, 29 Apr 2017 23:34:45 +0900 (JST)
133
+ Received: by mail.example.org (Postfix, from userid 22) id 0458C2877839; Thu,
134
+ 29 Apr 2017 23:34:45 +0900 (JST)
135
+ To: <neko-nyaan@cat.example.jp>
136
+ Subject: =?ISO-2022-JP?B?GyRCJS0lOCVIJWkhJiVVJWklQyU3JWUbKEIvGyRCJUslYyE8JXMbKEI=?=
137
+ From: kijitora@example.com
138
+ Message-ID: <78f44d2b2ea5763064d21edacd9d8d18@example.net>
139
+ Content-Type: text/plain; charset="iso-2022-jp"
140
+ Content-Transfer-Encoding: 7bit
141
+ MIME-Version: 1.0
142
+ Date: Thu, 29 Apr 2017 23:34:45 +0900
143
+
144
+ Nyaan
145
+
146
+ --2f7a3728-b6eb-c93a-5e13-1cd42682787f--
@@ -0,0 +1,94 @@
1
+ Return-Path: <>
2
+ X-Original-To: neko-nyaan@example.jp
3
+ Delivered-To: neko-nyaan@example.jp
4
+ Received: from localhost (localhost.localdomain [127.0.0.1])
5
+ by neko.example.jp (Postfix) with ESMTP id EF002202EEEE
6
+ for <neko-nyaan@example.jp>; Thu, 29 Apr 2018 23:34:45 +0900 (JST)
7
+ X-Virus-Scanned: amavisd-new at nyaan.example.jp
8
+ Received: from neko.example.jp ([127.0.0.1])
9
+ by localhost (nyaan.example.jp [127.0.0.1]) (amavisd-new, port 10024)
10
+ with ESMTP id IaHiegEutAck for <neko-nyaan@example.jp>;
11
+ Thu, 29 Apr 2018 23:34:45 +0900 (JST)
12
+ Received: from q002.kijitora.gol.com (q002.kijitora.gol.com [192.0.2.220])
13
+ by neko.example.jp (Postfix) with ESMTP id EFEE002222EE
14
+ for <neko-nyaan@example.jp>; Thu, 29 Apr 2018 23:34:45 +0900 (JST)
15
+ Received: from Debian-exim by q002.kijitora.gol.com with local (Kijitora)
16
+ id 22Neko-0002np-Qr; Thu, 29 Apr 2018 23:34:45 +0900
17
+ X-Failed-Recipients: nyaan%gol.com@q002.kijitora.gol.com
18
+ Reply-To: postmaster@gol.com
19
+ Auto-Submitted: auto-replied
20
+ From: Mail Delivery System <Mailer-Daemon@q002.kijitora.gol.com>
21
+ To: neko-nyaan@example.jp
22
+ Content-Type: multipart/report; report-type=delivery-status; boundary=0222022220-eximdsn-2022220000
23
+ MIME-Version: 1.0
24
+ Subject: Mail delivery failed: returning message to sender
25
+ Message-Id: <Neko2202-0002qr-xp@q002.kijitora.gol.com>
26
+ Date: Thu, 29 Apr 2018 23:34:45 +0900
27
+
28
+ --0222022220-eximdsn-2022220000
29
+ Content-type: text/plain; charset=us-ascii
30
+
31
+ This message was created automatically by mail delivery software.
32
+
33
+ A message that you sent could not be delivered to one or more of its
34
+ recipients. This is a permanent error. The following address(es) failed:
35
+
36
+ save to /mail/spool/q002.kijitora.gol.com/gol.com/22r/cat/n2.nyaan
37
+ generated by nyaan%gol.com@q002.kijitora.gol.com
38
+ mailbox is full: retry timeout exceeded
39
+
40
+ --0222022220-eximdsn-2022220000
41
+ Content-type: message/delivery-status
42
+
43
+ Reporting-MTA: dns; q002.kijitora.gol.com
44
+
45
+ Action: failed
46
+ Final-Recipient: rfc822;/mail/spool/q002.kijitora.gol.com/gol.com/22r/cat/n2.nyaan
47
+ Status: 5.0.0
48
+
49
+ --0222022220-eximdsn-2022220000
50
+ Content-type: message/rfc822
51
+
52
+ Return-path: <neko-nyaan@example.jp>
53
+ Received: from mx05.kijitora.gol.com ([192.0.2.20])
54
+ by q002.kijitora.gol.com with esmtp (Kijitora)
55
+ id 2rNeko-00022e-Yp
56
+ for <nyaan%gol.com@q002.kijitora.gol.com>; Thu, 29 Apr 2018 23:34:45 +0900
57
+ Received: from mail by mx05.kijitora.gol.com with spam-scanned (Kijitora)
58
+ (envelope-from <neko-nyaan@example.jp>)
59
+ id 2222ee-000000-2d
60
+ for nyaan@gol.com; Thu, 29 Apr 2018 23:34:45 +0900
61
+ X-Spam-Level:
62
+ X-Spam-Status: No, score=-0.9 required=10.0 tests=BAYES_00,FROM_EXCESS_BASE64,
63
+ RCVD_IN_DNSWL_NONE,SPF_PASS shortcircuit=no autolearn=no
64
+ autolearn_force=no version=3.4.2
65
+ X-Spam-Checker-Version: SpamAssassin 3.x on filter.kijitora.gol.com
66
+ Received: from nyaan.example.jp ([203.0.113.22] helo=neko.example.jp)
67
+ by mx05.kijitora.gol.com with esmtp (Kijitora)
68
+ (envelope-from <neko-nyaan@example.jp>)
69
+ id eeeeee-222222-Nq
70
+ for nyaan@gol.com; Thu, 29 Apr 2018 23:34:45 +0900
71
+ Received: from localhost (localhost.localdomain [127.0.0.1])
72
+ by neko.example.jp (Postfix) with ESMTP id E22222222000
73
+ for <nyaan@gol.com>; Thu, 29 Apr 2018 23:34:45 +0900 (JST)
74
+ X-Virus-Scanned: amavisd-new at nyaan.example.jp
75
+ Received: from neko.example.jp ([127.0.0.1])
76
+ by localhost (nyaan.example.jp [127.0.0.1]) (amavisd-new, port 10024)
77
+ with ESMTP id MuharyoifBaf for <nyaan@gol.com>;
78
+ Thu, 29 Apr 2018 23:34:45 +0900 (JST)
79
+ Received: from localhost (localhost.localdomain [127.0.0.1])
80
+ by neko.example.jp (Postfix) with ESMTP id F22222222333
81
+ for <nyaan@gol.com>; Thu, 29 Apr 2018 23:34:45 +0900 (JST)
82
+ MIME-Version: 1.0
83
+ Content-Type: text/plain; charset=ISO-2022-JP
84
+ Content-Transfer-Encoding: quoted-printable
85
+ From: <sironeko@example.org>
86
+ To: <nyaan@gol.com>
87
+ Subject: Nyaan
88
+ Message-Id: <20180429233445.A00000000222@neko.example.jp>
89
+ Date: Thu, 29 Apr 2018 23:34:45 +0900 (JST)
90
+ X-Virus-Scanned: ClamAV GOL
91
+
92
+ Nyaan
93
+
94
+ --0222022220-eximdsn-2022220000--