sisimai 4.25.9 → 4.25.10

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.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 225f65e4f6104d3dabbdd50eb6882b5e9c40ab335cda2ba49014ba3d04fa7ed3
4
- data.tar.gz: a484a4d9b98000743fcf583afb4f4c47e4828c7a0dd7892d41b236ff0861807d
3
+ metadata.gz: ba874891fd9c23f0d4cde6c02241a5e956a4202cfffbcfd0768761b073381597
4
+ data.tar.gz: 01cc1c85c60772b61e5d3e56917b4bf664e26d19a17a38cbb4be972475e4f295
5
5
  SHA512:
6
- metadata.gz: 6311de5fc2ba1e9968b6ab83b9e78fd5505c4d39bfe7641a122ac69d2c26ac77ee41ec90ba13c6dbb130f66b7af600c07778a42263765ddfe165ed5b92b692ad
7
- data.tar.gz: 04c8779ffa5b03ff564cd671e40c50ea9342adc19e47ff77e4942e201b730fffbc9d5a41299c2717e1b479e3403d6c7644d6830014a99cc49ef5cf5bf822a87d
6
+ metadata.gz: fdbba88ba982e6c93e35c79a95b20a073ef3e4bcfa84b261de0347fdfbcf1f3e430e7eebc0418fd54efb639f48118512e883b63dc85ade1ec71521f728198955
7
+ data.tar.gz: 616005c1de3152c7f5e501ecd8524d4eae0f7e1c95ae291849011b6c2baec01dbc29cdc4ed5a21abf306e3f29c86ca0690975daaee5b43afac860f08649620c6
@@ -3,6 +3,22 @@ RELEASE NOTES for Ruby version of Sisimai
3
3
  - releases: "https://github.com/sisimai/rb-sisimai/releases"
4
4
  - download: "https://rubygems.org/gems/sisimai"
5
5
 
6
+ v4.25.10
7
+ --------------------------------------------------------------------------------
8
+ - release: "Tue, 22 Dec 2020 13:22:22 +0900 (JST)"
9
+ - version: "4.25.10"
10
+ - changes:
11
+ - #187 Remove the following old methods (marked as obsolete from v4.25.6)
12
+ - `Sisimai::Mail.close` (automatically closes at the EOF)
13
+ - `Sisimai::Mail.type` (use `Sisimai::Mail.kind` instead)
14
+ - `Sisimai::Mail.mail.*` (use `Sisimai::Mail.data.*` instead)
15
+ - `Sisimai::Lhost::Exim` and `Sisimai::Lhost::X3` improvement
16
+ - #205 Code improvement for `Source-IP` field on `Sisimai::ARF`
17
+ - #207 Updates for DMARC and SPF related errors
18
+ - The value of `reason` rejected due to DMARC policy is `policyviolation`
19
+ - The value of `reason` rejected due to no SPF record is `rejected`
20
+ - Add some sample emails related to above into set-of-emails/
21
+
6
22
  v4.25.9
7
23
  --------------------------------------------------------------------------------
8
24
  - release: "Sat, 3 Oct 2020 22:00:00 +0900 (JST)"
@@ -14,10 +14,13 @@ module Sisimai
14
14
  # OpenDMARC 1.3.0 uses: This is an authentication failure report for an email message received from IP
15
15
  # Abusix ARF uses this is an autogenerated email abuse complaint regarding your network.
16
16
  Indicators = Sisimai::Lhost.INDICATORS
