<<< Date Index >>>     <<< Thread Index >>>

Re: bug in IMAP edit-threads



Paul Walker wrote:  [Tue Mar 21 2006, 01:00:04PM EST]
> The results of a debug run would probably be helpful. -d2 is probably a good
> level to start on.

Okay, here's what I see, using cvs from a few minutes ago.  The
configuration is:

    set read_inc=1000
    set header_cache_pagesize=32768
    set maildir_header_cache_verify=no
    set header_cache="/home/agriffis/mutt/mutt-head/tmp/header_cache"

and the invocation is:

    mutt -F null -f imaps://user:pass@server/INBOX

For privacy, some portions of the log are replaced by [..something..].
During the run, I did the following:

    1. switch to thread sort
    2. link a message to another message
    3. sync to imap (expunge)
    4. bind index \cf imap-fetch-mail
    5. hit ctrl-f a few times (mail did not appear)
    6. set timeout=5, wait 5 seconds (mail did not appear)
    7. quit

Mutt 1.5.11 started at Tue Mar 21 13:41:12 2006
.
Debugging at level 2.

Reading configuration file 'null'.
ssl_check_certificate: signer check passed
< * OK IMAP4 Ready [..server..] 0001fbb4
> a0000 CAPABILITY
< * CAPABILITY IMAP4 IMAP4REV1 LITERL+ NAMESPACE
Handling CAPABILITY
< a0000 OK CAPABILITY
imap_authenticate: Using any available method.
Sending LOGIN command for [..username..]...
< a0001 OK You are so in
Communication encrypted at 168 bits
> a0002 LIST "" ""
< * LIST (\Noselect) "." ""
Root delimiter: .
< a0002 OK LIST completed
> a0003 SELECT "INBOX"
< * FLAGS (Old \Draft \Answered \Flagged \Deleted \Seen \Recent)
Getting mailbox FLAGS
< * OK [PERMANENTFLAGS (Old \* \Draft \Answered \Flagged \Deleted \Seen)] 
Limited
Getting mailbox PERMANENTFLAGS
< * 2271 EXISTS
Handling EXISTS
cmd_handle_untagged: New mail in INBOX - 2271 messages total.
< * 1 RECENT
< * OK [UIDVALIDITY 1106230294] Ok
Getting mailbox UIDVALIDITY
< * OK [MYRIGHTS "acdilrsw"] ACL
< a0003 OK [READ-WRITE] Ok
message.c:102: mutt_mktemp returns "/tmp/mutt-olive-10208-29923-0".
> a0004 FETCH 1:2271 (UID FLAGS INTERNALDATE RFC822.SIZE 
> BODY.PEEK[HEADER.FIELDS (DATE FROM SUBJECT TO CC MESSAGE-ID REFERENCES 
> CONTENT-TYPE CONTENT-DESCRIPTION IN-REPLY-TO REPLY-TO LINES LIST-POST 
> X-LABEL)])
< * 1 FETCH (UID 15 FLAGS (\Seen) INTERNALDATE "20-Jan-2005 06:26:50 -0700" 
RFC822.SIZE 660 BODY[HEADER.FIELDS ("DATE" "FROM" "SUBJECT" "TO" "CC" 
"MESSAGE-ID" "REFERENCES" "CONTENT-TYPE" "CONTENT-DESCRIPTION" "IN-REPLY-TO" 
"REPLY-TO" "LINES" "LIST-POST" "X-LABEL")] {232}
Handling FETCH
FETCH response ignored for this message
imap_read_literal: reading 232 bytes
< )
parse_parameters: `charset=us-ascii'
parse_parameter: `charset' = `us-ascii'
< * 2 FETCH (UID 40 FLAGS (\Seen) INTERNALDATE "19-Jan-2005 14:34:12 -0700" 
RFC822.SIZE 12578 BODY[HEADER.FIELDS ("DATE" "FROM" "SUBJECT" "TO" "CC" 
"MESSAGE-ID" "REFERENCES" "CONTENT-TYPE" "CONTENT-DESCRIPTION" "IN-REPLY-TO" 
"REPLY-TO" "LINES" "LIST-POST" "X-LABEL")] {339}
Handling FETCH
FETCH response ignored for this message
imap_read_literal: reading 339 bytes
< )
parse_parameters: `boundary="=-U6Alqe2wzbIwmeDDz7P5"'
parse_parameter: `boundary' = `=-U6Alqe2wzbIwmeDDz7P5'
< * 3 FETCH (UID 41 FLAGS (\Seen) INTERNALDATE "19-Jan-2005 15:29:04 -0700" 
RFC822.SIZE 2427 BODY[HEADER.FIELDS ("DATE" "FROM" "SUBJECT" "TO" "CC" 
"MESSAGE-ID" "REFERENCES" "CONTENT-TYPE" "CONTENT-DESCRIPTION" "IN-REPLY-TO" 
"REPLY-TO" "LINES" "LIST-POST" "X-LABEL")] {263}
Handling FETCH
FETCH response ignored for this message
imap_read_literal: reading 263 bytes
< )
parse_parameters: `charset="iso-8859-1"'
parse_parameter: `charset' = `iso-8859-1'

