Hi,

I've got a tricky roundcube problem.   It seems related specifically to our 
communigate pro imap server.   When clicking on reply, none of the header 
information that should be in a reply gets populated (subject, original email 
date, recipient).

I've noticed that this always happens when the preview pane is turned on, and 
only sometimes happens when the preview pane is off.

I've been using roundcube elsewhere for quite some time with a courier imap 
server, and don't have the same problems.

I've looked at compose.inc, rcube_imap.inc and imap.inc, however, I am 
struggling to find out the cause of this problem.   

Any ideas of what to look for would be appricated.  I am a php developer, so 
happy to hunt around in the code, just struggling to get my head around what 
is supposed to happen.  Running rev 912 from svn.  

If I set $rcmail_config['enable_caching'] = FALSE;  
Then this problem occurs all of the time.



I've done a tcpdump of the traffic between roundcube and the imap server. 
Something that I don't quite understand is why the appears to be 2 imap 
queries. 

What I see is:
fh0 UID FETCH 6095 (BODY.PEEK[HEADER.FIELDS (DATE FROM TO SUBJECT REPLY-TO 
IN-REPLY-TO CC BCC CONTENT-TRANSFER-ENCODING CONTENT-TYPE MESSAGE-ID 
REFERENCES)])
and then
fh0 FETCH 927 (BODY.PEEK[HEADER.FIELDS (DATE FROM TO SUBJECT REPLY-TO 
IN-REPLY-TO CC BCC CONTENT-TRANSFER-ENCODING CONTENT-TYPE MESSAGE-ID 
REFERENCES)])

Not sure why it does this twice.  Also, I noticed that it's trying to 
fetch "Reply-to" which is not returned from Imap.  Any ideas.

TCP dump below:


* OK CommuniGate Pro IMAP Server 4.3.6 at oss.co.nz ready
cp01 CAPABILITY
* CAPABILITY IMAP4 IMAP4REV1 ACL NAMESPACE UIDPLUS IDLE LITERAL+ QUOTA ID 
MULTIAPPEND LISTEXT CHILDREN BINARY LOGIN-REFERRALS STARTTLS AUTH=LOGIN 
AUTH=PLAIN AUTH=CRAM-MD5 AUTH=DIGEST-MD5 AUTH=MSN
cp01 OK completed
a000 AUTHENTICATE CRAM-MD5
a000 OK completed
ns1 NAMESPACE
* NAMESPACE (("" "/")) (("~" "/")) (("~public/" "/"))
ns1 OK completed
sel1 SELECT "INBOX"
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft $MDNSent $Hidden)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft $MDNSent 
$Hidden)] limited
* 937 EXISTS
* 0 RECENT
* OK [UIDNEXT 6107] predicted next UID
* OK [UIDVALIDITY 278662535] UIDs valid
sel1 OK [READ-WRITE] SELECT completed
fh0 UID FETCH 6095 (BODY.PEEK[HEADER.FIELDS (DATE FROM TO SUBJECT REPLY-TO 
IN-REPLY-TO CC BCC CONTENT-TRANSFER-ENCODING CONTENT-TYPE MESSAGE-ID 
REFERENCES)])
* 927 FETCH (BODY[HEADER.FIELDS (DATE FROM TO SUBJECT REPLY-TO IN-REPLY-TO CC 
BCC CONTENT-TRANSFER-ENCODING CONTENT-TYPE MESSAGE-ID REFERENCES)] {259}
From: "Someone" <removed>
To: <[EMAIL PROTECTED]>
Subject: WR for meeting
Date: Wed, 7 Nov 2007 11:35:19 +1300
Content-Type: text/plain;
.charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-ID: <[EMAIL PROTECTED]>

 UID 6095)
fh0 OK completed
fh1 UID FETCH 6095 (UID RFC822.SIZE FLAGS INTERNALDATE)
* 927 FETCH (UID 6095 RFC822.SIZE 1576 FLAGS (\Seen) INTERNALDATE "06-Nov-2007 
22:35:21 +0000")
fh1 OK completed
srch1 SEARCH UID 6095
* SEARCH 927
srch1 OK completed
F1247 FETCH 927 (BODYSTRUCTURE)
* 927 FETCH (BODYSTRUCTURE ("text" "plain" ("charset" "us-ascii") NIL 
NIL "7bit" 746 24 NIL NIL NIL NIL))
F1247 OK completed
FUID FETCH 927 (UID)
* 927 FETCH (UID 6095)
FUID OK completed
fh0 FETCH 927 (BODY.PEEK[HEADER.FIELDS (DATE FROM TO SUBJECT REPLY-TO 
IN-REPLY-TO CC BCC CONTENT-TRANSFER-ENCODING CONTENT-TYPE MESSAGE-ID 
REFERENCES)])
* 927 FETCH (BODY[HEADER.FIELDS (DATE FROM TO SUBJECT REPLY-TO IN-REPLY-TO CC 
BCC CONTENT-TRANSFER-ENCODING CONTENT-TYPE MESSAGE-ID REFERENCES)] {259}
From: "Someone" <removed>
To: <[EMAIL PROTECTED]>
Subject: WR for meeting
Date: Wed, 7 Nov 2007 11:35:19 +1300
Content-Type: text/plain;
.charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-ID: <[EMAIL PROTECTED]>

)
fh0 OK completed
fh1 FETCH 927 (UID RFC822.SIZE FLAGS INTERNALDATE)
* 927 FETCH (UID 6095 RFC822.SIZE 1576 FLAGS (\Seen) INTERNALDATE "06-Nov-2007 
22:35:21 +0000")
fh1 OK completed
ftch FETCH 927 (BODY.PEEK[1])
* 927 FETCH (BODY[1] {746}


The WR for the meeting this morning: 
[cut]

)
ftch OK completed
I LOGOUT
* BYE CommuniGate Pro IMAP closing connection
I OK completed




Regards

-- 
Glen Ogilvie
Open Systems Specialists
Level 1, 162 Grafton Road
http://www.oss.co.nz/

Ph:     +64 9 984 3000
Mobile: +64 21 684 146
GPG Key: ACED9C17
_______________________________________________
List info: http://lists.roundcube.net/dev/

Reply via email to