Dada 3 - destroys important mail headers of archived messages

 
From: "Peter Velan" <pv0001@PROTECTED>
Date: September 6th 2008

Hi all,

I tried to upgrade from 2 10 16 to latest Dada-3, but had to step back because of a problem with messages archived under Dada-2 :

Archived message as stored in MySQL-Database dada dada_archives raw message (quoted, to prevent line breaks) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Date: Wed, 13 Aug 2008 07:11:47 UT From: "[OURCOMPANY-Newsletter]" newsletter@PROTECTED Reply-To: "[OURCOMPANY-Newsletter]" newsletter@PROTECTED X-Priority: 4 Message-ID: 20080813091147 22884804@PROTECTED Precedence: bulk X-Mailer: Dada Mail 2 10 16 Content-type: multipart/alternative; boundary="----------=1218611507207840" Content-Transfer-Encoding: binary MIME-Version: 1 0 Subject: [OURCOMPANY-Newsletter] August

This is a multi-part message in MIME format

------------=1218611507207840 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Same message sent to a new subscriber via DadaMail 2 10 16 (again quoted, to prevent line breaks) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Received: from [192 168 100 10] (helo=ourcompany tld) by mail ourcompany tld with esmtpa (Exim 4 69) (envelope-from newsletter@PROTECTED) id 1KZ6eR-0001ZJ-Jj for new subscriber@foreigncompany tld; Fri, 29 Aug 2008 18:16:43 +0200 Date: Wed, 13 Aug 2008 07:11:47 UT From: newsletter@ourcompany tld To: new subscriber@foreigncompany tld Reply-To: "[OURCOMPANY-Newsletter]" newsletter@PROTECTED X-Priority: 4 Message-ID: 20080813091147 22884804@PROTECTED Precedence: bulk X-Mailer: Dada Mail 2 10 16 Content-type: multipart/alternative; boundary="----------=1218611507207840"; charset=iso-8859-1 Content-Transfer-Encoding: binary MIME-Version: 1 0 Subject: [OURCOMPANY-Newsletter] August

This is a multi-part message in MIME format

------------=1218611507207840 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Same message sent to a new subscriber via DadaMail 3 0 0 (again quoted, to prevent line breaks) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 Received: from [192 168 100 10] (helo=ourcompany tld) 2 by mail ourcompany tld with esmtpa (Exim 4 69) 3 (envelope-from newsletter@ourcompany tld) 4 id 1KZnTo-0007OA-Op 5 for new subscriber@foreigncompany tld; Sun, 31 Aug 2008 16:00:37 +0200 6 Date: Sun, 31 Aug 2008 16:00:36 +0200 7 From: newsletter@ourcompany tld 8 To: new subscriber@foreigncompany tld 9 Reply-To: "[OURCOMPANY-Newsletter]" newsletter@PROTECTED 10 X-Priority: 4 11 Message-ID: 20080813091147.22884804@PROTECTED 12 Precedence: bulk 13 X-Mailer: Dada Mail 2 10 16 14 Content-type: text/plain; charset=iso-8859-1 15 Content-Transfer-Encoding: binary 16 MIME-Version: 1 0 17 Subject: [OURCOMPANY-Newsletter] August 18 19 This is a multi-part message in MIME format 20 21 ------------=1218611507207840

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Line ( 6) Fantastic: Dada 3 replaces the old date header (from archived message) with a fresh one! Dada 2 used the old date from archived message This is a very nice feature: No more negative spamassassin scores because of out of date header

Line ( 7) In the archive the "From:" header looks like From: "[OURCOMPANY-Newsletter]" newsletter@PROTECTED IMHO, this should remain untouched

Line (13) The message was sent out by Dada 3, so the header "X-Mailer:" should reflect this change too

line (14) Aaargh! Here the header-rewriting does harm: - content-type is wrong! - mime boundary definition removed completely! This new behaviour destroys the email structure

Cheers, Peter

  • This mailing list is a public mailing list - anyone may join or leave, at any time.
  • This mailing list is a group discussion list (unmoderated)
  • 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:

https://dadamailproject.com/d

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:

  • Constructive critiques 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 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 -

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.

Privacy Policy:

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.