[Profile Register/Log In] (What's This?)

bounce handler does not recognize Content-Type: text/rfc822-headers

From: Frans Gouverne <fransgnl@gmail.com>
Subject: bounce handler does not recognize Content-Type: text/rfc822-headers
Date: May 7th 2012

Hi Justin,

I have some bounced emails (using Amazon SES) which do use text/rfc822-headers as the Content-Type for the attachment. This is not recognized by sub  "find_list_in_list_headers" and as a result the list cannot be found. Is there a workaround for this? I tried to modify the test like:

 if ( $entity->head->mime_type eq 'message/rfc822' | $entity->head->mime_type eq 'text/rfc822-headers' )

but then I get an error on the line:

    my $list_header = $entity->head->get( 'List', 0 );

from sub "sub list_in_list_headers"


Hereby the complete bounced email message:

Return-path: <>
Envelope-to: bounces@mydomain.nu
Delivery-date: Wed, 25 Apr 2012 15:16:56 +0200
Received: from mail by server087.totalin.net with spam-scanned (Exim 4.60)
    id 1SN25W-0004RX-Up
    for bounces@mydomain.nu; Wed, 25 Apr 2012 15:16:56 +0200
X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on
    server087.totalin.net
X-Spam-Level:
X-Spam-Status: No, score=-2.6 required=7.5 tests=AWL,BAYES_00 autolearn=ham
    version=3.2.1
Received: from a192-141.smtp-out.amazonses.com ([199.255.192.141])
    by server087.totalin.net with esmtp (Exim 4.60)
    id 1SN25W-0004RT-R1
    for bounces@mydomain.nu; Wed, 25 Apr 2012 15:16:54 +0200
X-Original-To: 00000136e9c52c44-a7f91c97-0c21-436b-b714-4227adce6415-000000@amazonses.com
Delivered-To: 00000136e9c52c44-a7f91c97-0c21-436b-b714-4227adce6415-000000@amazonses.com
Date: Wed, 25 Apr 2012 13:51:26 +0000
From: MAILER-DAEMON@amazonses.com
Subject: Undelivered Mail Returned to Sender
To: bounces@mydomain.nu
Auto-Submitted: auto-replied
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
    boundary="18381174112.1335361883/mailscan12.emaildomain.nl"
Content-Transfer-Encoding: 8bit
Message-Id: <00000136e9c5595d-bf425f38-8edd-11e1-996d-3f66f12ccaa3-000000@email.amazonses.com>
X-AWS-Outgoing: 199.255.192.141

This is a MIME-encapsulated message.
--18381174112.1335361883/mailscan12.emaildomain.nl
Content-Description: Notification
Content-Type: text/plain; charset=us-ascii

This is the mail system at host mailscan12.emaildomain.nl.

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

<emailname@emaildomain.nl>: maildir delivery failed: error writing message: Disk
    quota exceeded

--18381174112.1335361883/mailscan12.emaildomain.nl
Content-Description: Delivery report
Content-Type: message/delivery-status

Reporting-MTA: dns; mailscan12.emaildomain.nl
X-Postfix-Queue-ID: 18381174112
X-Postfix-Sender: rfc822; 00000136e9c52c44-a7f91c97-0c21-436b-b714-4227adce6415-000000@amazonses.com
Arrival-Date: Wed, 25 Apr 2012 15:51:23 +0200 (CEST)

Final-Recipient: rfc822; emailname@emaildomain.nl
Original-Recipient: rfc822;emailname@emaildomain.nl
Action: failed
Status: 5.2.2
Diagnostic-Code: x-unix; input/output error

--18381174112.1335361883/mailscan12.emaildomain.nl
Content-Description: Undelivered Message Headers
Content-Type: text/rfc822-headers
Content-Transfer-Encoding: 8bit

Received: from localhost (mailscan12 [127.0.0.1])
    by mailscan12.emaildomain.nl (Postfix) with ESMTP id 18381174112
    for <emailname@emaildomain.nl>; Wed, 25 Apr 2012 15:51:23 +0200 (CEST)
X-ZldNet-SpamScan: Nee
X-ZldNet-VirusScan: Nee
Received: from mail.emaildomain.nl ([192.168.201.222])
    by localhost (mailscan12.emaildomain.nl [192.168.200.35]) (amavisd-new, port 1025)
    with ESMTP id UKMer238TO09 for <emailname@emaildomain.nl>;
    Wed, 25 Apr 2012 15:51:22 +0200 (CEST)
X-policyd-weight: using cached result; rate: -9
Received: from a192-146.smtp-out.amazonses.com (a192-146.smtp-out.amazonses.com [199.255.192.146])
    by mail.emaildomain.nl (Postfix) with ESMTP id 1F78B1580F0
    for <emailname@emaildomain.nl>; Wed, 25 Apr 2012 15:51:20 +0200 (CEST)
Date: Wed, 25 Apr 2012 13:51:15 +0000
From: "Nieuwsbrief mydomain" <info@mydomain.nu>
To: "emailname@emaildomain.nl" <emailname@emaildomain.nl>
Reply-To: "Nieuwsbrief mydomain" <info@mydomain.nu>
List-Archive: <http://www.mydomain.nu/cgi-bin/dada/mail.cgi/archive/nieuwsbrief/>
List-Owner: <info@mydomain.nu>
List-Subscribe: =?ISO-8859-1?Q?=3Chttp=3A//www=2Emydomain=2Enu/cgi-bin/dada/mail=2Ecgi/s/n?=
 =?ISO-8859-1?Q?ieuwsbrief/emailname/emaildomain=2Enl/=3E?=
List-Unsubscribe: =?ISO-8859-1?Q?=3Chttp=3A//www=2Emydomain=2Enu/cgi-bin/dada/mail=2Ecgi/u/n?=
 =?ISO-8859-1?Q?ieuwsbrief/emailname/emaildomain=2Enl/=3E?=
Content-type: multipart/alternative; boundary="_----------=_1335359224148830"; charset=iso-8859-1
Content-Transfer-Encoding: binary
MIME-Version: 1.0
Subject: Nieuwsbrief mydomain mei 2012
Message-ID: <00000136e9c52c44-a7f91c97-0c21-436b-b714-4227adce6415-000000@email.amazonses.com>
X-AWS-Outgoing: 199.255.192.146

--18381174112.1335361883/mailscan12.emaildomain.nl--




<< Previous: Re: bounce handler - Amazon SES

| Archive Index |

Next: Re: bounce handler does not recognize Content-Type: text/rfc822-headers >>

(archive rss , atom rss/atom )

this list's archives:


This mailing list is to discuss the nerdy programming development of Dada Mail -

If you are just looking for support Dada Mail, consult the message boards at:

http://dadamailproject.com/support/boards

To post to this list, send a message to:

dadadev@dadamailproject.com

All subscribers of this list may post to the list itself.

Some on topic... topics include:

  • Positive Crits on the program (I like, "x", but, "y" needs some work - here's an idea on how to make this better...)
  • Bug/Error reports
  • Bug fixes
  • Request For Comments on any changes to the program
  • Help customizing Dada Mail for your own internal needs
  • Patches
  • Language Translations
  • Support Documentation/Doc editing, FAQ's, etc.
  • Discussion of any changes that you would like to be committed to the next version of Dada Mail -

At the moment, there aren't many people with CVS access for Dada Mail - if you would like CVS access, please first talk about the changes you propose and how it will affect the program. If the idea is sound and agreed upon, the change will be comitted. A good track record of this will allow you to have CVS access. Some reasons that patches will not be accepted is if the patch breaks compatibility with a previous version of the program, the patch is too centric to your own problem or the patch simply isn't very good.

Please, please please familiarize yourself with the documentation at:

http://dadamailproject.com/support/documentation/

Since no one wants to answer the same question twice.

Another sneaky reason for this mailing list is to test out the discussion list capabilities of Dada Mail, since Dada Mail is used for the mailing list itself.

NOTE - because of this, there may be times that this list will be somewhat broken. Although we're not planning on breaking the program by using it, we're giving you the heads up that this may well happen anyways.

Subscribe to Dada Mail Developers

* Required

Loading