[..snip many message fetches..]

< * 2270 FETCH (UID 18369 FLAGS () INTERNALDATE "21-Mar-2006 10:53:48 -0700" 
RFC822.SIZE 922 BODY[HEADER.FIELDS ("DATE" "FROM" "SUBJECT" "TO" "CC" 
"MESSAGE-ID" "REFERENCES" "CONTENT-TYPE" "CONTENT-DESCRIPTION" "IN-REPLY-TO" 
"REPLY-TO" "LINES" "LIST-POST" "X-LABEL")] {330}
Handling FETCH
FETCH response ignored for this message
imap_read_literal: reading 330 bytes
< )
parse_parameters: `charset=utf8'
parse_parameter: `charset' = `utf8'
read_rfc822_header(): no date found, using received time from msg separator
< * 2271 FETCH (UID 18370 FLAGS (\Recent) INTERNALDATE "21-Mar-2006 11:25:05 
-0700" RFC822.SIZE 140180 BODY[HEADER.FIELDS ("DATE" "FROM" "SUBJECT" "TO" "CC" 
"MESSAGE-ID" "REFERENCES" "CONTENT-TYPE" "CONTENT-DESCRIPTION" "IN-REPLY-TO" 
"REPLY-TO" "LINES" "LIST-POST" "X-LABEL")] {359}
Handling FETCH
FETCH response ignored for this message
imap_read_literal: reading 359 bytes
< )
parse_parameters: `boundary="----=_NextPart_000_0588_01C64CD1.A73E9490"'
parse_parameter: `boundary' = `----=_NextPart_000_0588_01C64CD1.A73E9490'
< a0004 OK FETCH completed.
Overriding UIDNEXT: 0 -> 18371
imap_open_mailbox: msgcount is 2271
Threading is not enabled.
message.c:402: mutt_mktemp returns "/tmp/mutt-olive-10208-29923-1".
> a0005 UID FETCH 18370 BODY.PEEK[]
< * 2271 FETCH (UID 18370 BODY[] {140180}
Handling FETCH
FETCH response ignored for this message
imap_read_literal: reading 140180 bytes
< )
< a0005 OK FETCH completed.
parse_parameters: `boundary="----=_NextPart_000_0588_01C64CD1.A73E9490"'
parse_parameter: `boundary' = `----=_NextPart_000_0588_01C64CD1.A73E9490'
mx.c:1237: mutt_mktemp returns "/tmp/mutt-olive-10208-29923-2".
> a0006 APPEND "INBOX" () {140266}
< + OK
> Return-Path: [..]

[...snip message body...]

< a0006 OK [APPENDUID 1106230294 18371] APPEND Ok.
mx_close_message (): unlinking /tmp/mutt-olive-10208-29923-2
> a0007 UID STORE 18370 +FLAGS.SILENT (\Deleted)
< a0007 OK STORE completed.
> a0008 EXPUNGE
< * 2271 EXPUNGE
Handling EXPUNGE
< * 2271 EXISTS
Handling EXISTS
< * 0 RECENT
< a0008 OK EXPUNGE completed
imap_cmd_finish: Expunging mailbox
Expunging message UID 18370.
> a0009 NOOP
< a0009 OK NOOP completed
You are on the last message.
> a0010 NOOP
< a0010 OK NOOP completed
> a0011 NOOP
< a0011 OK NOOP completed
> a0012 NOOP
< a0012 OK NOOP completed
You are on the last message.
> a0013 NOOP
< a0013 OK NOOP completed
> a0014 NOOP
< a0014 OK NOOP completed
> a0015 NOOP
< a0015 OK NOOP completed
> a0016 UID STORE 18366,18368:18369 +FLAGS.SILENT (Old)
< a0016 OK STORE completed.
mutt_free_body: Not unlinking [..]
mutt_free_body: Not unlinking [..]
mutt_free_body: Not unlinking [..]
mutt_free_body: Not unlinking [..]
> a0017 CLOSE
a0018 LOGOUT
< a0017 OK mailbox closed.
< * BYE Courier-IMAP server shutting down
Handling BYE
< a0018 OK LOGOUT completed

Attachment: pgpbIBA7QEcSL.pgp
Description: PGP signature