The following bug has been CLOSED
======================================================================
http://www.dbmail.org/mantis/bug_view_advanced_page.php?bug_id=0000080
======================================================================
Reported By:                scocking
Assigned To:                ilja
======================================================================
Project:                    DBMail
Bug ID:                     80
Category:                   IMAP daemon
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
======================================================================
Date Submitted:             30-Aug-04 12:49 CEST
Last Modified:              29-Nov-04 11:21 CET
======================================================================
Summary:                    Extraneous whitespace included in FETCH responses 
violates RFC
Description: 
The SnapperMail IMAP client reports IMAP protocol errors with many FETCH
responses provided by DBmail.  The problem appears to be extraneous
whitespace provided at the end of DBmail's FETCH response.
======================================================================

----------------------------------------------------------------------
 ilja - 30-Aug-04 14:37 CEST 
----------------------------------------------------------------------
If I apply the following diff, it seems to be corrected:

Index: imaputil.c
===================================================================
RCS file: /cvsroot-dbmail/dbmail/imaputil.c,v
retrieving revision 1.74
diff -r1.74 imaputil.c
171c171
<                       fprintf(outstream, " %llu ",
---
>                       fprintf(outstream, " %llu",
175c175
<                       fprintf(outstream, " %llu ",
---
>                       fprintf(outstream, " %llu",
216c216
<                               fprintf(outstream, "%llu",
---
>                               fprintf(outstream, " %llu",
219c219
<                               fprintf(outstream, "%llu",
msg->bodylines);
---
>                               fprintf(outstream, " %llu",
msg->bodylines);

This has to be double checked, it looks very very shaky.. 
Ilja

edited on: 30-Aug-04 14:37

----------------------------------------------------------------------
 ilja - 06-Sep-04 14:45 CEST 
----------------------------------------------------------------------
Reminder sent to scocking

Hi,

have you already checked if the fix for this dbmail bug solves the
problem?

----------------------------------------------------------------------
 scocking - 08-Sep-04 01:59 CEST 
----------------------------------------------------------------------
Hi Ilja,

I haven't had chance to test this yet, having been swamped with other
work.  I hope to get to it today.

Simon.

----------------------------------------------------------------------
 scocking - 08-Sep-04 10:18 CEST 
----------------------------------------------------------------------
Ilja,

I have applied your diff to our installation and it appears to correct the
problem.  Snappermail no longer complains about trailing whitespace in
dbmail's responses.

Like you I'm a little unsure if this will cause other problems -- I will
operate the server with this patch applied for a day or so and report on
any problems.

Simon.

----------------------------------------------------------------------
 ilja - 29-Nov-04 11:21 CET 
----------------------------------------------------------------------
this bug was fixed quite a while ago.

Bug History
Date Modified  Username       Field                    Change              
======================================================================
30-Aug-04 12:49scocking       New Bug                                      
30-Aug-04 14:35ilja           Bugnote Added: 0000210                       
30-Aug-04 14:37ilja           Bugnote Edited: 0000210                      
31-Aug-04 12:18ilja           Assigned To               => ilja            
31-Aug-04 12:18ilja           Status                   new => confirmed    
06-Sep-04 14:45ilja           Bugnote Added: 0000219                       
08-Sep-04 01:59scocking       Bugnote Added: 0000224                       
08-Sep-04 10:18scocking       Bugnote Added: 0000226                       
29-Nov-04 11:21ilja           Bugnote Added: 0000383                       
29-Nov-04 11:21ilja           Resolution               open => fixed       
29-Nov-04 11:21ilja           Status                   confirmed => resolved
29-Nov-04 11:21ilja           Status                   resolved => closed  
======================================================================

Reply via email to