17
- StartingOf = { rfc822: ['Content-Type: message/rfc822', 'Content-Type: text/rfc822-headers'] }.freeze
17
+ StartingOf = {
18
+ rfc822: ['Content-Type: message/rfc822', 'Content-Type: text/rfc822-headers'],
19
+ report: ['Content-Type: message/feedback-report'],
20
+ }.freeze
18
21
  MarkingsOf = {
19
22
  message: %r{\A(?>
20
- [Tt]his[ ]is[ ]a[ ][^ ]+[ ]email[ ]abuse[ ]report
23
+ [Tt]his[ ]is[ ]a[ ][^ ]+[ ](?:email[ ])?[Aa]buse[ ][Rr]eport
21
24
  |[Tt]his[ ]is[ ]an[ ]email[ ]abuse[ ]report
22
25
  |[Tt]his[ ]is[ ](?:
23
26
  a[ ][^ ]+[ ]authentication[ -]failure[ ]report
@@ -35,8 +38,7 @@ module Sisimai
35
38
  def description; return 'Abuse Feedback Reporting Format'; end
36
39
 
37
40
  # Email is a Feedback-Loop message or not
38
- # @param [Hash] heads Email header including "Content-Type", "From",
39
- # and "Subject" field
41
+ # @param [Hash] heads Email header including "Content-Type", "From", and "Subject" field
40
42
  # @return [True,False] true: Feedback Loop
41
43
  # false: is not Feedback loop
42
44
  def is_arf(heads)
@@ -111,12 +113,17 @@ module Sisimai
111
113
  # this specification is set to "1".
112
114
  #
113
115
  while e = bodyslices.shift do
116
+ # This is an email abuse report for an email message with the
117
+ # message-id of 0000-000000000000000000000000000000000@mx
118
+ # received from IP address 192.0.2.1 on
119
+ # Thu, 29 Apr 2010 00:00:00 +0900 (JST)
120
+ if e =~ MarkingsOf[:message]
121
+ commondata['diagnosis'] = e if commondata['diagnosis'].empty?
122
+ end
123
+
114
124
  if readcursor == 0
115
125
  # Beginning of the bounce message or message/delivery-status part
116
- if e =~ MarkingsOf[:message]
117
- readcursor |= Indicators[:deliverystatus]
118
- next
119
- end
126
+ readcursor |= Indicators[:deliverystatus] if e.start_with?(StartingOf[:report][0])
120
127
  end
121
128
 
122
129
  if (readcursor & Indicators[:'message-rfc822']) == 0
@@ -171,7 +178,7 @@ module Sisimai
171
178
  rcptintext = rhs if lhs == 'to'
172
179
  end
173
180
  else
174
- # message/delivery-status part
181
+ # message/feedback-report part
175
182
  next unless readcursor & Indicators[:deliverystatus] > 0
176
183
  next if e.empty?
177
184
 
@@ -228,7 +235,7 @@ module Sisimai
228
235
  # Reporting-MTA: dns; mx.example.jp
229
236
  commondata['rhost'] = cv[1]
230
237
 
231
- elsif cv = e.match(/\ASource-IP:[ ]*(.+)\z/)
238
+ elsif cv = e.match(/\ASource-I[Pp]:[ ]*(.+)\z/)
232
239
  # The header is optional and MUST NOT appear more than once.
233
240
  # Source-IP: 192.0.2.45
234
241
  arfheaders['rhost'] = cv[1]
@@ -238,12 +245,6 @@ module Sisimai
238
245
  # Original-Mail-From: <somespammer@example.net>
239
246
  commondata['from'] = Sisimai::Address.s3s4(cv[1]) if commondata['from'].empty?
240
247
 
241
- elsif e =~ MarkingsOf[:message]
242
- # This is an email abuse report for an email message with the
243
- # message-id of 0000-000000000000000000000000000000000@mx
244
- # received from IP address 192.0.2.1 on
245
- # Thu, 29 Apr 2010 00:00:00 +0900 (JST)
246
- commondata['diagnosis'] = e
247
248
  end
248
249
  end
249
250
  end
@@ -289,6 +290,7 @@ module Sisimai
289
290
 
290
291
  e['softbounce'] = -1
291
292
  e['diagnosis'] = commondata['diagnosis'] unless e['diagnosis']
293
+ e['diagnosis'] = Sisimai::String.sweep(e['diagnosis'])
292
294
  e['date'] = mhead['date'] if e['date'].empty?
293
295
  e['reason'] = 'feedback'
294
296
  e['agent'] = 'Feedback-Loop'
@@ -41,6 +41,7 @@ module Sisimai::Lhost
41
41
  This[ ]message[ ]was[ ]created[ ]automatically[ ]by[ ]mail[ ]delivery[ ]software[.]
42
42
  |A[ ]message[ ]that[ ]you[ ]sent[ ]was[ ]rejected[ ]by[ ]the[ ]local[ ]scanning[ ]code
43
43
  |A[ ]message[ ]that[ ]you[ ]sent[ ]contained[ ]one[ ]or[ ]more[ ]recipient[ ]addresses[ ]
44
+ |A[ ]message[ ]that[ ]you[ ]sent[ ]could[ ]not[ ]be[ ]delivered[ ]to[ ]all[ ]of[ ]its[ ]recipients
44
45
  |Message[ ][^ ]+[ ](?:has[ ]been[ ]frozen|was[ ]frozen[ ]on[ ]arrival)
45
46
  |The[ ][^ ]+[ ]router[ ]encountered[ ]the[ ]following[ ]error[(]s[)]:
46
47
  )
@@ -110,8 +110,7 @@ module Sisimai::Lhost
110
110
  # The mail system
111
111
  #
112
112
  # <userunknown@example.co.jp>: host mx.example.co.jp[192.0.2.153] said: 550
113
- # 5.1.1 <userunknown@example.co.jp>... User Unknown (in reply to RCPT TO
114
- # command)
113
+ # 5.1.1 <userunknown@example.co.jp>... User Unknown (in reply to RCPT TO command)
115
114
  if readslices[-2].start_with?('Diagnostic-Code:') && cv = e.match(/\A[ \t]+(.+)\z/)
116
115
  # Continued line of the value of Diagnostic-Code header
117
116
  v['diagnosis'] << ' ' << cv[1]
@@ -122,18 +121,12 @@ module Sisimai::Lhost
122
121
  emailsteak[1] << cv[1] << ': ' << cv[2] << "\n"
123
122
 
124
123
  else
125
- if cv = e.match(/[ \t][(]in reply to ([A-Z]{4}).*/)
124
+ if cv = e.match(/[ \t][(]in reply to (?:end of )?([A-Z]{4}).*/) ||
125
+ cv = e.match(/([A-Z]{4})[ \t]*.*command[)]\z/)
126
126
  # 5.1.1 <userunknown@example.co.jp>... User Unknown (in reply to RCPT TO
127
127
  commandset << cv[1]
128
128
  anotherset['diagnosis'] ||= ''
129
129
  anotherset['diagnosis'] << ' ' << e
130
-
131
- elsif cv = e.match(/([A-Z]{4})[ \t]*.*command[)]\z/)
132
- # to MAIL command)
133
- commandset << cv[1]
134
- anotherset['diagnosis'] ||= ''
135
- anotherset['diagnosis'] << ' ' << e
136
-
137
130
  else
138
131
  # Alternative error message and recipient
139
132
  if cv = e.match(/\A[<]([^ ]+[@][^ ]+)[>] [(]expanded from [<](.+)[>][)]:[ \t]*(.+)\z/)
@@ -73,6 +73,10 @@ module Sisimai::Lhost
73
73
  elsif cv = e.match(/\ARouting: (.+)/)
74
74
  # Routing: Could not find a gateway for kijitora@example.co.jp
75
75
  v['diagnosis'] = cv[1]
76
+
77
+ elsif cv = e.match(/\ADiagnostic-Code: smtp; (.+)/)
78
+ # Diagnostic-Code: smtp; 552 5.2.2 Over quota
79
+ v['diagnosis'] = cv[1]
76
80
  end
77
81
  end
78
82
  end
@@ -4,7 +4,6 @@ module Sisimai
4
4
  # Sisimai::Mail::Memory classes.
5
5
  class Mail
6
6
  # Imported from p5-Sisimail/lib/Sisimai/Mail.pm
7
- Until = 'v4.25.10'
8
7
 
9
8
  # :path [String] path to mbox or Maildir/
10
9
  # :kind [String] Data type: mailbox, maildir, or stdin
@@ -64,16 +63,6 @@ module Sisimai
64
63
  @data = parameter['data']
65
64
  end
66
65
 
67
- def mail
68
- warn " ***warning: Sisimai::Mail.mail will be removed at #{Until}. Use Sisimai::Mail.data instead"
69
- return data
70
- end
71
-
72
- def type
73
- warn " ***warning: Sisimai::Mail.type will be removed at #{Until}. Use Sisimai::Mail.kind instead"
74
- return kind
75
- end
76
-
77
66
  # Alias method of Sisimai::Mail.data.read()
78
67
  # @return [String] Contents of mbox/Maildir
79
68
  def read
@@ -81,15 +70,6 @@ module Sisimai
81
70
  return data.read
82
71
  end
83
72
 
84
- # Close the handle
85
- # @return [True,False] true: Successfully closed the handle
86
- # false: Mail handle is not defined
87
- def close
88
- warn " ***warning: Sisimai::Mail.close will be removed at #{Until}. The handle automatically closes at the EOF"
89
- return false unless data.handle
90
- data.handle = nil
91
- return true
92
- end
93
73
  end
94
74
  end
95
75
 
@@ -117,6 +117,7 @@ module Sisimai
117
117
  |check:[ ]fail
118
118
  )
119
119
  |spf:[ ][^ ]+[ ]is[ ]not[ ]allowed[ ]to[ ]send[ ]mail[.][ ][a-z0-9]_401
120
+ |temporarily[ ]deferred[ ]due[ ]to[ ]unexpected[ ]volume[ ]or[ ]user[ ]complaints
120
121
  |the[ ](?:email|domain|ip)[ ][^ ]+[ ]is[ ]blacklisted
121
122
  |this[ ]system[ ]will[ ]not[ ]accept[ ]messages[ ]from[ ]servers[/]devices[ ]with[ ]no[ ]reverse[ ]dns
122
123
  |too[ ]many[ ](?:
@@ -21,6 +21,7 @@ module Sisimai
21
21
  'because the recipient is not accepting mail with ', # AOL Phoenix
22
22
  'closed mailing list',
23
23
  'denied by policy',
24
+ 'dmarc policy',
24
25
  'email not accepted for policy reasons',
25
26
  # http://kb.mimecast.com/Mimecast_Knowledge_Base/Administration_Console/Monitoring/Mimecast_SMTP_Error_Codes#554
26
27
  'email rejected due to security policies',
@@ -92,7 +92,10 @@ module Sisimai
92
92
  'Messages with multiple addresses in From: header are not accepted.',
93
93
  'The user or domain that you are sending to (or from) has a policy',
94
94
  ]},
95
- { reason: 'rejected', string: ['Unauthenticated email is not accepted from this domain.'] },
95
+ { reason: 'rejected', string: [
96
+ 'This message does not have authentication information or fails to pass authentication checks',
97
+ 'Unauthenticated email is not accepted from this domain.',
98
+ ]},
96
99
  ],
