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@PROTECTED
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@PROTECTED; 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@PROTECTED; Wed, 25 Apr 2012 15:16:54 +0200
X-Original-To: 00000136e9c52c44-a7f91c97-0c21-436b-b714-4227adce6415-000000@PROTECTED
Delivered-To: 00000136e9c52c44-a7f91c97-0c21-436b-b714-4227adce6415-000000@PROTECTED
Date: Wed, 25 Apr 2012 13:51:26 +0000
From: MAILER-DAEMON@PROTECTED
Subject: Undelivered Mail Returned to Sender
To: bounces@PROTECTED
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@PROTECTED>
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@PROTECTED>: 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@PROTECTED
Arrival-Date: Wed, 25 Apr 2012 15:51:23 +0200 (CEST)
Final-Recipient: rfc822; emailname@PROTECTED
Original-Recipient: rfc822;emailname@PROTECTED
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@PROTECTED>; 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@PROTECTED>;
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@PROTECTED>; Wed, 25 Apr 2012 15:51:20 +0200 (CEST)
Date: Wed, 25 Apr 2012 13:51:15 +0000
From: "Nieuwsbrief mydomain" <info@PROTECTED>
To: "emailname@PROTECTED" <emailname@PROTECTED>
Reply-To: "Nieuwsbrief mydomain" <info@PROTECTED>
List-Archive: <http://www.mydomain.nu/cgi-bin/dada/mail.cgi/archive/nieuwsbrief/>
List-Owner: <info@PROTECTED>
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@PROTECTED>
X-AWS-Outgoing: 199.255.192.146
--18381174112.1335361883/mailscan12.emaildomain.nl--
Post:
mailto:[list_settings.discussion_pop_email]
Unsubscribe:
https://dadamailproject.com/cgi-bin/dada/mail.cgi/u/dadadev/
List Information:
[PROGRAM_URL]/list/[list_settings.list]
Archive:
[PROGRAM_URL]/archive/[list_settings.list]
Developer Info:
http://dev.dadamailproject.com
Start a new thread, email: dadadev@dadamailproject.com
This is the developer discussion mailing list for Dada Mail.
If you are just looking for support Dada Mail, consult the message boards at:
https://forum.dadamailproject.com
Documentation for Dada Mail:
Specifically, see the Error FAQ:
https://dadamailproject.com/d/FAQ-errors.pod.html
To post to this list, send a message to:
mailto:dadadev@dadamailproject.com
All subscribers of this list may post to the list itself.
Topics that are welcome:
Dada Mail is on Github:
https://github.com/justingit/dada-mail/
If you would like to fork, branch, send over PRs, open up issues, etc.
This Privacy Policy is for this mailing list, and this mailing list only.
Email addresses collection through this mailing list are used explicitly to work within this email discussion list.
We only collect email addresses through our Closed-Loop Opt-In system.
We don't use your email address for any other purpose.
We won't be sharing your email address with any other entity.
Unsubscription can be done at any time. Please contact us at: justin@dadamailproject.com for any help regarding your subscription, including removal from the mailing list.
All mailing list messages sent from us will include a subscription removal link, which will allow you to remove yourself from this mailing list automatically, and permanently.
All consent to use your email address for any other purpose stated at the time of the mailing list subscription will also be revoked upon mailing list removal.