From 71cd35cb576a801ea38a9306bb2f0b5f910b6533 Mon Sep 17 00:00:00 2001 From: azumakuniyuki Date: Tue, 2 May 2017 19:11:24 +0900 Subject: [PATCH 1/9] Import commit https://github.com/sisimai/p5-Sisimai/commit/08801a3ec721d2e3ba88059f22e06e527b06e906, sample emails from mail.ru(DNS related errors) --- .../maildir/bsd/msp-ru-mailru-05.eml | 77 +++++++++++++++++++ .../maildir/bsd/msp-ru-mailru-06.eml | 77 +++++++++++++++++++ spec/sisimai/mail/maildir_spec.rb | 2 +- spec/sisimai/msp/public-children_spec.rb | 2 + 4 files changed, 157 insertions(+), 1 deletion(-) create mode 100644 set-of-emails/maildir/bsd/msp-ru-mailru-05.eml create mode 100644 set-of-emails/maildir/bsd/msp-ru-mailru-06.eml diff --git a/set-of-emails/maildir/bsd/msp-ru-mailru-05.eml b/set-of-emails/maildir/bsd/msp-ru-mailru-05.eml new file mode 100644 index 00000000..2af32315 --- /dev/null +++ b/set-of-emails/maildir/bsd/msp-ru-mailru-05.eml @@ -0,0 +1,77 @@ +Delivered-To: kijitora@mail.example.ru +Return-path: <> +Received: from mail by f374.i.mail.ru with local id 1d5Q4V-00059X-Fc + for kijitora@mail.example.ru; Tue, 02 May 2017 08:09:59 +0300 +X-Failed-Recipients: neko@libsisimai.org +X-Mailer-Daemon-Recipients: neko@libsisimai.org +Auto-Submitted: auto-replied +From: mailer-daemon@corp.mail.ru +To: kijitora@mail.example.ru +Content-Transfer-Encoding: 8bit +Content-Type: text/plain; charset=utf-8 +Subject: =?UTF-8?B?0JLQsNGI0LUg0YHQvtC+0LHRidC10L3QuNC1INC90LUg0LTQvtGB0YLQsNCy0LvQtdC90L4=?=. Mail failure. +Message-Id: +Date: Tue, 02 May 2017 08:09:59 +0300 +Authentication-Results: f374.i.mail.ru; auth=pass smtp.auth=mailer-daemon@corp.mail.ru smtp.mailfrom=mailer-daemon@corp.mail.ru + +Это письмо создано автоматически сервером Mail.Ru, отвечать на него не нужно. + +К сожалению, Ваше письмо не может быть доставлено одному или нескольким получателям: + + neko@libsisimai.org + an MX or SRV record indicated no SMTP service + +Рекомендуем Вам проверить корректность указания адресов получателей. + +********************** + + +This message was created automatically by mail delivery software. + +A message that you sent could not be delivered to one or more of its +recipients. This is a permanent error. The following address(es) failed: + + neko@libsisimai.org + an MX or SRV record indicated no SMTP service + +------ This is a copy of the message, including all the headers. ------ + +Return-path: +Received: by f374.i.mail.ru with local (envelope-from ) + id 1d5Q4U-000593-VB + for neko@libsisimai.org; Tue, 02 May 2017 08:09:59 +0300 +Received: by e.mail.ru with HTTP; + Tue, 02 May 2017 08:09:58 +0300 +From: =?UTF-8?B?a3VuaXl1a2kgYXp1bWE=?= +To: neko@libsisimai.org +Subject: =?UTF-8?B?TnlhYW4=?= +MIME-Version: 1.0 +X-Mailer: Mail.Ru Mailer 1.0 +X-Originating-IP: [153.156.254.67] +Date: Tue, 02 May 2017 08:09:58 +0300 +Reply-To: =?UTF-8?B?a3VuaXl1a2kgYXp1bWE=?= +X-Priority: 3 (Normal) +Message-ID: <1493701798.665756489@f374.i.mail.ru> +Content-Type: multipart/alternative; + boundary="--ALT--qqqn6VNShwvuoizcDcWlJtnHLZxN41Kt1493701798" +Authentication-Results: f374.i.mail.ru; auth=pass smtp.auth=kijitora@mail.example.ru smtp.mailfrom=kijitora@mail.example.ru +X-7FA49CB5: 0D63561A33F958A55613AE6EA04A40B8599B686407CD0FFA85278A3262A38F3A725E5C173C3A84C31843B52DAC7A1853BE6448F529FC3EDD4E672349037D5FA5C4224003CC836476C0CAF46E325F83A50BF2EBBBDD9D6B0F2AF38021CC9F462D574AF45C6390F7469DAA53EE0834AAEE +X-Mailru-Sender: 052F3EE632032033F266ABDBF0757312F10615B9947D4BE94F098A93F446C8CA2AF7FA9068B537F6C2F39516BD8028B71D295F8817E181A9626B1D7BE3F966DCC1066F626AABBBD95843B8C90ECF6809064FDD5B919501F067EA787935ED9F1B +X-Mras: OK +X-Spam: undefined + + +----ALT--qqqn6VNShwvuoizcDcWlJtnHLZxN41Kt1493701798 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: base64 + +Ck55YWFuCgotLSAKa3VuaXl1a2kgYXp1bWE= + +----ALT--qqqn6VNShwvuoizcDcWlJtnHLZxN41Kt1493701798 +Content-Type: text/html; charset=utf-8 +Content-Transfer-Encoding: base64 + +CjxIVE1MPjxCT0RZPjxicj5OeWFhbjxicj48YnI+LS0gPGJyPmt1bml5dWtpIGF6dW1hPC9CT0RZ +PjwvSFRNTD4K + +----ALT--qqqn6VNShwvuoizcDcWlJtnHLZxN41Kt1493701798-- diff --git a/set-of-emails/maildir/bsd/msp-ru-mailru-06.eml b/set-of-emails/maildir/bsd/msp-ru-mailru-06.eml new file mode 100644 index 00000000..2994a65d --- /dev/null +++ b/set-of-emails/maildir/bsd/msp-ru-mailru-06.eml @@ -0,0 +1,77 @@ +Delivered-To: kijitora@mail.example.ru +Return-path: <> +Received: from mail by f424.i.mail.ru with local id 1d5Q3j-0002h2-9s + for kijitora@mail.example.ru; Tue, 02 May 2017 08:09:11 +0300 +X-Failed-Recipients: nyan@haineko.org +X-Mailer-Daemon-Recipients: nyan@haineko.org +Auto-Submitted: auto-replied +From: mailer-daemon@corp.mail.ru +To: kijitora@mail.example.ru +Content-Transfer-Encoding: 8bit +Content-Type: text/plain; charset=utf-8 +Subject: =?UTF-8?B?0JLQsNGI0LUg0YHQvtC+0LHRidC10L3QuNC1INC90LUg0LTQvtGB0YLQsNCy0LvQtdC90L4=?=. Mail failure. +Message-Id: +Date: Tue, 02 May 2017 08:09:11 +0300 +Authentication-Results: f424.i.mail.ru; auth=pass smtp.auth=mailer-daemon@corp.mail.ru smtp.mailfrom=mailer-daemon@corp.mail.ru + +Это письмо создано автоматически сервером Mail.Ru, отвечать на него не нужно. + +К сожалению, Ваше письмо не может быть доставлено одному или нескольким получателям: + + nyan@haineko.org + Unrouteable address + +Рекомендуем Вам проверить корректность указания адресов получателей. + +********************** + + +This message was created automatically by mail delivery software. + +A message that you sent could not be delivered to one or more of its +recipients. This is a permanent error. The following address(es) failed: + + nyan@haineko.org + Unrouteable address + +------ This is a copy of the message, including all the headers. ------ + +Return-path: +Received: by f424.i.mail.ru with local (envelope-from ) + id 1d5Q3i-0002gb-Ta + for nyan@haineko.org; Tue, 02 May 2017 08:09:11 +0300 +Received: by e.mail.ru with HTTP; + Tue, 02 May 2017 08:09:10 +0300 +From: =?UTF-8?B?a3VuaXl1a2kgYXp1bWE=?= +To: nyan@haineko.org +Subject: =?UTF-8?B?TnlhYW4=?= +MIME-Version: 1.0 +X-Mailer: Mail.Ru Mailer 1.0 +X-Originating-IP: [153.156.254.67] +Date: Tue, 02 May 2017 08:09:10 +0300 +Reply-To: =?UTF-8?B?a3VuaXl1a2kgYXp1bWE=?= +X-Priority: 3 (Normal) +Message-ID: <1493701750.688484291@f424.i.mail.ru> +Content-Type: multipart/alternative; + boundary="--ALT--nnNyODYWnVksFwXiw8b55iGN4VO4Rhdo1493701750" +Authentication-Results: f424.i.mail.ru; auth=pass smtp.auth=kijitora@mail.example.ru smtp.mailfrom=kijitora@mail.example.ru +X-7FA49CB5: 0D63561A33F958A5F7DC017766D087288D96C51F59D1EFF775920203ACDF7AC6725E5C173C3A84C3BC2DAF0A2DE4255E38FEA4E4FF5B79C8789C969B8F27C422C4224003CC836476C0CAF46E325F83A50BF2EBBBDD9D6B0F5D41B9178041F3E72623479134186CDE6BA297DBC24807EABDAD6C7F3747799A +X-Mailru-Sender: 052F3EE632032033F266ABDBF07573123E8F7A2EE55AC8B2E97FE09ED3E3287C3AE1F61852031267C2F39516BD8028B71D295F8817E181A9626B1D7BE3F966DCC1066F626AABBBD95843B8C90ECF6809064FDD5B919501F067EA787935ED9F1B +X-Mras: OK +X-Spam: undefined + + +----ALT--nnNyODYWnVksFwXiw8b55iGN4VO4Rhdo1493701750 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: base64 + +Ck55YWFuCgotLSAKa3VuaXl1a2kgYXp1bWE= + +----ALT--nnNyODYWnVksFwXiw8b55iGN4VO4Rhdo1493701750 +Content-Type: text/html; charset=utf-8 +Content-Transfer-Encoding: base64 + +CjxIVE1MPjxCT0RZPjxicj5OeWFhbjxicj48YnI+LS0gPGJyPmt1bml5dWtpIGF6dW1hPC9CT0RZ +PjwvSFRNTD4K + +----ALT--nnNyODYWnVksFwXiw8b55iGN4VO4Rhdo1493701750-- diff --git a/spec/sisimai/mail/maildir_spec.rb b/spec/sisimai/mail/maildir_spec.rb index c8ed7107..4b11c0d8 100644 --- a/spec/sisimai/mail/maildir_spec.rb +++ b/spec/sisimai/mail/maildir_spec.rb @@ -3,7 +3,7 @@ describe Sisimai::Mail::Maildir do samplemaildir = './set-of-emails/maildir/bsd' - allofthefiles = 356 + allofthefiles = 358 let(:mailobj) { Sisimai::Mail::Maildir.new(samples) } let(:mockobj) { Sisimai::Mail::Maildir.new(invalid) } diff --git a/spec/sisimai/msp/public-children_spec.rb b/spec/sisimai/msp/public-children_spec.rb index f0ebe874..14f0df32 100644 --- a/spec/sisimai/msp/public-children_spec.rb +++ b/spec/sisimai/msp/public-children_spec.rb @@ -36,6 +36,8 @@ '02' => { 's' => %r/\A5[.]2[.]2\z/, 'r' => %r/mailboxfull/, 'b' => %r/\A1\z/ }, '03' => { 's' => %r/\A5[.][12][.][12]\z/, 'r' => %r/(?:userunknown|mailboxfull)/, 'b' => %r/\A[01]\z/ }, '04' => { 's' => %r/\A5[.]1[.]1\z/, 'r' => %r/userunknown/, 'b' => %r/\A0\z/ }, + '05' => { 's' => %r/\A5[.]0[.].+\z/, 'r' => %r/notaccept/, 'b' => %r/\A0\z/ }, + '06' => { 's' => %r/\A5[.]0[.].+\z/, 'r' => %r/hostunknown/, 'b' => %r/\A0\z/ }, }, 'RU::Yandex' => { '01' => { 's' => %r/\A5[.]1[.]1\z/, 'r' => %r/userunknown/, 'b' => %r/\A0\z/ }, From f97fc7b8444f362ff946c33609b3d153fd8a41b5 Mon Sep 17 00:00:00 2001 From: azumakuniyuki Date: Wed, 3 May 2017 11:20:53 +0900 Subject: [PATCH 2/9] Register sample email for RFC7505(NullMX): sisimai/set-of-emails#4 --- set-of-emails/maildir/bsd/msp-us-aol-06.eml | 105 ++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 set-of-emails/maildir/bsd/msp-us-aol-06.eml diff --git a/set-of-emails/maildir/bsd/msp-us-aol-06.eml b/set-of-emails/maildir/bsd/msp-us-aol-06.eml new file mode 100644 index 00000000..630b69b1 --- /dev/null +++ b/set-of-emails/maildir/bsd/msp-us-aol-06.eml @@ -0,0 +1,105 @@ +Return-Path: +Received: from imb-a04e.mx.aol.example.com (imb-a04.mx.aol.example.com [10.72.101.105]) + (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) + (No client certificate requested) + by mtaiw-mcb08.mx.aol.example.com (Internet Inbound) with ESMTPS id C062370000082 + for ; Tue, 2 May 2017 01:16:59 -0400 (EDT) +Received: from omr-a015e.mx.aol.example.com (omr-a015.mx.aol.example.com [10.72.105.232]) + (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) + (No client certificate requested) + by imb-a04e.mx.aol.example.com (AOL Mail Bouncer) with ESMTPS id 9E9973800243 + for ; Tue, 2 May 2017 01:16:59 -0400 (EDT) +Received: by omr-a015e.mx.aol.example.com (Outbound Mail Relay) + id 94251380008C; Tue, 2 May 2017 01:16:59 -0400 (EDT) +Date: Tue, 2 May 2017 01:16:59 -0400 (EDT) +From: MAILER-DAEMON@AOL.com (Mail Delivery System) +Subject: Undelivered Mail Returned to Sender +To: kijitora@aol.example.com +Auto-Submitted: auto-replied +MIME-Version: 1.0 +Content-Type: multipart/report; report-type=delivery-status; + boundary="AFC863800087.1493702219/omr-a015e.mx.aol.example.com" +Message-Id: <20170502051659.94251380008C@omr-a015e.mx.aol.example.com> +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.example.com; + s=20150623; t=1493702219; + bh=iPCbHJ2jPQpy7gdsZmBye4j9C8lNj9z8i6fekcaNeSs=; + h=From:To:Subject:Message-Id:Date:MIME-Version:Content-Type; + b=nGg54EFB072k0xjb0IUv+cyynAeeER49V4O2xUQ6Epc4q4/Ijb/SrBNmkQ1BUhP8L + o9XWFk/xjNbZA1AL1ITG0kyn9mxw8b/0xsu9gUBkT4WIw5+skD192HGAdl/N7wGqjG + fQOQNt70ifmU/u+dqjqlvXgnagttNYGuAevD/FM8= +x-aol-global-disposition: G +x-aol-sid: 3039ac1a32a55908164b3e26 +X-AOL-IP: 10.72.101.105 + +This is a MIME-encapsulated message. + +--AFC863800087.1493702219/omr-a015e.mx.aol.example.com +Content-Description: Notification +Content-Type: text/plain; charset=us-ascii + +This is the mail system at host omr-a015e.mx.aol.example.com. + +I'm sorry to have to inform you that your message could not +be delivered to one or more recipients. It's attached below. + +For further assistance, please send mail to postmaster. + +If you do so, please include this problem report. You can +delete your own text from the attached returned message. + + The mail system + +: Name service error for name=libsisimai.org type=MX: + Malformed or unexpected name server reply + +--AFC863800087.1493702219/omr-a015e.mx.aol.example.com +Content-Description: Delivery report +Content-Type: message/delivery-status + +Reporting-MTA: dns; omr-a015e.mx.aol.example.com +X-Outbound-Mail-Relay-Queue-ID: AFC863800087 +X-Outbound-Mail-Relay-Sender: rfc822; kijitora@aol.example.com +Arrival-Date: Tue, 2 May 2017 01:16:58 -0400 (EDT) + +Final-Recipient: rfc822; neko@libsisimai.org +Original-Recipient: rfc822;neko@libsisimai.org +Action: failed +Status: 5.4.4 +Diagnostic-Code: X-Outbound-Mail-Relay; Name service error for + name=libsisimai.org type=MX: Malformed or unexpected name server reply + +--AFC863800087.1493702219/omr-a015e.mx.aol.example.com +Content-Description: Undelivered Message Headers +Content-Type: text/rfc822-headers + +Return-Path: +Received: from mtaomg-mcb01.mx.aol.example.com (mtaomg-mcb01.mx.aol.example.com [172.26.50.175]) + by omr-a015e.mx.aol.example.com (Outbound Mail Relay) with ESMTP id AFC863800087 + for ; Tue, 2 May 2017 01:16:58 -0400 (EDT) +Received: from core-aaa03a.mail.aol.example.com (core-aaa03.mail.aol.example.com [172.26.125.3]) + by mtaomg-mcb01.mx.aol.example.com (OMAG/Core Interface) with ESMTP id 5CB5338000082 + for ; Tue, 2 May 2017 01:16:58 -0400 (EDT) +Received: from 153.156.254.67 by webprd-m12.mail.aol.example.com (10.74.58.176) with HTTP (WebMailUI); Tue, 02 May 2017 01:16:58 -0400 +Date: Tue, 2 May 2017 01:16:58 -0400 +From: kijitora +To: neko@libsisimai.org +Message-Id: <15bc797120b-5852-14fd1@webprd-m12.mail.aol.example.com> +Subject: Nyaan +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: 7bit +X-MB-Message-Source: WebUI +X-MB-Message-Type: User +X-Mailer: JAS STD +X-Originating-IP: [153.156.254.67] +x-aol-global-disposition: G +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.example.com; + s=20150623; t=1493702218; + bh=ZIzoLxkO6DTsSDI/+AFKxpWxCMR2TOMCWjxgPIUzUQY=; + h=From:To:Subject:Message-Id:Date:MIME-Version:Content-Type; + b=aHrZB9S3AdWEXTXDeTptKwUjqWZnzEN6La3CE9itVcOLt5K1Naxas3k5Y4iGtxeeG + KwedPk81ZD42YU3BHg5pkh6tTOd8sQ4ciHN3d2I/OslKr3ML3QwokPBmWhB9205Xj2 + t3qAf/ES13UiIPv7iqLRozzM2jE9XT4iY1bd6Sik= +x-aol-sid: 3039ac1a32af5908164a0262 + +--AFC863800087.1493702219/omr-a015e.mx.aol.example.com-- From 4b3cfaee65b92cca1c86bdbdc2249fa1db4500be Mon Sep 17 00:00:00 2001 From: azumakuniyuki Date: Wed, 3 May 2017 11:21:24 +0900 Subject: [PATCH 3/9] Update an error message pattern to detect RFC7505(NullMX) error: sisimai/set-of-emails#4 --- lib/sisimai/msp/us/aol.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/sisimai/msp/us/aol.rb b/lib/sisimai/msp/us/aol.rb index 5c1aae8b..dae231f6 100644 --- a/lib/sisimai/msp/us/aol.rb +++ b/lib/sisimai/msp/us/aol.rb @@ -19,6 +19,7 @@ class << self } ReFailure = { hostunknown: %r/Host[ ]or[ ]domain[ ]name[ ]not[ ]found/, + notaccept: %r/type=MX:[ ]Malformed[ ]or[ ]unexpected[ ]name[ ]server[ ]reply/, } Indicators = Sisimai::MSP.INDICATORS From 002a3d1c4f48755683c98b56748f8eaad465e80a Mon Sep 17 00:00:00 2001 From: azumakuniyuki Date: Wed, 3 May 2017 11:21:44 +0900 Subject: [PATCH 4/9] Register DNS related error message as a sample --- set-of-emails/maildir/bsd/msp-us-aol-05.eml | 105 ++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 set-of-emails/maildir/bsd/msp-us-aol-05.eml diff --git a/set-of-emails/maildir/bsd/msp-us-aol-05.eml b/set-of-emails/maildir/bsd/msp-us-aol-05.eml new file mode 100644 index 00000000..31e61611 --- /dev/null +++ b/set-of-emails/maildir/bsd/msp-us-aol-05.eml @@ -0,0 +1,105 @@ +Return-Path: +Received: from imb-m02e.mx.aol.example.com (imb-m02.mx.aol.example.com [10.74.122.177]) + (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) + (No client certificate requested) + by mtaiw-mbe01.mx.aol.example.com (Internet Inbound) with ESMTPS id 4C64E70000088 + for ; Tue, 2 May 2017 01:16:02 -0400 (EDT) +Received: from omr-m013e.mx.aol.example.com (omr-m013.mx.aol.example.com [10.74.117.72]) + (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) + (No client certificate requested) + by imb-m02e.mx.aol.example.com (AOL Mail Bouncer) with ESMTPS id 1DC2B38000A3 + for ; Tue, 2 May 2017 01:16:02 -0400 (EDT) +Received: by omr-m013e.mx.aol.example.com (Outbound Mail Relay) + id 05BAF38000A2; Tue, 2 May 2017 01:16:02 -0400 (EDT) +Date: Tue, 2 May 2017 01:16:02 -0400 (EDT) +From: MAILER-DAEMON@AOL.com (Mail Delivery System) +Subject: Undelivered Mail Returned to Sender +To: kijitora@aol.example.com +Auto-Submitted: auto-replied +MIME-Version: 1.0 +Content-Type: multipart/report; report-type=delivery-status; + boundary="F209A380008E.1493702162/omr-m013e.mx.aol.example.com" +Message-Id: <20170502051602.05BAF38000A2@omr-m013e.mx.aol.example.com> +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.example.com; + s=20150623; t=1493702162; + bh=EM4Muy1q7hmimNEN3/oGGsqaJFefya98SOuL0QHMp6s=; + h=From:To:Subject:Message-Id:Date:MIME-Version:Content-Type; + b=idE4OS3iKKKDHGJ2sQo0mYXhdtrZyRj3vr6xlpSl5EpaFD94QUFGrpuAGpNQ8FEW/ + 2xsmrncOgtUAAT/VCirh0oI1yI+OCdD3GS28jZWOMI69/k27oHt5smT1Es9Ea4YsFr + zOiwaA9T5lK4wLa/AfR03/Ta9eV9CoOMAtG9MOGw= +x-aol-global-disposition: G +x-aol-sid: 3039ac1afea7590816126e54 +X-AOL-IP: 10.74.122.177 + +This is a MIME-encapsulated message. + +--F209A380008E.1493702162/omr-m013e.mx.aol.example.com +Content-Description: Notification +Content-Type: text/plain; charset=us-ascii + +This is the mail system at host omr-m013e.mx.aol.example.com. + +I'm sorry to have to inform you that your message could not +be delivered to one or more recipients. It's attached below. + +For further assistance, please send mail to postmaster. + +If you do so, please include this problem report. You can +delete your own text from the attached returned message. + + The mail system + +: Host or domain name not found. Name service error for + name=haineko.org type=A: Host not found + +--F209A380008E.1493702162/omr-m013e.mx.aol.example.com +Content-Description: Delivery report +Content-Type: message/delivery-status + +Reporting-MTA: dns; omr-m013e.mx.aol.example.com +X-Outbound-Mail-Relay-Queue-ID: F209A380008E +X-Outbound-Mail-Relay-Sender: rfc822; kijitora@aol.example.com +Arrival-Date: Tue, 2 May 2017 01:16:01 -0400 (EDT) + +Final-Recipient: rfc822; nyan@haineko.org +Original-Recipient: rfc822;nyan@haineko.org +Action: failed +Status: 5.4.4 +Diagnostic-Code: X-Outbound-Mail-Relay; Host or domain name not found. Name + service error for name=haineko.org type=A: Host not found + +--F209A380008E.1493702162/omr-m013e.mx.aol.example.com +Content-Description: Undelivered Message Headers +Content-Type: text/rfc822-headers + +Return-Path: +Received: from mtaomg-mae01.mx.aol.example.com (mtaomg-mae01.mx.aol.example.com [172.26.254.143]) + by omr-m013e.mx.aol.example.com (Outbound Mail Relay) with ESMTP id F209A380008E + for ; Tue, 2 May 2017 01:16:01 -0400 (EDT) +Received: from core-aaa03a.mail.aol.example.com (core-aaa03.mail.aol.example.com [172.26.125.3]) + by mtaomg-mae01.mx.aol.example.com (OMAG/Core Interface) with ESMTP id 9D1EF38000081 + for ; Tue, 2 May 2017 01:16:01 -0400 (EDT) +Received: from 153.156.254.67 by webprd-m12.mail.aol.example.com (10.74.58.176) with HTTP (WebMailUI); Tue, 02 May 2017 01:16:01 -0400 +Date: Tue, 2 May 2017 01:16:01 -0400 +From: kijitora +To: nyan@haineko.org +Message-Id: <15bc79632bf-5852-14fcf@webprd-m12.mail.aol.example.com> +Subject: Nyaan +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: 7bit +X-MB-Message-Source: WebUI +X-MB-Message-Type: User +X-Mailer: JAS STD +X-Originating-IP: [153.156.254.67] +x-aol-global-disposition: G +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.example.com; + s=20150623; t=1493702161; + bh=ZIzoLxkO6DTsSDI/+AFKxpWxCMR2TOMCWjxgPIUzUQY=; + h=From:To:Subject:Message-Id:Date:MIME-Version:Content-Type; + b=44E5GcdTTQ/360MhjyaY+XQsSG4/e6Py2qYkwNMJIDC8tgFkbOIA0AhcNtIiyBzun + +Cwm/gfZ73dubqoz+yR+kvYKHBB8uZ3UQDoMY2I2AvUgdPtmvxlrx/Fgzqp55lSlsN + V9nw25a8VHOjT7ejkmv+diBq905ZxgKUSP0ursYo= +x-aol-sid: 3039ac1afe8f5908161148be + +--F209A380008E.1493702162/omr-m013e.mx.aol.example.com-- From 912e0b7bfef620c8c77a01d04f0ae0eeaad424f7 Mon Sep 17 00:00:00 2001 From: azumakuniyuki Date: Wed, 3 May 2017 11:22:37 +0900 Subject: [PATCH 5/9] Update test codes for commit f97fc7b, 4b3cfae and 002a3d1 --- spec/sisimai/mail/maildir_spec.rb | 2 +- spec/sisimai/msp/public-children_spec.rb | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/sisimai/mail/maildir_spec.rb b/spec/sisimai/mail/maildir_spec.rb index 4b11c0d8..c206c4ad 100644 --- a/spec/sisimai/mail/maildir_spec.rb +++ b/spec/sisimai/mail/maildir_spec.rb @@ -3,7 +3,7 @@ describe Sisimai::Mail::Maildir do samplemaildir = './set-of-emails/maildir/bsd' - allofthefiles = 358 + allofthefiles = 360 let(:mailobj) { Sisimai::Mail::Maildir.new(samples) } let(:mockobj) { Sisimai::Mail::Maildir.new(invalid) } diff --git a/spec/sisimai/msp/public-children_spec.rb b/spec/sisimai/msp/public-children_spec.rb index 14f0df32..517e6594 100644 --- a/spec/sisimai/msp/public-children_spec.rb +++ b/spec/sisimai/msp/public-children_spec.rb @@ -71,6 +71,8 @@ '02' => { 's' => %r/\A5[.]2[.]2\z/, 'r' => %r/mailboxfull/, 'b' => %r/\A1\z/ }, '03' => { 's' => %r/\A5[.][12][.][12]\z/, 'r' => %r/(?:mailboxfull|userunknown)/, 'b' => %r/\d\z/ }, '04' => { 's' => %r/\A5[.]1[.]1\z/, 'r' => %r/userunknown/, 'b' => %r/\A0\z/ }, + '05' => { 's' => %r/\A5[.]4[.]4\z/, 'r' => %r/hostunknown/, 'b' => %r/\A0\z/ }, + '06' => { 's' => %r/\A5[.]4[.]4\z/, 'r' => %r/notaccept/, 'b' => %r/\A0\z/ }, }, 'US::Bigfoot' => { '01' => { 's' => %r/\A5[.]7[.]1\z/, 'r' => %r/userunknown/, 'b' => %r/\A0\z/ }, From 8e2ceb1f5304409fd0c86c068c5ce056b0642e89 Mon Sep 17 00:00:00 2001 From: azumakuniyuki Date: Wed, 3 May 2017 13:20:06 +0900 Subject: [PATCH 6/9] Update release notes for v4.21.0p3 (NullMX) --- ChangeLog.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ChangeLog.md b/ChangeLog.md index 3acd3283..52ca63bc 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -3,6 +3,13 @@ RELEASE NOTES for Ruby version of Sisimai - releases: "https://github.com/sisimai/rb-Sisimai/releases" - download: "https://rubygems.org/gems/sisimai" +v4.21.0p3 +-------------------------------------------------------------------------------- +- release: "Not released yet" +- version: "Not tagged yet" +- changes: + - Improved code to detect RFC7505 (NullMX) error: sisimai/set-of-emails#4. + v4.21.0p2 -------------------------------------------------------------------------------- - release: "Not released yet" From 99fba3151604e76cfb14e3fdba48b07d7030caf4 Mon Sep 17 00:00:00 2001 From: azumakuniyuki Date: Thu, 4 May 2017 08:24:29 +0900 Subject: [PATCH 7/9] Import a sample email from 40730e1@sisimai/set-of-emails --- .../maildir/bsd/msp-us-gsuite-07.eml | 289 ++++++++++++++++++ 1 file changed, 289 insertions(+) create mode 100644 set-of-emails/maildir/bsd/msp-us-gsuite-07.eml diff --git a/set-of-emails/maildir/bsd/msp-us-gsuite-07.eml b/set-of-emails/maildir/bsd/msp-us-gsuite-07.eml new file mode 100644 index 00000000..f8d772d3 --- /dev/null +++ b/set-of-emails/maildir/bsd/msp-us-gsuite-07.eml @@ -0,0 +1,289 @@ +Delivered-To: kijitora@gmail.example.com +Received: by 10.237.47.35 with SMTP id l32csp131491qtd; + Wed, 3 May 2017 08:41:35 -0700 (PDT) +X-Received: by 10.37.31.193 with SMTP id f184mr30296156ybf.25.1493826095162; + Wed, 03 May 2017 08:41:35 -0700 (PDT) +Return-Path: <> +Received: from mail-qt0-x245.google.com (mail-qt0-x245.google.com. [2607:f8b0:400d:c0d::245]) + by mx.google.com with ESMTPS id f23si8140935ybj.231.2017.05.03.08.41.35 + for + (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Wed, 03 May 2017 08:41:35 -0700 (PDT) +Received-SPF: pass (google.com: best guess record for domain of postmaster@mail-qt0-x245.google.com designates 2607:f8b0:400d:c0d::245 as permitted sender) client-ip=2607:f8b0:400d:c0d::245; +Authentication-Results: mx.google.com; + dkim=pass header.i=@googlemail.com; + spf=pass (google.com: best guess record for domain of postmaster@mail-qt0-x245.google.com designates 2607:f8b0:400d:c0d::245 as permitted sender) smtp.helo=mail-qt0-x245.google.com; + dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com +Received: by mail-qt0-x245.google.com with SMTP id g27so41845400qte.12 + for ; Wed, 03 May 2017 08:41:35 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=googlemail.com; s=20161025; + h=from:to:auto-submitted:subject:references:in-reply-to:message-id + :date; + bh=06mWdi5ptcnmZYwtXD61BOU8u5oR5Hhi1aW4ZvpNADE=; + b=L+oT6DxKxPwWp68FmOE32CHiNoj1Apykuy6+i2bcouEK6PcF89LlKrQehZNySYbFhV + SKg/qluC0wD//iVlJ5sPgM3EBGamITIi4iNL7x1Joybtjfr8aIOV+3N/chWzCU4bTDw1 + VRVTpIBAcAQnvnPQyM6o7UYKZSfht1YznvWTVXnOzZbYX/hltk7R/i1VD8QxnaC0e8Oh + 4SCL0WOIjFciW8Wi2q7Bno5YF1EIw04I8yL/ZkolgXKa1HjcLMFo+65FBBYT78nOR3RN + JJZWMh+vEUWa3tW6oRl49Wy8CwiC1CzbdSxV8wQDUHZTYd2EP9Wy5FKm7YkQV3wlQoWF + V4Mg== +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20161025; + h=x-gm-message-state:from:to:auto-submitted:subject:references + :in-reply-to:message-id:date; + bh=06mWdi5ptcnmZYwtXD61BOU8u5oR5Hhi1aW4ZvpNADE=; + b=ke5yKQQRwW5Y52xVvPI0pC5Yp4MpL+eVzXZHKj6u54uaQV8jgFwGBCkzNQXki7D4bQ + PGWBuiA2x8XrSJZx8ixEp3FgEQMHdhzV3Sn7USHoUCEuBQTJ+6ycJPgIkBkQbFUqm7G9 + Ed4Nr9TNtcBUSFdm9gXynSbwkDpVWWMwu5F6X3IaHYGRU6+JM1VL/OOhmetIcJs/ylu/ + QMeFCNdbtLnuYoCh5l//ikLI1bN0FSEvYHw8W2vaxUlPhfPkPd1x1MUAdNO+rZxtiJtg + 3LHUaVxd3ap7kEOcd4AfGM3eDNLoRQLVndCfRX+PAM1wDKqfcmFMhGBOn6cCTV/TvjbR + ETIA== +X-Gm-Message-State: AODbwcAOJG2WPuv/U5idZp4GBVERxsyRdSuCThTrk6ylgEdi/N6mprI2 + OTnjFjpQfbM5SKILL47qQFBcdzuW+TLugrmGDuMdMQ== +X-Received: by 10.55.16.41 with SMTP id a41mr3437524qkh.131.1493826094932; + Wed, 03 May 2017 08:41:34 -0700 (PDT) +Content-Type: multipart/report; boundary=001a1146cdf2be967a054ea07d42; report-type=delivery-status +Return-Path: <> +Received: by 10.55.16.41 with SMTP id a41mr3642232qkh.131; Wed, 03 May 2017 + 08:41:34 -0700 (PDT) +From: Mail Delivery Subsystem +To: kijitora@gmail.example.com +Auto-Submitted: auto-replied +Subject: Delivery Status Notification (Failure) +References: +In-Reply-To: +X-Failed-Recipients: siro@neko1.nyaan.jp +Message-ID: <5909fa2e.2910370a.f8c52.3d01.GMRIR@mx.google.com> +Date: Wed, 03 May 2017 08:41:34 -0700 (PDT) + +--001a1146cdf2be967a054ea07d42 +Content-Type: multipart/related; boundary=001a1146cdf2be9fd8054ea07d43 + +--001a1146cdf2be9fd8054ea07d43 +Content-Type: multipart/alternative; boundary=001a1146cdf2be9fdf054ea07d44 + +--001a1146cdf2be9fdf054ea07d44 +Content-Type: text/plain; charset=UTF-8 + + +** Message not delivered ** + +There was a problem delivering your message to siro@neko1.nyaan.jp. See the technical details below. + +Learn more here: https://support.google.com/mail/answer/7720 + +The response was: + +The recipient server did not accept our requests to connect. Learn more at https://support.google.com/mail/answer/7720 +[neko1.nyaan.jp 192.0.2.222: timed out] + +--001a1146cdf2be9fdf054ea07d44 +Content-Type: text/html; charset=UTF-8 + + + + + + + + + + + + + + + + +--001a1146cdf2be9fdf054ea07d44-- +--001a1146cdf2be9fd8054ea07d43 +Content-Type: image/png; name="icon.png" +Content-Disposition: attachment; filename="icon.png" +Content-Transfer-Encoding: base64 +Content-ID: + +iVBORw0KGgoAAAANSUhEUgAAAJAAAACQCAYAAADnRuK4AAAAAXNSR0IArs4c6QAAFi1JREFUeAHt +XUmMHVcVrfo9eYgUWDBsEsAxCQQFFCkSzsQgBQeMQGIBScSwYFoghg0CNoAlhgWjWLBhB0gMYsEO +Z7AgQOwECRRCxBBwOwwLIGwwsdPt7v9/cc6571ZVO2771++q/6uq37N/1Xt3elX3nn9fVfXt6iSJ +LXogeiB6IHogeiB6IHogeiB6IHogeiB6IHogeiB6IHogeiB6IHogeiB6IHogeiB6IHogeiB6IHog +eiB6IHogeiB6IHogeiB6IHogeiB6IHogeiB6IHqgux5Iu3vozRx5dvTo4PRD9909TrIjmOF6zZIm +vx9k6bEDt935g/To0XEzM3fTagRQKW6n7rz19dl49M0ky15eIhfdNP1jspB86KX3PvJgQdzdvQig +EP9Thw/dlWXZd5IsWb4kJNJkI03T9xy8/5EfXlJulzAjgBBogicZZ9/PkmQif0AoSwbpPRFEEzqs +z1+m00duedF4Y/QYwHNllfMEiM4MlhdedeAnJ/9WRa9vsoO+nVCV8+EFM8Dz3arg4RzUkS5sVJmz +b7K7+uRXT9z3AQDh9mmDSt3Vk8feP61+H/QmWvP7cKIXnsPqHXdcOU7P/gV3XM+7kFdpnKb/GWRX +vPSa48fPVNLrifCuzUDjwdNHdwweggAAlK2eAKLqaezKDHT6jbdeNxoOH4ezlqo6bBv5zYXFxRsO +3HviiW34vSXvygw0Ho2+jojWBR6CYynY7C1QtjuxXQeg1TtueTMeGL5pO4dMS6dN2p5Wv6t6uwpA +2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J/MPjeDT/99bsw +P4UrtcoZiNY50cEHfvUevMf47TiPSk8uKx1dR4T3IhPt5XMiNIXXg8l4eJyNacFHPyQeUulQfbh0 +MWsRdHkkyWMDQToc8oMB4y1VMCVGAXQwEo9yomNPmimSBvsSTf+FWN79yp/95p3TgAcGZZX7qVt2 +9HWLp0+cfy3+puPbcJA34sBegMX/hTji/VMb7agiM9Ea/kqzoh3OAYEJF9UWQNzp4F/Z8eDza2wB +zTmUZuPeNWjLaUSGgGaIsynBVsajjtZPGeWAafEc2P8G6194W95vs6WFH99w2/4H06MP7vzvkuuo +4iZ6IHogeiB6IHogeiB6IHogeiB6IHogeiB6IHogeiB6IHogeiB6IHogeiB6IHogeiB6IHogeiB6 +IHogeiB6IHogeiB6IHogeiB6IHogemBaD/wfWl0tzAXA/nAAAAAASUVORK5CYII= +--001a1146cdf2be9fd8054ea07d43-- +--001a1146cdf2be967a054ea07d42 +Content-Type: message/delivery-status + +Reporting-MTA: dns; googlemail.com +Arrival-Date: Sun, 30 Apr 2017 04:41:00 -0700 (PDT) +X-Original-Message-ID: + +Final-Recipient: rfc822; siro@neko1.nyaan.jp +Action: failed +Status: 4.4.1 +Diagnostic-Code: smtp; The recipient server did not accept our requests to connect. Learn more at https://support.google.com/mail/answer/7720 + [neko1.nyaan.jp 192.0.2.222: timed out] +Last-Attempt-Date: Wed, 03 May 2017 08:41:34 -0700 (PDT) + +--001a1146cdf2be967a054ea07d42 +Content-Type: message/rfc822 + +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=gmail.example.com; s=20161025; + h=mime-version:from:date:message-id:subject:to + :content-transfer-encoding; + bh=rusHJ832mxXijrx1oASQER0RT9FM4fQlxn95+REONFY=; + b=jAnDArXjM4LHtQntR6FzTizh7ZpwCnmxjsV/5cHBPZFblPVCmQqap0ZaQ+D2C36TwO + aRHxqBTx0j3TFryyTHc2d6RXnboBeVjjR5GgnN8PD46ZemLpwR+Vl+jjsaCQ/Sq2CuPX + TYD66gI5bhs0iFlvKhFgjc+cxEVv72LPUtz8STDnOez/x4eEPvaT7oIQ6juQsruz2uZT + b06g3qtRMWCuIrQrKARSWCZT3YvZ7xBiDZI+o1jrIgYliHuxBGMgJay2+QEQxljjRxLY + h/+yQtGa6Z/cfcnryNjymEgHBzeqs52NiIbr138Ldu6AXDw6aUigWSKbrKK9+pqr0Fo+ + V7rQ== +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20161025; + h=x-gm-message-state:mime-version:from:date:message-id:subject:to + :content-transfer-encoding; + bh=rusHJ832mxXijrx1oASQER0RT9FM4fQlxn95+REONFY=; + b=J5lLDGZTFPdCbeUVic8mTb7h3G+zMTURDVaPtfDUvPLaLvIYwVBbKiGOKXhHk2Z7JW + 5NbX07f+idvH8vX7IkjAk+GPlLs7+ECQihetyLAexbkmAax1vQBGRU3TseQF10lwa42q + Es52+TBXH35JNWX2iDUouZfV8iNGupsiek2O6V1HR7AbHM9n8uQXQMmL6b2nKeKrlksR + drz7fShkbGNvlBzqNEeonGIupLeprq6mqP9gdYk1IZBwRw5i4/RZ6WOX9sBzLXX8xcb+ + q75vicsO2xEjRxUL8QIiWqgrMShlbK/PoUEdzwAnwS1YhI2kJs4zpfszsfqUKcU6IMNS + brEA== +X-Gm-Message-State: AODbwcCaszz1u22phDGJXFjN0vorb5xEJfFXcKcYTCj+MfJbMZ2IGJhU + ejdfnwppyqwtlkC+wCcxbG0mj00KYBGElv4= +X-Received: by 10.55.16.41 with SMTP id a41mr16381860qkh.131.1493552460382; + Sun, 30 Apr 2017 04:41:00 -0700 (PDT) +MIME-Version: 1.0 +Received: by 10.200.3.30 with HTTP; Sun, 30 Apr 2017 04:40:39 -0700 (PDT) +From: kijitora +Date: Sun, 30 Apr 2017 20:40:39 +0900 +Message-ID: +Subject: Nyaan +To: siro@neko1.nyaan.jp +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +Nyaan + +--001a1146cdf2be967a054ea07d42-- From a7a216fa71aa63ebaed447d754582c4dd15e9fe8 Mon Sep 17 00:00:00 2001 From: azumakuniyuki Date: Thu, 4 May 2017 08:29:21 +0900 Subject: [PATCH 8/9] Update test code for commit 99fba3151604e76cfb14e3fdba48b07d7030caf4 --- spec/sisimai/mail/maildir_spec.rb | 2 +- spec/sisimai/msp/public-children_spec.rb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/sisimai/mail/maildir_spec.rb b/spec/sisimai/mail/maildir_spec.rb index c206c4ad..6644ece9 100644 --- a/spec/sisimai/mail/maildir_spec.rb +++ b/spec/sisimai/mail/maildir_spec.rb @@ -3,7 +3,7 @@ describe Sisimai::Mail::Maildir do samplemaildir = './set-of-emails/maildir/bsd' - allofthefiles = 360 + allofthefiles = 361 let(:mailobj) { Sisimai::Mail::Maildir.new(samples) } let(:mockobj) { Sisimai::Mail::Maildir.new(invalid) } diff --git a/spec/sisimai/msp/public-children_spec.rb b/spec/sisimai/msp/public-children_spec.rb index 517e6594..808c226e 100644 --- a/spec/sisimai/msp/public-children_spec.rb +++ b/spec/sisimai/msp/public-children_spec.rb @@ -107,6 +107,7 @@ '04' => { 's' => %r/\A4[.]0[.]0\z/, 'r' => %r/networkerror/,'b' => %r/\A1\z/ }, '05' => { 's' => %r/\A4[.]0[.]0\z/, 'r' => %r/networkerror/,'b' => %r/\A1\z/ }, '06' => { 's' => %r/\A4[.]4[.]1\z/, 'r' => %r/expired/, 'b' => %r/\A1\z/ }, + '07' => { 's' => %r/\A4[.]4[.]1\z/, 'r' => %r/expired/, 'b' => %r/\A1\z/ }, }, 'US::Office365' => { '01' => { 's' => %r/\A5[.]1[.]10\z/, 'r' => %r/filtered/, 'b' => %r/\A1\z/ }, From 59905eb0e140bbb4561364bc4b3e8f17ae42a128 Mon Sep 17 00:00:00 2001 From: azumakuniyuki Date: Tue, 9 May 2017 12:39:47 +0900 Subject: [PATCH 9/9] Bump up the verison to v4.21.0p3 --- ChangeLog.md | 2 +- lib/sisimai/version.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index 52ca63bc..afa67202 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -6,7 +6,7 @@ RELEASE NOTES for Ruby version of Sisimai v4.21.0p3 -------------------------------------------------------------------------------- - release: "Not released yet" -- version: "Not tagged yet" +- version: "4.21.0p3" - changes: - Improved code to detect RFC7505 (NullMX) error: sisimai/set-of-emails#4. diff --git a/lib/sisimai/version.rb b/lib/sisimai/version.rb index 5b0fa447..a1902953 100644 --- a/lib/sisimai/version.rb +++ b/lib/sisimai/version.rb @@ -1,4 +1,4 @@ # Define the version number of Sisimai module Sisimai - VERSION = '4.21.0p2'.freeze + VERSION = '4.21.0p3'.freeze end