Hi Riccardo,
Can you  search mails via the WebUI?
If there is no obvious difference between the environments you could set
ImapDebugEnabled = YES to see the IMAP commands sent and their results.
Cheers,
Thomas


Am Donnerstag, November 15, 2018 14:44 CET, "Riccardo Bicelli" 
([email protected]) <[email protected]> schrieb:
 With sogo-tool everything seems ok. On another system,same version, search is 
working fine. Are there settings related to dovecot that I can play with? 
Cheers   Il giorno mar 13 nov 2018 alle ore 08:16 "Thomas Fuehrer" 
<[email protected]> ha scritto:
Hi Riccardo,
attached is a patch for the inline image problem.
 
I don’t think that "Mailbox doesn't exist: (null)" is causing a problem, but 
you can investigate with sogo-tool:
 
       sogo-tool -v manage-eas listdevices janedoe
       sogo-tool -v manage-eas listfolders janedoe androidc316986417
 
 
Cheers,
Thomas
 
Von: [email protected] <[email protected]> Im Auftrag von Riccardo 
Bicelli
Gesendet: Montag, 12. November 2018 10:19
An: [email protected]
Betreff: Re: [SOGo] ActiveSync: Search no longer shows more messages than "Sync 
Period" and inline images are not displayed
 
Hi Thomas
Yes, I can test patches and I will be glad to try it.
 
With SOGoEASDebugEnabled = YES In the logs I have:
 
<!DOCTYPE ActiveSync PUBLIC "-//MICROSOFT//DTD ActiveSync//EN" 
"http://www.microsoft.com/";>
<Search xmlns="Search:">
 <Store>
  <Name>Mailbox</Name>
  <Query>
   <And>
    <Class xmlns="AirSync:">Email</Class>
    <CollectionId xmlns="AirSync:">0</CollectionId>
    <FreeText>pierfau</FreeText>
   </And>
  </Query>
  <Options>
   <BodyPreference xmlns="AirSyncBase:">
    <Type>2</Type>
    <TruncationSize>1048576</TruncationSize>
   </BodyPreference>
   <RightsManagementSupport 
xmlns="RightsManagement:">1</RightsManagementSupport>
   <RebuildResults/>
   <DeepTraversal/>
   <Range>0-49</Range>
  </Options>
 </Store>
</Search>
 
Nov 12 10:06:30 sogod [25771]: [ERROR] <0x0x55ec61d7b458[NGImap4Connection]> 
could not select URL: imaps://[REMOVED FOR PRIVACY PURPOSE]/%28null%29/: 
{RawResponse = "{ResponseResult = {description = \"Mailbox doesn't exist: 
(null)\"; result = no; tagId = 6; }; }"; reason = "Mailbox doesn't exist: 
(null)"; result = 0; }
Nov 12 10:06:30 sogod [25771]: <0x0x55ec620240a8[SOGoActiveSyncDispatcher]> EAS 
- response for device 9EFD993C7C1E8054: <?xml version="1.0"?>
<!DOCTYPE ActiveSync PUBLIC "-//MICROSOFT//DTD ActiveSync//EN" 
"http://www.microsoft.com/";>
<Search xmlns="Search:">
 <Status>1</Status>
 <Response>
  <Store>
   <Status>1</Status>
   <Range>0-0</Range>
   <Total>0</Total>
  </Store>
 </Response>
</Search>
 
I tested search in another another system and it works.
Could it be the Mailbox doesn't exist: (null) part in the log?
 
 
Il giorno ven 9 nov 2018, 15:41 Thomas Führer <[email protected]> ha scritto:
Hi Riccardo,
you could test the search with SOGoEASDebugEnabled = YES . This should give you 
more details in sogo.log when you search for mail messages on your phone.
Search for "<Search xmlns="Search:"> ..." in sogo.log.

Regarding the problem with inline images ...
Are you in the possition to test a patch? Do you compile from source?
I could send you a patch which should improve the handling of inline images. It 
would be great if you could help to test the patch.

Cheers,
Thomas

Am Mittwoch, November 07, 2018 08:44 CET, "Riccardo Bicelli" 
([email protected]) <[email protected]> schrieb:
 
Hello,
I'm aware that Activesync on mobile devices  synchronizes 1 month max of 
messages. But I remember that some time ago, when a I did a search, it returned 
older messages also.
Am I remembering wrong? Is annoying for mobile users not haveing the ability to 
access old messages.
 
I'm also facing a problem with Outlook for Android/iOS, gmail app and apple 
mail: when a message has inline images, instead of image a placeholder is 
displayed. If the image is attached it is ok to download and display it.
 
Cheers,
Riccardo
 
--
[email protected]
https://inverse.ca/sogo/lists



 
--
[email protected]
https://inverse.ca/sogo/lists
--
[email protected]
https://inverse.ca/sogo/lists--
[email protected]
https://inverse.ca/sogo/lists--
[email protected]
https://inverse.ca/sogo/lists


 
-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to