Hi, searching in Web UI is fine, below a transcript of IMAP session of web ui search:
S[0x55c6babe5078]: 2 OK Capability completed. S[0x55c6babe5078]: * ID ("name" "Dovecot") S[0x55c6babe5078]: 3 OK ID completed. S[0x55c6babe5078]: * NAMESPACE (("" "/")) (("shared/DOMAIN/" "/")) (("Public/" "/")) S[0x55c6babe5078]: 4 OK Namespace completed. S[0x55c6babe5078]: * LIST (\Noselect) "/" "" S[0x55c6babe5078]: 5 OK List completed. [And session goes on...] Searching with Activesync (sogo 4.0.4.20181114-1.centos6 on CentOS 6.9): S[0x55c6baefedb8]: 2 OK Capability completed. S[0x55c6baefedb8]: * ID ("name" "Dovecot") S[0x55c6baefedb8]: 3 OK ID completed. S[0x55c6baefedb8]: * NAMESPACE (("" "/")) (("shared/DOMAIN/" "/")) (("Public/" "/")) S[0x55c6baefedb8]: 4 OK Namespace completed. S[0x55c6baefedb8]: * LIST (\Noselect) "/" "" S[0x55c6baefedb8]: 5 OK List completed. S[0x55c6baefedb8]: 6 NO Mailbox doesn't exist: (null) S[0x55c6baefedb8]: * BYE Logging out [And Session Stops] And this is a session with a working Activesync installation (sogo *4.0.1.20180806-1.el7.centos *on CentOS 7.5) S[0x55c14c282830]: 2 OK Capability completed. S[0x55c14c282830]: * ID ("name" "Dovecot") S[0x55c14c282830]: 3 OK ID completed. S[0x55c14c282830]: * LIST (\Noselect) "/" "" S[0x55c14c282830]: 4 OK List completed. S[0x55c14c282830]: * LIST (\HasNoChildren \Trash) "/" Trash S[0x55c14c282830]: * LIST (\HasNoChildren \Sent) "/" Sent S[0x55c14c282830]: * LIST (\HasNoChildren \Drafts) "/" Drafts S[0x55c14c282830]: * LIST (\HasNoChildren \Archive) "/" Archive S[0x55c14c282830]: * LIST (\Noselect \HasNoChildren) "/" Public S[0x55c14c282830]: * LIST (\HasNoChildren) "/" INBOX S[0x55c14c282830]: 5 OK List completed. S[0x55c14c282830]: * NAMESPACE (("" "/")) (("shared/DOMAIN/" "/")) (("Public/" "/")) S[0x55c14c282830]: 6 OK Namespace completed. S[0x55c14c282830]: 7 OK List completed. [And Search goes on] Since my sogo server are dedicated vm, could I solve my problem upgrading my installation to CentOS 7.5? Cheers! Il giorno ven 16 nov 2018 alle ore 12:06 Thomas Führer <users@sogo.nu> ha scritto: > 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" ( > r.bice...@gmail.com) <users@sogo.nu> 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" <users@sogo.nu> > 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:* users-requ...@sogo.nu <users-requ...@sogo.nu> *Im Auftrag von >> *Riccardo >> Bicelli >> *Gesendet:* Montag, 12. November 2018 10:19 >> *An:* users@sogo.nu >> *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 <users@sogo.nu> 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" ( >> r.bice...@gmail.com) <users@sogo.nu> 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 >> >> >> >> -- >> users@sogo.nu >> https://inverse.ca/sogo/lists >> >> >> >> >> >> >> -- >> users@sogo.nu >> https://inverse.ca/sogo/lists >> >> -- >> users@sogo.nu >> https://inverse.ca/sogo/lists >> -- >> users@sogo.nu >> https://inverse.ca/sogo/lists >> > -- > users@sogo.nu > https://inverse.ca/sogo/lists > > > > > > -- > users@sogo.nu > https://inverse.ca/sogo/lists > -- users@sogo.nu https://inverse.ca/sogo/lists