[Tickets #5541] Re: Doubled newlines forwarding to some MTAs including Gmail

bugs at bugs.horde.org bugs at bugs.horde.org
Fri Oct 26 03:16:48 UTC 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=5541
-----------------------------------------------------------------------
 Ticket             | 5541
 Updated By         | Chuck Hagenbuch <chuck at horde.org>
-Summary            | forwarding email with attachments problems
+Summary            | Doubled newlines forwarding to some MTAs including Gmail
 Queue              | IMP
 Version            | HEAD
 Type               | Bug
-State              | Assigned
+State              | Feedback
 Priority           | 2. Medium
-Owners             | Horde Developers
+Owners             | 
-----------------------------------------------------------------------


Chuck Hagenbuch <chuck at horde.org> (2007-10-25 20:16) wrote:

Marc, please try this patch:

http://cvs.horde.org/diff.php/framework/MIME/MIME/Headers.php?r1=1.58&r2=1.59&ty=u

(if you have the message you test with cached you'll need to clear
caches)

What's going on as far as I can tell is that by the time the message gets
to Gmail the newlines have been doubled. I've fixed it for the headers,
which mean the message should be recognized correctly, but it still seems
to happen to text, and I don't want to randomly replace newlines in the
body of rfc822 parts without knowing we're dealing with text.

Michael, if I'm guessing correctly you may be using a different MTA (I'm
using postfix), so when you forward to Gmail things are slightly different.
If this all makes sense to you I'd appreciate your eyes on the patch I
committed and thoughts on a more complete fix.



More information about the bugs mailing list