Roundcube Community Forum

 

Empty Inbox when using QQmail

Started by Srg04, November 22, 2013, 02:45:16 AM

Previous topic - Next topic

Srg04

         when I log into roundcube mail,I can't see any incoming emails in my INBOX, but I can send emails out.
         and my imap log file shows below:
[22-Nov-2013 08:28:16 +0100]: [AEE3] S: * OK [CAPABILITY IMAP4 IMAP4rev1 IDLE XAPPLEPUSHSERVICE ID UIDPLUS AUTH=LOGIN NAMESPACE] QQMail IMAP4Server ready
[22-Nov-2013 08:28:16 +0100]: [AEE3] C: A0001 ID ("name" "Roundcube" "version" "1.0-git" "php" "5.4.19" "os" "WINNT" "command" "/webmail/")
[22-Nov-2013 08:28:16 +0100]: [AEE3] S: * ID NIL
[22-Nov-2013 08:28:16 +0100]: [AEE3] S: A0001 OK ID completed
[22-Nov-2013 08:28:16 +0100]: [AEE3] C: A0002 LOGIN castilla1902@qq.com
[22-Nov-2013 08:28:17 +0100]: [AEE3] S: A0002 OK Success login ok
[22-Nov-2013 08:28:17 +0100]: [AEE3] C: A0003 NAMESPACE
[22-Nov-2013 08:28:17 +0100]: [AEE3] S: * NAMESPACE (("" "/")) NIL NIL
[22-Nov-2013 08:28:17 +0100]: [AEE3] S: A0003 OK Success
[22-Nov-2013 08:28:17 +0100]: [AEE3] C: A0004 LOGOUT
[22-Nov-2013 08:28:17 +0100]: [AEE3] S: * BYE LOGOUT received
[22-Nov-2013 08:28:17 +0100]: [AEE3] S: A0004 OK LOGOUT Completed
[22-Nov-2013 08:28:18 +0100]: [522C] S: * OK [CAPABILITY IMAP4 IMAP4rev1 IDLE XAPPLEPUSHSERVICE ID UIDPLUS AUTH=LOGIN NAMESPACE] QQMail IMAP4Server ready
[22-Nov-2013 08:28:18 +0100]: [522C] C: A0001 ID ("name" "Roundcube" "version" "1.0-git" "php" "5.4.19" "os" "WINNT" "command" "/webmail/")
[22-Nov-2013 08:28:18 +0100]: [522C] S: * ID NIL
[22-Nov-2013 08:28:18 +0100]: [522C] S: A0001 OK ID completed
[22-Nov-2013 08:28:18 +0100]: [522C] C: A0002 LOGIN castilla1902@qq.com
[22-Nov-2013 08:28:18 +0100]: [522C] S: A0002 OK Success login ok
[22-Nov-2013 08:28:18 +0100]: [522C] C: A0003 CAPABILITY
[22-Nov-2013 08:28:19 +0100]: [522C] S: * CAPABILITY IMAP4 IMAP4rev1 IDLE XAPPLEPUSHSERVICE NAMESPACE CHILDREN ID UIDPLUS
[22-Nov-2013 08:28:19 +0100]: [522C] S: A0003 OK CAPABILITY Completed
[22-Nov-2013 08:28:19 +0100]: [522C] C: A0004 LSUB "" "*"
[22-Nov-2013 08:28:19 +0100]: [522C] S: * LSUB (\HasNoChildren) "/" "INBOX"
[22-Nov-2013 08:28:19 +0100]: [522C] S: * LSUB (\NoSelect \HasChildren) "/" "&UXZO1mWHTvZZOQ-"
[22-Nov-2013 08:28:19 +0100]: [522C] S: * LSUB (\HasNoChildren) "/" "Sent Messages"
[22-Nov-2013 08:28:19 +0100]: [522C] S: * LSUB (\HasNoChildren) "/" "Drafts"
[22-Nov-2013 08:28:19 +0100]: [522C] S: * LSUB (\HasNoChildren) "/" "Deleted Messages"
[22-Nov-2013 08:28:19 +0100]: [522C] S: * LSUB (\HasNoChildren) "/" "Junk"
[22-Nov-2013 08:28:19 +0100]: [522C] S: * LSUB (\HasNoChildren) "/" "&V4NXPpCuTvY-"
[22-Nov-2013 08:28:19 +0100]: [522C] S: * LSUB (\HasNoChildren) "/" "INBOX.Sent"
[22-Nov-2013 08:28:19 +0100]: [522C] S: A0004 OK LSUB completed
[22-Nov-2013 08:28:19 +0100]: [522C] C: A0005 LIST "" "*"
[22-Nov-2013 08:28:19 +0100]: [522C] S: * LIST (\HasNoChildren) "/" "INBOX"
[22-Nov-2013 08:28:19 +0100]: [522C] S: * LIST (\NoSelect \HasChildren) "/" "&UXZO1mWHTvZZOQ-"
[22-Nov-2013 08:28:19 +0100]: [522C] S: * LIST (\HasNoChildren) "/" "Sent Messages"
[22-Nov-2013 08:28:19 +0100]: [522C] S: * LIST (\HasNoChildren) "/" "Drafts"
[22-Nov-2013 08:28:19 +0100]: [522C] S: * LIST (\HasNoChildren) "/" "Deleted Messages"
[22-Nov-2013 08:28:19 +0100]: [522C] S: * LIST (\HasNoChildren) "/" "Junk"
[22-Nov-2013 08:28:19 +0100]: [522C] S: * LIST (\HasNoChildren) "/" "&V4NXPpCuTvY-"
[22-Nov-2013 08:28:19 +0100]: [522C] S: * LIST (\HasNoChildren) "/" "INBOX.Sent"
[22-Nov-2013 08:28:19 +0100]: [522C] S: A0005 OK LIST completed
[22-Nov-2013 08:28:20 +0100]: [522C] C: A0006 LOGOUT
[22-Nov-2013 08:28:20 +0100]: [522C] S: * BYE LOGOUT received
[22-Nov-2013 08:28:20 +0100]: [522C] S: A0006 OK LOGOUT Completed
[22-Nov-2013 08:28:21 +0100]: [E3E9] S: * OK [CAPABILITY IMAP4 IMAP4rev1 IDLE XAPPLEPUSHSERVICE ID UIDPLUS AUTH=LOGIN NAMESPACE] QQMail IMAP4Server ready
[22-Nov-2013 08:28:21 +0100]: [E3E9] C: A0001 ID ("name" "Roundcube" "version" "1.0-git" "php" "5.4.19" "os" "WINNT" "command" "/webmail/?_task=mail&_action=getunread&_remote=1&_unlock=0&_=1385105300329")
[22-Nov-2013 08:28:21 +0100]: [9C15] S: * OK [CAPABILITY IMAP4 IMAP4rev1 IDLE XAPPLEPUSHSERVICE ID UIDPLUS AUTH=LOGIN NAMESPACE] QQMail IMAP4Server ready
[22-Nov-2013 08:28:21 +0100]: [9C15] C: A0001 ID ("name" "Roundcube" "version" "1.0-git" "php" "5.4.19" "os" "WINNT" "command" "/webmail/?_task=mail&_refresh=1&_mbox=INBOX&_action=list&_remote=1&_unlock=loading1385105300324&_=1385105300327")
[22-Nov-2013 08:28:21 +0100]: [E3E9] S: * ID NIL
[22-Nov-2013 08:28:21 +0100]: [E3E9] S: A0001 OK ID completed
[22-Nov-2013 08:28:21 +0100]: [E3E9] C: A0002 LOGIN castilla1902@qq.com
[22-Nov-2013 08:28:21 +0100]: [9C15] S: * ID NIL
[22-Nov-2013 08:28:21 +0100]: [9C15] S: A0001 OK ID completed
[22-Nov-2013 08:28:21 +0100]: [9C15] C: A0002 LOGIN castilla1902@qq.com
[22-Nov-2013 08:28:21 +0100]: [E3E9] S: A0002 OK Success login ok
[22-Nov-2013 08:28:21 +0100]: [E3E9] C: A0003 LSUB "" "*"
[22-Nov-2013 08:28:21 +0100]: [9C15] S: A0002 OK Success login ok
[22-Nov-2013 08:28:21 +0100]: [9C15] C: A0003 STATUS INBOX (MESSAGES UNSEEN)
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: * LSUB (\HasNoChildren) "/" "INBOX"
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: * LSUB (\NoSelect \HasChildren) "/" "&UXZO1mWHTvZZOQ-"
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: * LSUB (\HasNoChildren) "/" "Sent Messages"
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: * LSUB (\HasNoChildren) "/" "Drafts"
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: * LSUB (\HasNoChildren) "/" "Deleted Messages"
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: * LSUB (\HasNoChildren) "/" "Junk"
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: * LSUB (\HasNoChildren) "/" "&V4NXPpCuTvY-"
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: * LSUB (\HasNoChildren) "/" "INBOX.Sent"
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: A0003 OK LSUB completed
[22-Nov-2013 08:28:22 +0100]: [E3E9] C: A0004 LIST "" "*"
[22-Nov-2013 08:28:22 +0100]: [9C15] S: * STATUS INBOX (MESSAGES 24 UNSEEN 0)
[22-Nov-2013 08:28:22 +0100]: [9C15] S: A0003 OK STATUS completed
[22-Nov-2013 08:28:22 +0100]: [9C15] C: A0004 SELECT INBOX
[22-Nov-2013 08:28:22 +0100]: [9C15] S: * 24 EXISTS
[22-Nov-2013 08:28:22 +0100]: [9C15] S: * 0 RECENT
[22-Nov-2013 08:28:22 +0100]: [9C15] S: * OK [UIDVALIDITY 1375684709] UID validity status
[22-Nov-2013 08:28:22 +0100]: [9C15] S: * OK [UIDNEXT 174] Predicted next UID
[22-Nov-2013 08:28:22 +0100]: [9C15] S: * FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
[22-Nov-2013 08:28:22 +0100]: [9C15] S: * OK [PERMANENTFLAGS (\* \Answered \Flagged \Deleted \Draft \Seen)] Permanent flags
[22-Nov-2013 08:28:22 +0100]: [9C15] S: A0004 OK [READ-WRITE] SELECT complete
[22-Nov-2013 08:28:22 +0100]: [9C15] C: A0005 UID SEARCH 24
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: * LIST (\HasNoChildren) "/" "INBOX"
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: * LIST (\NoSelect \HasChildren) "/" "&UXZO1mWHTvZZOQ-"
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: * LIST (\HasNoChildren) "/" "Sent Messages"
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: * LIST (\HasNoChildren) "/" "Drafts"
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: * LIST (\HasNoChildren) "/" "Deleted Messages"
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: * LIST (\HasNoChildren) "/" "Junk"
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: * LIST (\HasNoChildren) "/" "&V4NXPpCuTvY-"
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: * LIST (\HasNoChildren) "/" "INBOX.Sent"
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: A0004 OK LIST completed
[22-Nov-2013 08:28:22 +0100]: [E3E9] C: A0005 STATUS INBOX (MESSAGES UNSEEN)
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: * STATUS INBOX (MESSAGES 24 UNSEEN 0)
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: A0005 OK STATUS completed
[22-Nov-2013 08:28:22 +0100]: [E3E9] C: A0006 STATUS Drafts (MESSAGES UNSEEN)
[22-Nov-2013 08:28:22 +0100]: [9C15] S: * SEARCH 173
[22-Nov-2013 08:28:22 +0100]: [9C15] S: A0005 OK UID SEARCH completed
[22-Nov-2013 08:28:22 +0100]: [9C15] C: A0006 UID SEARCH ALL
[22-Nov-2013 08:28:22 +0100]: [9C15] S: * SEARCH
[22-Nov-2013 08:28:22 +0100]: [9C15] S: A0006 OK UID SEARCH completed
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: * STATUS Drafts (MESSAGES 0 UNSEEN 0)
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: A0006 OK STATUS completed
[22-Nov-2013 08:28:22 +0100]: [E3E9] C: A0007 STATUS Junk (MESSAGES UNSEEN)
[22-Nov-2013 08:28:22 +0100]: [9C15] C: A0007 LOGOUT
[22-Nov-2013 08:28:22 +0100]: [9C15] S: * BYE LOGOUT received
[22-Nov-2013 08:28:22 +0100]: [9C15] S: A0007 OK LOGOUT Completed
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: * STATUS Junk (MESSAGES 4 UNSEEN 0)
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: A0007 OK STATUS completed
[22-Nov-2013 08:28:22 +0100]: [E3E9] C: A0008 STATUS "Deleted Messages" (MESSAGES UNSEEN)
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: * STATUS Deleted Messages (MESSAGES 0 UNSEEN 0)
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: A0008 OK STATUS completed
[22-Nov-2013 08:28:22 +0100]: [E3E9] C: A0009 STATUS INBOX.Sent (MESSAGES UNSEEN)
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: * STATUS INBOX.Sent (MESSAGES 0 UNSEEN 0)
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: A0009 OK STATUS completed
[22-Nov-2013 08:28:22 +0100]: [E3E9] C: A0010 STATUS "Sent Messages" (MESSAGES UNSEEN)
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: * STATUS Sent Messages (MESSAGES 4 UNSEEN 0)
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: A0010 OK STATUS completed
[22-Nov-2013 08:28:22 +0100]: [E3E9] C: A0011 STATUS &UXZO1mWHTvZZOQ- (MESSAGES UNSEEN)
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: * STATUS &UXZO1mWHTvZZOQ- ()
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: A0011 OK STATUS completed
[22-Nov-2013 08:28:22 +0100]: [E3E9] C: A0012 STATUS &V4NXPpCuTvY- (MESSAGES UNSEEN)
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: * STATUS &V4NXPpCuTvY- (MESSAGES 4 UNSEEN 0)
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: A0012 OK STATUS completed
[22-Nov-2013 08:28:22 +0100]: [E3E9] C: A0013 LOGOUT
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: * BYE LOGOUT received
[22-Nov-2013 08:28:22 +0100]: [E3E9] S: A0013 OK LOGOUT Completed
[22-Nov-2013 08:29:08 +0100]: [AC93] S: * OK [CAPABILITY IMAP4 IMAP4rev1 IDLE XAPPLEPUSHSERVICE ID UIDPLUS AUTH=LOGIN NAMESPACE] QQMail IMAP4Server ready
[22-Nov-2013 08:29:08 +0100]: [AC93] C: A0001 ID ("name" "Roundcube" "version" "1.0-git" "php" "5.4.19" "os" "WINNT" "command" "/webmail/?_task=mail&_filter=UNANSWERED&_mbox=INBOX&_action=search&_remote=1&_unlock=loading1385105346832&_=1385105346838")
[22-Nov-2013 08:29:08 +0100]: [AC93] S: * ID NIL
[22-Nov-2013 08:29:08 +0100]: [AC93] S: A0001 OK ID completed
[22-Nov-2013 08:29:08 +0100]: [AC93] C: A0002 LOGIN castilla1902@qq.com
[22-Nov-2013 08:29:08 +0100]: [AC93] S: A0002 OK Success login ok
[22-Nov-2013 08:29:08 +0100]: [AC93] C: A0003 SELECT INBOX
[22-Nov-2013 08:29:08 +0100]: [AC93] S: * 24 EXISTS
[22-Nov-2013 08:29:08 +0100]: [AC93] S: * 0 RECENT
[22-Nov-2013 08:29:08 +0100]: [AC93] S: * OK [UIDVALIDITY 1375684709] UID validity status
[22-Nov-2013 08:29:08 +0100]: [AC93] S: * OK [UIDNEXT 174] Predicted next UID
[22-Nov-2013 08:29:08 +0100]: [AC93] S: * FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
[22-Nov-2013 08:29:08 +0100]: [AC93] S: * OK [PERMANENTFLAGS (\* \Answered \Flagged \Deleted \Draft \Seen)] Permanent flags
[22-Nov-2013 08:29:08 +0100]: [AC93] S: A0003 OK [READ-WRITE] SELECT complete
[22-Nov-2013 08:29:08 +0100]: [AC93] C: A0004 CAPABILITY
[22-Nov-2013 08:29:08 +0100]: [AC93] S: * CAPABILITY IMAP4 IMAP4rev1 IDLE XAPPLEPUSHSERVICE NAMESPACE CHILDREN ID UIDPLUS
[22-Nov-2013 08:29:08 +0100]: [AC93] S: A0004 OK CAPABILITY Completed
[22-Nov-2013 08:29:08 +0100]: [AC93] C: A0005 UID SEARCH UNANSWERED
[22-Nov-2013 08:29:08 +0100]: [AC93] S: * SEARCH 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173
[22-Nov-2013 08:29:08 +0100]: [AC93] S: A0005 OK UID SEARCH completed

     Those red words shows that it finds out my messages,but actually no messages are shown in my inbox.
     And when i change into 'Unanswered' selection,messages show normally.
     I work with QQmail,which is widely used in china.
     Can anyone help me?

