What about Folder "Baumschule". How many entries do you see for this folder?
A sample sogo.log could help to better understand the problem. Following sed (or a similar one) would strip some sensitive data: sed -e '/<ApplicationData/,/<\/ApplicationData>/{H;$!d;}' < sogo.log > sogo-stripped.log Regards, Thomas -----Ursprüngliche Nachricht----- Von: users-requ...@sogo.nu <users-requ...@sogo.nu> Im Auftrag von Thomas Mager Gesendet: Montag, 2. November 2020 13:31 An: users@sogo.nu Betreff: Re: [SOGo] ActiveSync folders and mails missing Okay, I have run the sogo-tool command with -v on the account now. I can see the list of folders with "Folder Key", "Folder Name" and "metadata Name". Some Folders like INBOX and Sent have many ID and date entries under "metadata Name -> DateCache, Folder Options, SyncCache, SyncKey, displayName", but nearly all other folders have no entries in "metadata Name" except "displayName". Regards, Thomas Am 02.11.2020 um 11:57 schrieb "T F" (t...@aon.at): > Hi Thomas, > re-run sogo-tool with option -v: sogo-tool -v manage-eas listfolders ... > > With this option the output will show the IDs of synced mails. > > Regards, > Thomas > > -----Ursprüngliche Nachricht----- > Von: users-requ...@sogo.nu <users-requ...@sogo.nu> Im Auftrag von > Thomas Mager > Gesendet: Sonntag, 1. November 2020 23:08 > An: users@sogo.nu > Betreff: Re: [SOGo] ActiveSync folders and mails missing > > Hi Thomas, > > thanks for your fast response. I have set "SOGoEASDebugEnabled = YES" > now and also removed SOGoMaximumSyncWindowSize setting in sogo.conf. > When I createa new Gmail-App-Account on my Android Phone I can see all > folders now but when I enter the folders there are not all mails which I can > see in the same folder in my Dovecot IMAP server or in the SOGO Webinterface. > > I tried to analyze the sogo.log but I cannot find the reason why not all > mails of this folder are synchronized with ActiveSync. > > I also tried "sogo-tool manage-eas listfolders username <Android-DeviceID>" > and there I can see all folders for the account listed correctly. For > example, there is the folder named Baumschule under the Inbox and in the > directory cur of the IMAP-server I can see that there are 141 messages in > that folder. When I log into the SOGo-Webinterface there are all 141 messages > listed in the folder Baumschule. On my Android-Phone there are only 2 > messages listed in that folder. > > Regards, > Thomas > > Am 01.11.2020 um 13:56 schrieb "T F" (t...@aon.at): >> Hi Thomas, >> set "SOGoEASDebugEnabled = YES" and check the response to the >> FolderSync-requests sogo.log after configuring a new a account on your >> mobile device. >> >> If SOGoMaximumSyncWindowSize is defined in sogo.conf remove it and test >> again. >> >> Checking the output of "sogo-tool manage-eas listfolders UserA <DeviceID>" >> might help to better understand be problem. >> >> Regards, >> Thomas >> >> -----Ursprüngliche Nachricht----- >> Von: users-requ...@sogo.nu <users-requ...@sogo.nu> Im Auftrag von >> Thomas Mager >> Gesendet: Sonntag, 1. November 2020 00:42 >> An: users@sogo.nu >> Betreff: [SOGo] ActiveSync folders and mails missing >> >> Hi, >> >> I have a SOGo-Server (V5.0.1) running with CentOS 8 and Dovecot IMAP server. >> In the SOGo Webinterface I can see all folders and mails of my account but >> when I use ActiveSync with Outlook 2019 or with my Android Smartphone some >> folders of the account are missing and I have some folders where mails are >> missing. I found some similar posts in the mailing list archive but I could >> not solve the problem with one of the solutions. >> >> When I debug with "IMAPDebugEnabled = YES" I can see that entries >> like >> >> S[0x557282344aa0]: * LIST (\HasNoChildren \UnMarked) "." >> INBOX.Baumschule >> S[0x557282344aa0]: * STATUS INBOX.Baumschule (X-GUID >> f033170b66dd925f661a0000462fefb1) >> >> where I can see that the subfolder Baumschule under the inbox is found but >> this folder for example is not listed in Outlook 2019 or on the Android >> smartphone Gmail app over ActiveSync. >> >> Has anyone an idea what I can check to find a solution for this problem? >> >> Regards, >> Thomas >> >> >> -- >> 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