Ben Nelson wrote:
B. Johannessen wrote:
Save the attached file, and use it as as an attachment when sending yourself a test message from RoundCube. Open the test message in Thunderbird. Select view source (Ctrl-U), and save the message source to a file ("edit" -> "save page as" in the source view window). Compress the saved file (zip og gzip depending on platform), and attach the compressed file to your next MIME error report.
Attached is the requested file.
Ben, please remove irrelevant quoted text when replying.
Developers,
the message is absolutely strange. About half the header fields are CR+LF terminated, the others are terminated by bare LF. I've seen this happen when some header fields are added by the MUA and others by the MTA/MDA, but I don't think that's the case here. The following header fields are terminated by bare LFs:
Return-Path X-Spam-Checker-Version X-Spam-Level X-Spam-Status X-Original-To Delivered-To Received To Subject From Reply-To
I expect the first 7 were added by MTA/MDA, but I'm pretty sure the last 4 (To, Subject, From and Reply-To) were included by RoundCube.
The following header fields were terminated by CR+LF:
MIME-Version Date Message-ID X-Sender User-Agent Content-Type
Also the two MIME parts are positively bizarre. The empty line that's supposed to separate the MIME header from the MIME body is encoded as follows: 0d 0a 0a 0d 0a, that is CR+LF+LF+CR+LF.
According to RFC2822, this should be CR+LF+CR+LF. Now, on Unix it's not uncommon for RFC2822 messages to use bare-LF termination. All /usr/lib/sendmail interfaces (the interface used by PHPs mail() function) I've dealt with has no problem accepting messages in that format, and will happily convert them to the correct line endings when transporting the message via SMTP.
This message on the other hand seems to be using some strange hybrid. This could possibly be what's confusing Outlook.
Someone with more knowledge of the RoundCube codebase will have to figure out why this is happening...
Oh, and in case not everyone is up to date on the Internet e-mail TLAs:
MTA = Mail Transfer Agent MUA = Mail User Agent MDA = Mail Delivery Agent TLA = Three Letter Acronym
Bob