sisimai / p5-sisimai

Mail Analyzing Interface for email bounce: A Perl module to parse RFC5322 bounce mails and generating structured data as JSON from parsed results. Formerly known as bounceHammer 4: an error mail analyzer.

Home Page:https://libsisimai.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Call Sisimai::Rhost by the domain part of the recipient address

azumakuniyuki opened this issue · comments

  • The following bounce mail generated by OpenSMTPD does not contain *.yahoodns.net
  • Therefore, Sisimai::Rhost::YahooInc is not called from Sisimai::Fact
  • #339
This is a MIME-encapsulated message.

--15462020818823614161/df.example.jp
Content-Description: Notification
Content-Type: text/plain; charset=us-ascii

    Hi!

    This is the MAILER-DAEMON, please DO NOT REPLY to this email.

    A message is delayed for more than 4 hours for the following
    list of recipients:

pseudo-local-part-of-yahoo-inc@yahoo.com: 421 4.7.0 [TSS04] Messages from 192.0.2.25 temporarily deferred due to unexpected volume or user complaints - 4.16.55.1; see https://postmaster.yahooinc.com/error-codes

    Please note that this is only a temporary failure report.
    The message is kept in the queue for up to 7 days.
    You DO NOT NEED to re-send the message to these recipients.

    Below is a copy of the original message:

--15462020818823614161/df.example.jp
Content-Description: Delivery Report
Content-Type: message/delivery-status

Reporting-MTA: dns; df.example.jp

Final-Recipient: rfc822; pseudo-local-part-of-yahoo-inc@yahoo.com
Action: delayed
Status: 4.0.0