sisimai / set-of-emails

bounce mail collection for tests and development on Sisimai
https://libsisimai.org/
Other
10 stars 7 forks source link

unparsable postfix bounce #15

Closed aderumier closed 4 years ago

aderumier commented 4 years ago

Hi, I have found some unparsable postfix bounce, I'll send the mail sample with pull request

aderumier commented 4 years ago

https://github.com/sisimai/set-of-emails/pull/16

azumakuniyuki commented 4 years ago

We'll try to implement for resolve this issue tomorrow, Thanks :-)

azumakuniyuki commented 4 years ago

We've implemented code at Sisimai::Lhost::Postfix https://github.com/sisimai/p5-Sisimai/pull/351 and got the result like the following:

[
  {
    "rhost": "xxxx.xxxx.net",
    "listid": "",
    "senderdomain": "xxxx.fr",
    "replycode": "",
    "action": "",
    "token": "009d8364969ba1b69eb65cd6efaec8f5430cf4d1",
    "softbounce": 1,
    "reason": "undefined",
    "alias": "",
    "messageid": "1576501935.xxxx@xxxx.fr",
    "subject": "xxxx",
    "diagnosticcode": "",
    "catch": {
      "queie-id": "",
      "x-mailer": "",
      "sender": "",
      "queue-id": "B1C79423C925"
    },
    "smtpcommand": "",
    "diagnostictype": "SMTP",
    "feedbacktype": "",
    "deliverystatus": "5.0.900",
    "addresser": "xxxx@xxxx.fr",
    "timezoneoffset": "+0100",
    "recipient": "xxxx@wanadoo.fr",
    "lhost": "xxxx.xxxx.net",
    "smtpagent": "Email::Postfix",
    "destination": "wanadoo.fr",
    "timestamp": 1576534335
  }
]

The value of "reason" is undefined because there is no error message in issue-15.eml.