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

Mutt hangs on opening IMAP mailbox



Hi,


I'm using mutt to read my IMAP mailbox at free.fr (a french ISP) for years.
Mutt has suddenly stop working. I don't have change my configuration or upgrade mutt.
Example:

* I am using the last mercurial revision.
* I run mutt -n -d 5 -f imap://trolltroll@xxxxxxxxxxxx/INBOX
* Mutt prints "Selecting INBOX".
* Nothing appends  and after a  longtime  (maybe 30 minutes), mutt
  prints "Connection to imap.free.fr closed".


As far as I understand, the IMAP free.fr server may have changed and mutt can no longer talk with it. The strange thing is that mutt wait for a server answer even if the last command received is "OK [READ-WRITE] SELECT completed".


Thanks in advance for any help.



--------------------------
Some technical informations:

Mutt's stack when mutt hangs on:
#1  0xb7e89153 in read () from /lib/i686/cmov/libc.so.6
#2  0x080c2fce in raw_socket_read (conn=0x8138758,
buf=0x81388a4 "a0004 OK STATUS completed\r\n* 4 EXISTS\r\n* 0 RECENT\r\n* OK [UIDVALIDITY 1098887133] UID validity status\r\n* OK [UIDNEXT 1113933069] Predicted next UID\r\n* FLAGS (\\Answered \\Flagged \\Deleted \\Draft \\Seen)\r\n"..., len=1024)
  at mutt_socket.c:395
#3  0x080c2872 in mutt_socket_readchar (conn=0x8138758, c=0xbfa8359b "")
  at mutt_socket.c:165
#4  0x080c2dc9 in mutt_socket_readln_d (
  buf=0x8139970 "a0004 OK [READ-WRITE] SELECT completed", buflen=512,
  conn=0x8138758, dbg=2) at mutt_socket.c:195
#5  0x080c5a76 in imap_cmd_step (idata=0x8138cd0) at command.c:146
#6  0x080ca1d8 in imap_open_mailbox (ctx=0x81372b8) at imap.c:635
#7  0x08087db3 in mx_open_mailbox (
  path=0xbfa84df8 "imap://xxxxyyyyyy@xxxxxxxxxxxx/INBOX",
  flags=<value optimized out>, pctx=0x400) at mx.c:692

My .muttdebug is:
[nothing relevant]


Connected to imap.free.fr:143 on fd=4
imap_cmd_step: grew buffer to 512 bytes
4< * OK [CAPABILITY IMAP4REV1 X-NETSCAPE LOGIN-REFERRALS AUTH=LOGIN] IMAP4rev1 Free
Handling CAPABILITY
IMAP queue drained
imap_authenticate: Using any available method.
4> a0000 LOGIN "xxxyyyy" "zzzoooo"
4< a0000 OK [CAPABILITY IMAP4REV1 X-NETSCAPE NAMESPACE MAILBOX-REFERRALS SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND] User romainjacquet authenticated
Handling CAPABILITY
IMAP queue drained
4> a0001 CAPABILITY
a0002 LIST "" ""
4< * CAPABILITY IMAP4REV1 X-NETSCAPE NAMESPACE MAILBOX-REFERRALS SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND LOGIN-REFERRALS AUTH=LOGIN
Handling CAPABILITY
4< a0001 OK CAPABILITY completed
4< * LIST (\NoSelect) "/" ""
Root delimiter: /
4< a0002 OK LIST completed
IMAP queue drained
4> a0003 STATUS "POSTPONE" (MESSAGES)
a0004 SELECT "INBOX"
4< * STATUS POSTPONE (MESSAGES 0)
POSTPONE (UIDVALIDITY: 0, UIDNEXT: 0) 0 messages, 0 recent, 0 unseen
Running default STATUS handler
Found POSTPONE in buffy list (OV: 0 ON: 0 U: 0)
4< a0004 OK STATUS completed
4< * 4 EXISTS
Handling EXISTS
cmd_handle_untagged: New mail in INBOX - 4 messages total.
4< * 0 RECENT
4< * OK [UIDVALIDITY 1098887133] UID validity status
Getting mailbox UIDVALIDITY
4< * OK [UIDNEXT 1113933069] Predicted next UID
Getting mailbox UIDNEXT
4< * FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
Getting mailbox FLAGS
4< * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Draft \Seen)] Permanent flags
Getting mailbox PERMANENTFLAGS
4< * OK [UNSEEN 1] first unseen message in INBOX
4< a0004 OK [READ-WRITE] SELECT completed          <- *hangs on*
4< * BYE Autologout; idle for too long
Handling BYE
Autologout; idle for too long