Hi Thomas,

you are right - sorry. Because I made an new account for testing yesterday in a hurry, I didnt change this setting to "all". Now it works well with the GMail-App on the Android Phone.

I think I will do the same debugging with sogo-tool and logging for the Outlook problem, where also not all the folders and mails appear, tomorrow.

Regards,
Thomas

Am 02.11.2020 um 17:13 schrieb "Thomas Fuehrer" ([email protected]):

Hi Thomas,

can you please check the setting in Gmail-App:

FilterType = 3 means only mails younger then 1 week will be synced.

Regards,

Thomas

*Von:*[email protected] <[email protected]> *Im Auftrag von *Thomas Mager
*Gesendet:* Montag, 2. November 2020 14:54
*An:* [email protected]
*Betreff:* Re: [SOGo] ActiveSync folders and mails missing

Folder "Baumschule" gave the following output:

Folder Key: androidc1751693000+folderc885951242e7925f2f200000462fefb1
   Folder Name: INBOX/Baumschule

   metadata Name: {FolderOptions = {BodyPreferenceType = 2; FilterType = 3; MIMESupport = 0; MIMETruncation = 8; }; displayName = "INBOX/Baumschule"; }

I have restarted the sogod, did a fetch of folder Baumschule in GMail-App on Android and attached the sogo-stripped.log of that request to this mail.

Regards,
Thomas

Am 02.11.2020 um 14:04 schrieb "Thomas Fuehrer" ([email protected] <mailto:[email protected]>):

    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:[email protected]  <mailto:[email protected]>  
<[email protected]>  <mailto:[email protected]>  Im Auftrag von Thomas Mager

    Gesendet: Montag, 2. November 2020 13:31

    An:[email protected]  <mailto:[email protected]>

    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" ([email protected]  <mailto:[email protected]>):

        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:[email protected]  <mailto:[email protected]>  
<[email protected]>  <mailto:[email protected]>  Im Auftrag von

        Thomas Mager

        Gesendet: Sonntag, 1. November 2020 23:08

        An:[email protected]  <mailto:[email protected]>

        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" ([email protected]  
<mailto:[email protected]>):

            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:[email protected]  <mailto:[email protected]>  
<[email protected]>  <mailto:[email protected]>  Im Auftrag von

            Thomas Mager

            Gesendet: Sonntag, 1. November 2020 00:42

            An:[email protected]  <mailto:[email protected]>

            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

            --

            [email protected]  <mailto:[email protected]>

            https://inverse.ca/sogo/lists  <https://inverse.ca/sogo/lists>

        --

        [email protected]  <mailto:[email protected]>

        https://inverse.ca/sogo/lists  <https://inverse.ca/sogo/lists>

    --

    [email protected]  <mailto:[email protected]>

    https://inverse.ca/sogo/lists  <https://inverse.ca/sogo/lists>

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

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

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

Reply via email to