Fix or improvement in IMAP search with Gmail app


When using Combined backend with IMAP the Gmail app does not find results. This is due to two things at least in my case :

  • It’s searching mail since 1970-01-01 and to 1970-01-01…

As I don’t really understand where the function GetSearchValueLess is declared… have done a “quick fix”.

  • It’s searching in all mailboxes and it seems that causes timeouts in Gmail App. I have properly handled (I assume) the situation.

I would like to contribute the patch if it’s your interested in it.

(password : d8xWFYdu)

Best regards,

Hi egoitzau,

if you want to contribute to Z-Push, it would be easier for us if you would follow these guidelines: