A NOTE has been added to this issue. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=416 
====================================================================== 
Reported By:                schwarz
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   416
Category:                   IMAP daemon
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
target:                      
====================================================================== 
Date Submitted:             25-Sep-06 13:59 CEST
Last Modified:              06-Oct-06 18:56 CEST
====================================================================== 
Summary:                    Server doesn't work properly with messages with
empty body
Description: 
(Sorry, I did not know how to re-open or comment to the existing bug
0000294 so 
this is actually a duplicate...)

The patch "dbmsgbuf.c.diff" in 0000294 does not solve the problem for me. 
I'm running dbmail 2.0.10.  When I send in a new message with empty body,
Thunderbird displays a message size of 2097151kb:

# mail -s "test-message without body" schwarz < /dev/null
Null message body; hope that's ok
# 

When tracing the IMAP connection, one can clearly see dbmail's bug:

25 UID fetch 169924 (UID RFC822.SIZE FLAGS BODY.PEEK[HEADER.FIELDS (From
To Cc Subject Date Message-ID Priority X-Priority References Newsgroups
In-Reply-To Content-Type X-Spam-Status X-Spam-Flag)])

* 1 FETCH (
UID 169924 RFC822.SIZE 4612086928928768099 FLAGS (\Recent)
BODY[HEADER.FIELDS (From To Cc Subject Date Message-ID Priority X-Priority
References Newsgroups In-Reply-To Content-Type X-Spam-Status X-Spam-Flag)]
{211}
Subject: test-message without body
To: [EMAIL PROTECTED]
Message-Id: <[EMAIL PROTECTED]>
From: root <[EMAIL PROTECTED]>
Date: Mon, 25 Sep 2006 13:50:23 +0200

)
25 OK UID FETCH completed

Any help is appreciated!


Thanks,

Chris

====================================================================== 

---------------------------------------------------------------------- 
 aaron - 06-Oct-06 18:56  
---------------------------------------------------------------------- 
I suspect that you have old rfc size values caches in the database, perhaps
as a result of the older bug. Try this:

"SELECT rfcsize FROM dbmail_messages WHERE message_idnr = ..."

on your message with the empty body. Let's see what it says. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
25-Sep-06 13:59 schwarz        New Issue                                    
25-Sep-06 13:59 schwarz        Issue Monitored: schwarz                     
25-Sep-06 23:21 jasb           Issue Monitored: jasb                        
06-Oct-06 18:56 aaron          Note Added: 0001476                          
======================================================================

Reply via email to