sample Postfox message that does not get parsed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
flufl.bounce |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi,
Playing around with flufl.bouce 2.2.1
Bounce message bellow (from Postfix?) fails to produce temporary nor permanent addresses when parsed with flufl.bounce.
Sample:
-------
This is the mail system at host smtp.webfaction
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.
<email address hidden>: Host or domain name not found. Name service error for
name=
Reporting-MTA: dns; smtp.webfaction.com
X-Postfix-Queue-ID: 1234567890
X-Postfix-Sender: rfc822; <email address hidden>
Arrival-Date: Sat, 17 Aug 2013 19:25:32 +0000 (UTC)
Final-Recipient: rfc822; <email address hidden>
Original-Recipient: rfc822;<email address hidden>
Action: failed
Status: 5.4.4
Diagnostic-Code: X-Postfix; Host or domain name not found. Name service error
for name=huhugthvf.com type=A: Host not found
Received: from web28.webfactio
by smtp.webfaction.com (Postfix) with ESMTP id CC7C42081D9D
for <email address hidden>; Sat, 17 Aug 2013 19:25:32 +0000 (UTC)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-
Subject: snowflakejoins.com registration
From: <email address hidden>
Message-Id: <email address hidden>
Date: Sat, 17 Aug 2013 19:25:32 +0000 (UTC)
To: undisclosed-
Hi, Someone tried to register an account called alex14 at www.snowflakejo
If it was you, please click the folowing link https:/
Otherwise please ignore this message.
Changed in flufl.bounce: | |
status: | Incomplete → Invalid |
This works for me and the dsn.py detector detects <email address hidden> as the bouncing address as long as I add the appropriate headers which should have been in the original.
Note that the postfix.py detector is not intended to recognize this message.
Here's the message I tested with headers:
Return-Path: <> type=delivery- status; "8E9216900BD. 1376773223/ example. com"
Date: Sat, 17 Aug 2013 14:00:23 -0700 (PDT)
From: <email address hidden> (Mail Delivery System)
Subject: Undelivered Mail Returned to Sender
To: <email address hidden>
Auto-Submitted: auto-replied
MIME-Version: 1.0
Content-Type: multipart/report; report-
boundary=
Message-Id: <email address hidden>
This is a MIME-encapsulated message.
--8E9216900BD. 1376773223/ example. com Description: Notification
Content-
Content-Type: text/plain; charset=us-ascii
This is the mail system at host smtp.webfaction .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.
<email address hidden>: Host or domain name not found. Name service error for huhugthvf. com type=A: Host not found
name=
--8E9216900BD. 1376773223/ example. com Description: Delivery report delivery- status
Content-
Content-Type: message/
Reporting-MTA: dns; smtp.webfaction.com
X-Postfix-Queue-ID: 1234567890
X-Postfix-Sender: rfc822; <email address hidden>
Arrival-Date: Sat, 17 Aug 2013 19:25:32 +0000 (UTC)
Final-Recipient: rfc822; <email address hidden>
Original-Recipient: rfc822;<email address hidden>
Action: failed
Status: 5.4.4
Diagnostic-Code: X-Postfix; Host or domain name not found. Name service error
for name=huhugthvf.com type=A: Host not found
--8E9216900BD. 1376773223/ example. com Description: Undelivered Message
Content-
Content-Type: message/rfc822
Received: from web28.webfactio n.com (web28. webfaction. com [108.59.11.84]) Transfer- Encoding: 7bit recipients: ;
by smtp.webfaction.com (Postfix) with ESMTP id CC7C42081D9D
for <email address hidden>; Sat, 17 Aug 2013 19:25:32 +0000 (UTC)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-
Subject: snowflakejoins.com registration
From: <email address hidden>
Message-Id: <email address hidden>
Date: Sat, 17 Aug 2013 19:25:32 +0000 (UTC)
To: undisclosed-
Hi, Someone tried to register an account called alex14 at www.snowflakejo ins.com with your email address. /snowflakejoins .com/nonce....
If it was you, please click the folowing link https:/
Otherwise please ignore this message.
--8E9216900BD. 1376773223/ example. com--