97
100
  'X.7.4' => [{ reason: 'syntaxerror', string: ['Unrecognized Authentication Type.'] }],
98
101
  }.freeze
@@ -1,4 +1,4 @@
1
1
  # Define the version number of Sisimai
2
2
  module Sisimai
3
- VERSION = '4.25.9'.freeze
3
+ VERSION = '4.25.10'.freeze
4
4
  end
@@ -0,0 +1,61 @@
1
+ Return-path: <xxx+bnxxx@example.com>
2
+ Envelope-to: report@xxx.example.com
3
+ Delivery-date: Sat, 31 Oct 2020 19:32:58 +0100
4
+ Received: from mrd.us-east-1a.returnpath.net ([1.2.3.4])
5
+ by xxx.example.com with esmtps (TLSv1.2:AES128-GCM-SHA256:128)
6
+ (Exim 4.92)
7
+ (envelope-from <fbl@bounce.mailstream.senderscore.net>)
8
+ id xxx
9
+ for xxx@example.com; Sat, 31 Oct 2020 19:32:56 +0100
10
+ Received: (Haraka outbound); Sat, 31 Oct 2020 18:32:53 +0000
11
+ Received: from localhost ([1.2.3.4])
12
+ by mrd.us-east-1a.returnpath.net (Haraka/2.8.21) with ESMTP id zzz.1
13
+ envelope-from <fbl@bounce.mailstream.senderscore.net>;
14
+ Sat, 31 Oct 2020 18:32:53 +0000
15
+ Date: Sat, 31 Oct 2020 18:32:53 +0000
16
+ Mime-Version: 1.0
17
+ X-Rp-Fbl: type=arf; subscriptionID=xxxx
18
+ Content-Type: multipart/report; report-type=feedback-report;
19
+ boundary=47ddcc38f0377c4c57be69b027f0e571585485feff72a328f64251165e26
20
+ Message-Id: <01xxxx.fbl@bounce.mailstream.senderscore.net>
21
+ To: xxx@example.com
22
+ Subject: Rackspace Abuse Report
23
+ From: Rackspace FBL Service <feedbackloop@rackspacefbl.senderscore.net>
24
+ Received-SPF: pass (xxx.example.com: domain of bounce.mailstream.senderscore.net designates 1.2.3.4 as permitted sender) client-ip=1.2.3.4; envelope-from=fbl@bounce.mailstream.senderscore.net; helo=mrd.us-east-1a.returnpath.net;
25
+ X-SPF-Result: xxx.example.com: domain of bounce.mailstream.senderscore.net designates 1.2.3.4 as permitted sender
26
+ X-Original-Sender: feedbackloop@rackspacefbl.senderscore.net
27
+
28
+
29
+ --47ddcc38f0377c4c57be69b027f0e571585485feff72a328f64251165e26
30
+ Content-Type: text/plain; charset=UTF-8
31
+ Content-Transfer-Encoding: quoted-printable
32
+
33
+ This is a Rackspace Abuse Report for an email message received from domain =
34
+ example.com, IP 10.0.0.1, on Sat, 31 Oct 2020 18:02:57 +0000.
35
+
36
+ --47ddcc38f0377c4c57be69b027f0e571585485feff72a328f64251165e26
37
+ Content-Disposition: inline
38
+ Content-Transfer-Encoding: 8bit
39
+ Content-Type: message/feedback-report
40
+
41
+ Source-Ip: 10.0.0.1
42
+ User-Agent: ReturnPathFBL/2.0
43
+ Original-Rcpt-To: hashed@example.com
44
+ Reported-Domain: example.com
45
+ Original-Mail-From: alice@example.com
46
+ Source: Rackspace
47
+ Abuse-Type: complaint
48
+ Subscription-Link: https://fbl.returnpath.net/manage/subscriptions/xxxx
49
+ Feedback-Type: abuse
50
+ Version: 1
51
+ Arrival-Date: Sat, 31 Oct 2020 18:02:57 +0000
52
+
53
+
54
+ --47ddcc38f0377c4c57be69b027f0e571585485feff72a328f64251165e26
55
+ Content-Disposition: inline
56
+ Content-Transfer-Encoding: 8bit
57
+ Content-Type: message/rfc822
58
+
59
+ REDACTED
60
+
61
+ --47ddcc38f0377c4c57be69b027f0e571585485feff72a328f64251165e26--
@@ -0,0 +1,40 @@
1
+ Return-Path: <>
2
+ X-Original-To: xxxx@xxxx.net
3
+ Delivered-To: xxxx@xxxx.xxxx.net
4
+ Received: from xxxx.xxxx.net (xxxx.xxxx.net)
5
+ by xxxx.xxxx.net (Postfix) with ESMTP id A1733205DF79
6
+ for <xxxx@xxxx.net>; Tue, 13 Oct 2020 12:04:02 +0200 (CEST)
7
+ Received: from exim by xxxx.xxxx.net with local (Exim 4.82_1-5b7a7c0-XX)
8
+ id 1kSH9f-0005xf-18
9
+ for xxxx@xxxx.net; Tue, 13 Oct 2020 12:03:39 +0200
10
+ X-Failed-Recipients: xxxx@xxxx.net
11
+ Auto-Submitted: auto-replied
12
+ From: Mail Delivery System <Mailer-Daemon@xxxx.xxxx.net>
13
+ To: xxxx@xxxx.net
14
+ Subject: xxxx.xxxx.net Mail delivery failed : returning message to sender
15
+ Message-Id: <E1kSH9f-0005xf-18@xxxx.xxxx.net>
16
+ Date: Tue, 13 Oct 2020 12:03:39 +0200
17
+
18
+ This message was created automatically by the SMTP relay on xxxx.xxxx.net.
19
+
20
+ A message that you sent could not be delivered to all of its recipients.
21
+ The following address(es) failed:
22
+
23
+ xxxx@xxxx.net
24
+ SMTP error from remote mail server after RCPT TO:<xxxx@xxxx.net>:
25
+ host 192.0.2.22 [192.0.2.22]: 550 5.1.1 <xxxx@xxxx.net>:
26
+ Recipient address rejected: User unknown in local recipient table
27
+
28
+ ------ This is a copy of the message, including all the headers. ------
29
+
30
+ Return-path: <xxxx@xxxx.net>
31
+ Received: from xxxx.xxxx.net
32
+ by xxxx.xxxx.net with esmtp (Exim 4.82_1-5b7a7c0-XX)
33
+ (envelope-from <xxxx@xxxx.net>)
34
+ id 1kSH9d-0005pw-05
35
+ for xxxx@xxxx.net; Tue, 13 Oct 2020 12:03:37 +0200
36
+ Message-Id: <1602583415.xxxx@xxxx.net>
37
+ Feedback-Id: 52:1930
38
+ To: xxxx@xxxx.net
39
+ Reply-To: newsletter@xxxx.net
40
+ Content-Type: text/html; charset=utf-8
@@ -0,0 +1,80 @@
1
+ Return-Path: <>
2
+ Received: from mbox.example.jp (mail.example.jp [192.0.2.48])
3
+ by mx.example.jp (V8/cf) with ESMTP id 0AD0mYaG000334
4
+ for <postmaster@example.jp>; Fri, 13 Nov 2020 09:48:34 +0900
5
+ Received: from mbox.example.jp (localhost [127.0.0.1])
6
+ by mbox.example.jp (Postfix) with ESMTP id 4CXKb61hkLz22xZY
7
+ for <postmaster@sisimai.example.com>; Fri, 13 Nov 2020 09:48:34 +0900 (JST)
8
+ Received: from smtp.example.jp (smtp.example.jp [203.0.113.113])
9
+ by mbox.example.jp (Postfix) with ESMTP id 4CXKb61FPyz1yM4D
10
+ for <postmaster@sisimai.example.com>; Fri, 13 Nov 2020 09:48:34 +0900 (JST)
11
+ Received: by smtp.example.jp (Postfix)
12
+ id 056C3D244EC; Fri, 13 Nov 2020 09:48:34 +0900 (JST)
13
+ Date: Fri, 13 Nov 2020 09:48:34 +0900 (JST)
14
+ From: MAILER-DAEMON@smtp.example.jp (Mail Delivery System)
15
+ Subject: Undelivered Mail Returned to Sender
16
+ To: postmaster@sisimai.example.com
17
+ Auto-Submitted: auto-replied
18
+ MIME-Version: 1.0
19
+ Content-Type: multipart/report; report-type=delivery-status;
20
+ boundary="08513C0196A.1605228514/smtp.example.jp"
21
+ Message-Id: <20201113004834.056C3D244EC@smtp.example.jp>
22
+ X-Virus-Scanned: ClamAV using ClamSMTP
23
+
24
+ This is a MIME-encapsulated message.
25
+
26
+ --08513C0196A.1605228514/smtp.example.jp
27
+ Content-Description: Notification
28
+ Content-Type: text/plain; charset=us-ascii
29
+
30
+ This is the mail system at host smtp.example.jp.
31
+
32
+ I'm sorry to have to inform you that your message could not
33
+ be delivered to one or more recipients. It's attached below.
34
+
35
+ For further assistance, please send mail to postmaster.
36
+
37
+ If you do so, please include this problem report. You can
38
+ delete your own text from the attached returned message.
39
+
40
+ The mail system
41
+
42
+ <kijitora@aol.example.jp>: host mx-aol.mail.gm0.yahoodns.net[67.195.204.80] said:
43
+ 554 5.7.9 Message not accepted for policy reasons. See
44
+ https://postmaster.verizonmedia.com/error-codes (in reply to end of DATA
45
+ command)
46
+
47
+ --08513C0196A.1605228514/smtp.example.jp
48
+ Content-Description: Delivery report
49
+ Content-Type: message/delivery-status
50
+
51
+ Reporting-MTA: dns; smtp.example.jp
52
+ X-Postfix-Queue-ID: 08513C0196A
53
+ X-Postfix-Sender: rfc822; postmaster@sisimai.example.com
54
+ Arrival-Date: Fri, 13 Nov 2020 09:47:59 +0900 (JST)
55
+
56
+ Final-Recipient: rfc822; kijitora@aol.example.jp
57
+ Original-Recipient: rfc822;kijitora@aol.example.jp
58
+ Action: failed
59
+ Status: 5.7.9
60
+ Remote-MTA: dns; mx-aol.mail.gm0.yahoodns.net
61
+ Diagnostic-Code: smtp; 554 5.7.9 Message not accepted for policy reasons. See
62
+ https://postmaster.verizonmedia.com/error-codes
63
+
64
+ --08513C0196A.1605228514/smtp.example.jp
65
+ Content-Description: Undelivered Message
66
+ Content-Type: message/rfc822
67
+
68
+ Return-Path: <postmaster@sisimai.example.com>
69
+ Received: from [127.0.0.1] (localhost [127.0.0.1])
70
+ by smtp.example.jp (Postfix) with ESMTP id 08513C0196A
71
+ for <kijitora@aol.example.jp>; Fri, 13 Nov 2020 09:47:59 +0900 (JST)
72
+ From: postmaster@libsisimai.org
73
+ Subject: TEST FOR DMARC #7
74
+ To: kijitora@aol.example.jp
75
+ Message-Id: <20201113004812.08513C0196A@smtp.example.jp>
76
+ Date: Fri, 13 Nov 2020 09:47:59 +0900 (JST)
77
+
78
+ Nyaan
79
+
80
+ --08513C0196A.1605228514/smtp.example.jp--
@@ -0,0 +1,80 @@
1
+ Return-Path: <>
2
+ Received: from mbox.example.jp (mail.example.jp [192.0.2.48])
3
+ by mx.example.jp (V8/cf) with ESMTP id 0AD0ngL7000414
4
+ for <postmaster@example.jp>; Fri, 13 Nov 2020 09:49:43 +0900
5
+ Received: from mbox.example.jp (localhost [127.0.0.1])
6
+ by mbox.example.jp (Postfix) with ESMTP id 4CXKcQ60rGz22xZY
7
+ for <postmaster@sisimai.example.com>; Fri, 13 Nov 2020 09:49:42 +0900 (JST)
8
+ Received: from smtp.example.jp (smtp.example.jp [203.0.113.113])
9
+ by mbox.example.jp (Postfix) with ESMTP id 4CXKcQ5YPpz1yM4D
10
+ for <postmaster@sisimai.example.com>; Fri, 13 Nov 2020 09:49:42 +0900 (JST)
11
+ Received: by smtp.example.jp (Postfix)
12
+ id ADEACD244EC; Fri, 13 Nov 2020 09:49:42 +0900 (JST)
13
+ Date: Fri, 13 Nov 2020 09:49:42 +0900 (JST)
14
+ From: MAILER-DAEMON@smtp.example.jp (Mail Delivery System)
15
+ Subject: Undelivered Mail Returned to Sender
16
+ To: postmaster@sisimai.example.com
17
+ Auto-Submitted: auto-replied
18
+ MIME-Version: 1.0
19
+ Content-Type: multipart/report; report-type=delivery-status;
20
+ boundary="B5693C0196A.1605228582/smtp.example.jp"
21
+ Message-Id: <20201113004942.ADEACD244EC@smtp.example.jp>
22
+ X-Virus-Scanned: ClamAV using ClamSMTP
23
+
24
+ This is a MIME-encapsulated message.
25
+
26
+ --B5693C0196A.1605228582/smtp.example.jp
27
+ Content-Description: Notification
28
+ Content-Type: text/plain; charset=us-ascii
29
+
30
+ This is the mail system at host smtp.example.jp.
31
+
32
+ I'm sorry to have to inform you that your message could not
33
+ be delivered to one or more recipients. It's attached below.
34
+
35
+ For further assistance, please send mail to postmaster.
36
+
37
+ If you do so, please include this problem report. You can
38
+ delete your own text from the attached returned message.
39
+
40
+ The mail system
41
+
42
+ <kijitora@aol.example.jp>: host mx-aol.mail.gm0.yahoodns.net[67.195.228.84] said:
43
+ 554 5.7.9 Message not accepted for policy reasons. See
44
+ https://postmaster.verizonmedia.com/error-codes (in reply to end of DATA
45
+ command)
46
+
47
+ --B5693C0196A.1605228582/smtp.example.jp
48
+ Content-Description: Delivery report
49
+ Content-Type: message/delivery-status
50
+
51
+ Reporting-MTA: dns; smtp.example.jp
52
+ X-Postfix-Queue-ID: B5693C0196A
53
+ X-Postfix-Sender: rfc822; postmaster@sisimai.example.com
54
+ Arrival-Date: Fri, 13 Nov 2020 09:49:11 +0900 (JST)
55
+
56
+ Final-Recipient: rfc822; kijitora@aol.example.jp
57
+ Original-Recipient: rfc822;kijitora@aol.example.jp
58
+ Action: failed
59
+ Status: 5.7.9
60
+ Remote-MTA: dns; mx-aol.mail.gm0.yahoodns.net
61
+ Diagnostic-Code: smtp; 554 5.7.9 Message not accepted for policy reasons. See
62
+ https://postmaster.verizonmedia.com/error-codes
63
+
64
+ --B5693C0196A.1605228582/smtp.example.jp
65
+ Content-Description: Undelivered Message
66
+ Content-Type: message/rfc822
67
+
68
+ Return-Path: <postmaster@sisimai.example.com>
69
+ Received: from [127,0.0.1] (localhost [127.0.0.1])
70
+ by smtp.example.jp (Postfix) with ESMTP id B5693C0196A
71
+ for <kijitora@aol.example.jp>; Fri, 13 Nov 2020 09:49:11 +0900 (JST)
72
+ Subject: TEST FOR DMARC #8
73
+ From: postmaster@libsisimai.org
74
+ To: kijitora@aol.example.jp
75
+ Message-Id: <20201113004922.B5693C0196A@smtp.example.jp>
76
+ Date: Fri, 13 Nov 2020 09:49:11 +0900 (JST)
77
+
78
+ Nyaan
79
+
80
+ --B5693C0196A.1605228582/smtp.example.jp--