Author Topic: Encoding prevents search results??  (Read 2968 times)

Offline aiwebsystems

  • Newbie
  • *
  • Posts: 8
Encoding prevents search results??
« on: September 11, 2012, 05:44:25 PM »
Looking over the log, from what I can tell, search functions seam to be supported but I never get any results..

Any ideas?

I think the encoding is incorrect?? "[11-Sep-2012 16:39:37 -0500]: [31C7] S: A0005 NO UTF-8 character set is not supported."

Thanks guys!


[11-Sep-2012 16:39:36 -0500]: [31C7] S: * OK [CAPABILITY IMAP4rev1 UNSELECT STARTTLS ID CHILDREN NAMESPACE IDLE] Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc.  See COPYING for distribution information.
[11-Sep-2012 16:39:36 -0500]: [31C7] C: A0001 ID ("name" "Roundcube Webmail" "version" "0.8.1" "php" "5.3.16" "os" "Linux" "command" "/addons/shared_addons/modules/webmail/src/?_task=mail&_action=search&_filter=ALL&_q=sandra&_headers=subject,to&_mbox=Sent&_remote=1&_unlock=loading1347399576506&_=1347399576509")
[11-Sep-2012 16:39:36 -0500]: [31C7] S: * ID ("name" "Courier-IMAP" "remote-host" ":50.57.159.153" "version" "3.1.0.10")
[11-Sep-2012 16:39:36 -0500]: [31C7] S: A0001 OK ID completed
[11-Sep-2012 16:39:36 -0500]: [31C7] C: A0002 LOGIN my@email.com password
[11-Sep-2012 16:39:36 -0500]: [31C7] S: A0002 OK LOGIN Full IMAP support is enabled
[11-Sep-2012 16:39:36 -0500]: [31C7] C: A0003 SELECT Sent
[11-Sep-2012 16:39:36 -0500]: [31C7] S: * FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent)
[11-Sep-2012 16:39:36 -0500]: [31C7] S: * OK [PERMANENTFLAGS (\Draft \Answered \Flagged \Deleted \Seen)] Limited
[11-Sep-2012 16:39:36 -0500]: [31C7] S: * 73 EXISTS
[11-Sep-2012 16:39:36 -0500]: [31C7] S: * 0 RECENT
[11-Sep-2012 16:39:36 -0500]: [31C7] S: * OK [UIDVALIDITY 1346519499] Ok
[11-Sep-2012 16:39:36 -0500]: [31C7] S: * OK [UIDNEXT 86] Predicted next UID
[11-Sep-2012 16:39:36 -0500]: [31C7] S: A0003 OK [READ-WRITE] SELECT completed.
[11-Sep-2012 16:39:36 -0500]: [31C7] C: A0004 CAPABILITY
[11-Sep-2012 16:39:37 -0500]: [31C7] S: * CAPABILITY IMAP4rev1 UNSELECT STARTTLS ID CHILDREN NAMESPACE IDLE
[11-Sep-2012 16:39:37 -0500]: [31C7] S: A0004 OK CAPABILITY completed
[11-Sep-2012 16:39:37 -0500]: [31C7] C: A0005 UID SEARCH CHARSET UTF-8 OR HEADER SUBJECT {6}
[11-Sep-2012 16:39:37 -0500]: [31C7] S: + OK
[11-Sep-2012 16:39:37 -0500]: [31C7] C: sandra HEADER TO {6}
[11-Sep-2012 16:39:37 -0500]: [31C7] S: + OK
[11-Sep-2012 16:39:37 -0500]: [31C7] C: sandra
[11-Sep-2012 16:39:37 -0500]: [31C7] S: A0005 NO UTF-8 character set is not supported.
[11-Sep-2012 16:39:37 -0500]: [31C7] C: A0006 UID SEARCH OR HEADER SUBJECT sandra HEADER TO sandra
[11-Sep-2012 16:39:37 -0500]: [31C7] S: * SEARCH
[11-Sep-2012 16:39:37 -0500]: [31C7] S: A0006 OK SEARCH done.
[11-Sep-2012 16:39:37 -0500]: [31C7] C: A0007 LOGOUT
[11-Sep-2012 16:39:37 -0500]: [31C7] S: * BYE IMAP server shutting down
[11-Sep-2012 16:39:37 -0500]: [31C7] S: A0007 OK LOGOUT completed

Offline alec

  • Hero Member
  • *****
  • Posts: 1,363
Re: Encoding prevents search results??
« Reply #1 on: September 12, 2012, 05:35:50 AM »
There were some related fixes today. However, I think in this case encoding isn't relevant. As you see, Roundcube sends the second search request which returns empty result. As I remember Courier has an option which allows to disable SEARCH and SORT commands.

Offline aiwebsystems

  • Newbie
  • *
  • Posts: 8
Re: Encoding prevents search results??
« Reply #2 on: September 12, 2012, 09:52:51 PM »
I actually got it to return some results with one particular keyword but that's it. Waaaaay off. It's GoDaddy email and sorting works fine in roundcube.. Idk, I think I will try another open source client to see if it has the same issues. Then we can determine if it's the app or the server..

Thanks!