alec

Quote from: Srg04 on November 22, 2013, 02:45:16 AM
[22-Nov-2013 08:28:22 +0100]: [9C15] C: A0006 UID SEARCH ALL
[22-Nov-2013 08:28:22 +0100]: [9C15] S: * SEARCH
[22-Nov-2013 08:28:22 +0100]: [9C15] S: A0006 OK UID SEARCH completed

Here's your problem. Server returns empty result and this looks like server issue. As it does not support SORT command, the only way to workaround this on Roundcube side will be hacking the code to use FETCH instead.

Srg04

Quote from: alec on November 22, 2013, 01:42:15 PM
Quote from: Srg04 on November 22, 2013, 02:45:16 AM
[22-Nov-2013 08:28:22 +0100]: [9C15] C: A0006 UID SEARCH ALL
[22-Nov-2013 08:28:22 +0100]: [9C15] S: * SEARCH
[22-Nov-2013 08:28:22 +0100]: [9C15] S: A0006 OK UID SEARCH completed

Here's your problem. Server returns empty result and this looks like server issue. As it does not support SORT command, the only way to workaround this on Roundcube side will be hacking the code to use FETCH instead.

Dear alec;
     Sorry about bothering you,
     I can't quite get what you say, can you give me more details about it?
     hack the code? u mean modify my roundcube code or else?
     and if you mean roundcube's code,how can i find them? i'm really not able to handle it ,because my tech is so poor.

alec

I'm saying that is imap server issue not Roundcube. However, "UID SEARCH ALL" could be replaced with other command, but that requires some knowledge.

Srg04

Quote from: alec on November 23, 2013, 02:45:41 AM
I'm saying that is imap server issue not Roundcube. However, "UID SEARCH ALL" could be replaced with other command, but that requires some knowledge.
if  i change the command,can other mail server still work normally?
I'll try to get some knowledge about it,and see if i can handle it.
thank you ,alec.