The following issue has been RESOLVED. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=333 
====================================================================== 
Reported By:                lkneschke
Assigned To:                paul
====================================================================== 
Project:                    DBMail
Issue ID:                   333
Category:                   IMAP daemon
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     resolved
Resolution:                 open
Fixed in Version:           SVN Trunk
====================================================================== 
Date Submitted:             24-Apr-06 07:52 CEST
Last Modified:              28-Apr-06 11:02 CEST
====================================================================== 
Summary:                    php-imap fails to fetch body structure
Description: 
I'm unable to fetch the body structure using imap_fetchstructure in PHP.
The
code is working against Cyrus and UWIMAP. I can see that the dbmail imap
server is searching in the database and is also returning some
information(seen with ethereal), but it seems like php-imap(imap
c-client)
is unable to parse the result.

I attached 2 files containing the ethereal ascii dump of the same request
against a cyrus and a dbmail server. The request against the cyrus imap
server is working.
====================================================================== 

---------------------------------------------------------------------- 
 lkneschke - 24-Apr-06 07:57  
---------------------------------------------------------------------- 
Please have a look at 

INTERNALDATE "24-Apr-2006 05:08:55 %z"

The %z does not seem to be correct. 

---------------------------------------------------------------------- 
 paul - 24-Apr-06 11:04  
---------------------------------------------------------------------- 
I'll make it fall back to +0000 on systems that don't support %z 

---------------------------------------------------------------------- 
 lkneschke - 24-Apr-06 11:40  
---------------------------------------------------------------------- 
Do you have a idea which library provides the needed function? That would
allow us to replace that library on our mailserver with the GNU one.

 

---------------------------------------------------------------------- 
 paul - 28-Apr-06 11:02  
---------------------------------------------------------------------- 
I have no idea Lars. If php-imap now works (albeit with a skewed timezone)
I'll close this bug. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
24-Apr-06 07:52 lkneschke      New Issue                                    
24-Apr-06 07:52 lkneschke      File Added: cyrus.txt                        
24-Apr-06 07:52 lkneschke      File Added: dbmail.txt                       
24-Apr-06 07:57 lkneschke      Note Added: 0001097                          
24-Apr-06 11:04 paul           Note Added: 0001098                          
24-Apr-06 11:30 lkneschke      Note Added: 0001099                          
24-Apr-06 11:40 lkneschke      Note Edited: 0001099                         
28-Apr-06 11:02 paul           Note Added: 0001109                          
28-Apr-06 11:02 paul           Assigned To               => paul            
28-Apr-06 11:02 paul           Status                   new => resolved     
28-Apr-06 11:02 paul           Fixed in Version          => SVN Trunk       
======================================================================

Reply via email to