Author Topic: Search error - Zoho IMAP  (Read 18018 times)

Djbiggross

  • Newbie
  • *
  • Posts: 2
Search error - Zoho IMAP
« on: April 22, 2016, 01:22:32 am »
I have my email setup using Zoho mail servers on IMAP. Everything works great except when I search. I get an error saying "Error performing search: invalid server response"

Does anyone have a suggestion? It seems like local results are loaded but all messages are not searched.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Search error - Zoho IMAP
« Reply #1 on: April 22, 2016, 01:48:13 am »
Chrystal ball not working, please capture the issue in the app's debug log (below in my signature).

Most likely a server bug, but I'll be able to tell from the log.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Search error - Zoho IMAP
« Reply #2 on: April 22, 2016, 10:15:51 am »
The question was about Zoho, but I'll respond about the other two:

- bk.ru is Mail.ru

When they added IMAP in 2011 or 2012, they did not implement server search.

"Promised" to do it "soon", it's 2016 now, still has not happened.

Has to be fixed by Mail.ru but won't be.

Not related to Zoho.

- outlook.com

As you and I already discussed a couple of weeks ago, this is broken on those "new servers" since the upgrade.

I believe only searching for "sender" or "headers" is affected -- while searching for "full text" still works.

Has to be fixed by MS and might be.

Not related to Zoho.

- Zoho

Got your log.

Yes, server issue.

They're unable to handle the search command variation which is used when searching for "sender" or "headers" (which is what's in your log).

Searching for "full text" should probably work, haven't heard otherwise from other users, but you log has only has sender/headers search.

Has to be fixed by Zoho, no predictions.

Sending: kman34 SEARCH RETURN (ALL) CHARSET US-ASCII OR FROM {16}

Got: kman34 BAD syntax: expecting 'c', found 'h'


??? What the heck is this "expecting c found h"?
« Last Edit: April 22, 2016, 10:36:14 am by Kostya Vasilyev, Aqua Mail »
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Search error - Zoho IMAP
« Reply #3 on: April 22, 2016, 10:43:46 am »
And before this turns into a "oh no, this app's search is all broken":

@Paris Geek chose to post information on three specific mail services where there are issues with search (all of them in those mail services, not the app).

What he did not post is that searching (for both sender/headers and text) works just fine with:

AOL
Gmail
Fastmail
Yahoo
Yandex
Rambler
Dovecot (hosted mail)

and any other IMAP server which properly implements the IMAP search commands.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Search error - Zoho IMAP
« Reply #4 on: April 22, 2016, 11:22:03 am »
Re: No, "full text" search on Zoho server returns "invalid server response".

Didn't see that in the log (and don't have a Zoho account).

Well, I hope Zoho's support is as responsive as I am.

Re: I confirm, search (on servers) works perfectly also with "FREE" (French internet server), Hotmail (before 2016 ongoing migration).

The app's search commands are just from official IMAP documentation.

I read it. But apparently not every server developer does.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Search error - Zoho IMAP
« Reply #5 on: April 22, 2016, 12:43:01 pm »
Um, so Zoho now lets you register a @zoho account (previously it only worked with domains, IIRC).

I was able to find a workaround.

@Djbiggross

Please try updating to this version:

https://www.aqua-mail.com/download/AquaMail-market-1.6.1.5-14.apk

PS - I think this worked before, so this must have been a server side change (maybe they didn't advertise support for ESEARCH, "enhanced search" before).
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Search error - Zoho IMAP
« Reply #6 on: April 22, 2016, 01:02:17 pm »
@Paris Geek

Got your log, yes, looks like both kinds of search (headers/sender and full text) are now working for you too, with my workaround in place.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

Djbiggross

  • Newbie
  • *
  • Posts: 2
Re: Search error - Zoho IMAP
« Reply #8 on: May 09, 2016, 04:21:03 pm »
Works like a charm! Thank you very much!
If I update via play store, will I lose this functionality?

Thanks,

Djbiggross

Um, so Zoho now lets you register a @zoho account (previously it only worked with domains, IIRC).

I was able to find a workaround.

@Djbiggross

Please try updating to this version:


PS - I think this worked before, so this must have been a server side change (maybe they didn't advertise support for ESEARCH, "enhanced search" before).

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Search error - Zoho IMAP
« Reply #9 on: May 09, 2016, 04:45:04 pm »
The latest in Play is 1.6.1.15 which does NOT have this fix, but that's an older version, so you should NOT be prompted to upgrade.

If I release any further 1.6.1* updates to Play, the workaround will be included.

If you are enrolled into AquaMail "beta" on Play, the latest available there is 1.6.2-dev5 which (IIRC) does have the workaround too.

( and judging by Zoho support's response, I hope they should be fixing on their side, it is their bug )
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

StR

  • Hero Member
  • *****
  • Posts: 1558
Re: Search error - Zoho IMAP
« Reply #10 on: May 09, 2016, 04:49:03 pm »
If I update via play store, will I lose this functionality?

There was no new Google Play version since that change was implemented.  I assume that the next released version will  have this change. So, you won't loose that functionality then.