Roundcube Community Forum

 

Replies failing on multi-line References: headers

Started by adalle, April 02, 2008, 05:05:29 PM

Previous topic - Next topic

adalle

Ran into a problem where sometimes messages would fail to be saved. Only on replies, and the messages would actually be accepted by the SMTP server and sent, but Roundcube would report 'An error occured while saving' due to failure to save to Sent folder. Same failure if you try to save to Drafts.

Ok. So I tracked this down, and found that when email with a multi-line References line like so confuses Roundcube:


References: <76707827F72F4A79974C7F05B7ECE187@Victoria>            
    <[email protected]>                
    <326CDEF6E5A9447298092EE87897B05E@Victoria>              
    <[email protected]>

Roundcube is able to access these messages fine, but the generated reply message is mangled:

Date: Wed, 02 Apr 2008 16:55:55 -0400                      
From:
Subject: Re: test Wed, 02 Apr 2008 16:35:00 -0400                
To:
                                       
<[email protected]>                    
<326CDEF6E5A9447298092EE87897B05E@Victoria> <[email protected]>  
+<[email protected]>                        
Message-ID: <[email protected]>              
X-Sender:
Received: from 206-248-168-7.dsl.ncf.ca [206.248.168.7] with HTTP/1.1 (POST);  
    Wed, 02 Apr 2008 16:55:55 -0400                    
User-Agent: RoundCube Webmail/0.1                        
Content-Type: text/plain; charset="UTF-8"                    
Content-Transfer-Encoding: 8bit                        

As you can see - the References header seems to turn into a newline, breaking the headers.

Obscenity


adalle

I think this could be platform/environment specific. I found that I could not replicate the problem on my Gentoo AMD64 Linux system at home. The Linux-hosted RoundCube (also 0.1-stable) handles the multi-line header just fine.

The problem occurs on our Solaris 2.8 system, running RoundCube 0.1-stable on:
Apache/2.2.3 (Unix) mod_jk/1.2.19 PHP/5.2.5 mod_perl/2.0.3 Perl/v5.6.1 Server

Akerbos

I definitely observed this in 0.1 (fun with mailing lists :D); since I run 0.1.1, I got no feedback. Can anyone confirm a bugfix?