Good day.
When i try to search for messages containing some text in the subject, i get this error: Server error (OK). This is what the imap log shows:
[26-Jul-2010 16:22:52 -0500]: S: * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2008 Double Precision, Inc. See COPYING for distribution information.
[26-Jul-2010 16:22:52 -0500]: C: cp01 CAPABILITY
[26-Jul-2010 16:22:52 -0500]: S: * CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS
[26-Jul-2010 16:22:52 -0500]: S: cp01 OK CAPABILITY completed
[26-Jul-2010 16:22:52 -0500]: C: a001 LOGIN "
[email protected]" "6655100789"
[26-Jul-2010 16:22:52 -0500]: S: a001 OK LOGIN Ok.
[26-Jul-2010 16:22:52 -0500]: C: sel1 SELECT "INBOX"
[26-Jul-2010 16:22:52 -0500]: S: * FLAGS ($Forwarded \Draft \Answered \Flagged \Deleted \Seen \Recent)
[26-Jul-2010 16:22:52 -0500]: S: * OK [PERMANENTFLAGS ($Forwarded \* \Draft \Answered \Flagged \Deleted \Seen)] Limited
[26-Jul-2010 16:22:52 -0500]: S: * 18971 EXISTS
[26-Jul-2010 16:22:52 -0500]: S: * 0 RECENT
[26-Jul-2010 16:22:52 -0500]: S: * OK [UIDVALIDITY 1269471568] Ok
[26-Jul-2010 16:22:52 -0500]: S: * OK [MYRIGHTS "acdilrsw"] ACL
[26-Jul-2010 16:22:52 -0500]: S: sel1 OK [READ-WRITE] Ok
[26-Jul-2010 16:22:52 -0500]: C: srch1 SEARCH CHARSET UTF-8 HEADER subject {6}
[26-Jul-2010 16:22:52 -0500]: S: + OK
[26-Jul-2010 16:22:52 -0500]: C: SHELDE
[26-Jul-2010 16:23:02 -0500]: C: I LOGOUT
And this is what the errors log shows:
[26-jul-2010 16:23:02] Unexpected condition from IMAP server, closed or corrupt connection to IMAP. Possible mailbox corruption.
[26-jul-2010 16:23:02] PHP Warning: fputs(): 41 is not a valid stream resource in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/imap.inc on line 205
Please, can somebody tell me what how to fix this?.. it happens too when i change the search condition (message body, to, from, etc).
Thanks in advance for any help,
Reginald Bray
Thanks dziobak for your reply.
After breaking my head googling this issue for about a week ago, i found a solution that worked for me: Switched from Courier to Dovecot. After doing that in WHM, everything is fine now and any search in roundcube is working perfect and fast!.
Thanks a lot.
Reginaldo Bray