View Issue Details

IDProjectCategoryView StatusLast Update
0005990SOGoActiveSyncpublic2024-07-26 05:31
Reporterkillmasta93 Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformoutlookOSwindowsOS Version64bit
Product Version5.10.0 
Summary0005990: Issue when using calendar to sync from outlook 64bit only to SOGO
Description

Hi Currently having issue with outlook 64 bit to sync to SOGO but from SOGO to outlook works fine
then we tried outlook 32 bit works perfectly here is the log

Steps To Reproduce

attaching logs

TagsNo tags attached.

Activities

killmasta93

killmasta93

2024-07-18 04:11

reporter  

working 32bit outlook (4,433 bytes)   

mailcowdockerized-php-fpm-mailcow-1    | fd4d:6169:6c63:6f77::b - test2@domain.com 17/Jul/2024:11:26:55 -0500 "GET /sogo-auth.php" 200
mailcowdockerized-nginx-mailcow-1      | 127.0.0.1 - test2@domain.com [17/Jul/2024:11:26:55 -0500] "GET /sogo-auth HTTP/1.0" 200 0 "-" "Outlook/16.0 (16.0.17726.20016; x86)"
mailcowdockerized-sogo-mailcow-1       | Jul 17 11:26:55 7bcb9b97daa4 sogod [17795]: <0x0x559d35957530[SOGoActiveSyncDispatcher]> Change detected during Sync, we push the content.
mailcowdockerized-nginx-mailcow-1      | 190.xx.x.xx - test2@domain.com [17/Jul/2024:11:26:55 -0500] "POST /Microsoft-Server-ActiveSync?Cmd=Sync&User=test2@domain.com&DeviceId=C65CF7E54E8A49539710664BCA2F067C&DeviceType=WindowsOutlook15 HTTP/1.0" 200 142 "-" "Outlook/16.0 (16.0.17726.20016; x86)"
mailcowdockerized-sogo-mailcow-1       | Jul 17 11:26:55 7bcb9b97daa4 sogod [17795]: 190.xx.x.xx 190.xx.x.xx "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Sync&User=test2@domain.com&DeviceId=C65CF7E54E8A49539710664BCA2F067C&DeviceType=WindowsOutlook15 HTTP/1.0" 200 142/617 0.126 - - 476K - 14
mailcowdockerized-php-fpm-mailcow-1    | 172.22.1.10 - test2@domain.com 17/Jul/2024:11:26:55 -0500 "GET /sogo-auth.php" 200
mailcowdockerized-nginx-mailcow-1      | 127.0.0.1 - test2@domain.com [17/Jul/2024:11:26:55 -0500] "GET /sogo-auth HTTP/1.0" 200 0 "-" "Outlook/16.0 (16.0.17726.20016; x86)"
mailcowdockerized-dovecot-mailcow-1    | Jul 17 11:26:55 e38d46d48c2e dovecot: imap-login: Login: user=<test2@domain.com>, method=PLAIN, rip=172.22.1.248, lip=172.22.1.250, mpid=27561
mailcowdockerized-sogo-mailcow-1       | Jul 17 11:26:56 7bcb9b97daa4 sogod [17795]: <0x0x559d357ede30[SOGoActiveSyncDispatcher]> Change detected during Sync, we push the content.
mailcowdockerized-nginx-mailcow-1      | 190.xx.x.xx - test2@domain.com [17/Jul/2024:11:26:56 -0500] "POST /Microsoft-Server-ActiveSync?Cmd=Sync&User=test2@domain.com&DeviceId=C65CF7E54E8A49539710664BCA2F067C&DeviceType=WindowsOutlook15 HTTP/1.0" 200 631 "-" "Outlook/16.0 (16.0.17726.20016; x86)"
mailcowdockerized-dovecot-mailcow-1    | Jul 17 11:26:56 e38d46d48c2e dovecot: imap(test2@domain.com)<27561></dQ/7nMd7LasFgH4>: Disconnected: Logged out in=649 out=5874 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
mailcowdockerized-sogo-mailcow-1       | Jul 17 11:26:56 7bcb9b97daa4 sogod [17795]: 190.xx.x.xx 190.xx.x.xx "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Sync&User=test2@domain.com&DeviceId=C65CF7E54E8A49539710664BCA2F067C&DeviceType=WindowsOutlook15 HTTP/1.0" 200 631/912 0.189 - - 260K - 14
mailcowdockerized-php-fpm-mailcow-1    | fd4d:6169:6c63:6f77::b -  17/Jul/2024:11:26:59 -0500 "GET /sogo-auth.php" 200
mailcowdockerized-php-fpm-mailcow-1    | 172.22.1.10 -  17/Jul/2024:11:26:59 -0500 "GET /sogo-auth.php" 200
mailcowdockerized-nginx-mailcow-1      | 127.0.0.1 - - [17/Jul/2024:11:26:59 -0500] "GET /sogo-auth HTTP/1.0" 200 0 "http://192.168.0.180:1234/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0"
mailcowdockerized-nginx-mailcow-1      | 127.0.0.1 - - [17/Jul/2024:11:26:59 -0500] "GET /sogo-auth HTTP/1.0" 200 0 "http://192.168.0.180:1234/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0"
mailcowdockerized-nginx-mailcow-1      | 192.168.80.5 - - [17/Jul/2024:11:26:59 -0500] "GET /SOGo/so/test2@domain.com/Calendar/eventsblocks?ed=20240804&sd=20240701&view=monthview HTTP/1.1" 200 1242 "http://192.168.0.180:1234/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0"
mailcowdockerized-sogo-mailcow-1       | Jul 17 11:26:59 7bcb9b97daa4 sogod [4436]: 192.168.80.5 "GET /SOGo/so/test2@domain.com/Calendar/eventsblocks?ed=20240804&sd=20240701&view=monthview HTTP/1.0" 200 5225/0 0.011 - - 0 - 13
mailcowdockerized-nginx-mailcow-1      | 192.168.80.5 - - [17/Jul/2024:11:26:59 -0500] "GET /SOGo/so/test2@domain.com/Calendar/eventslist?asc=1&day=20240717&filterpopup=view_next7&search=title_Category_Location&sort=start&value= HTTP/1.1" 200 852 "http://192.168.0.180:1234/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0"
mailcowdockerized-sogo-mailcow-1       | Jul 17 11:26:59 7bcb9b97daa4 sogod [17795]: 192.168.80.5 "GET /SOGo/so/test2@domain.com/Calendar/eventslist?asc=1&day=20240717&filterpopup=view_next7&search=title_Category_Location&sort=start&value= HTTP/1.0" 200 2556/0 0.024 - - 0 - 14

working 32bit outlook (4,433 bytes)   
not working outlook 64bit (5,163 bytes)   
ailcowdockerized-nginx-mailcow-1      | 127.0.0.1 - test2@domain.com [17/Jul/2024:11:30:07 -0500] "GET /sogo-auth HTTP/1.0" 200 0 "-" "Outlook/16.0 (16.0.17726.20016; x64)"
mailcowdockerized-dovecot-mailcow-1    | Jul 17 11:30:07 e38d46d48c2e dovecot: imap-login: Login: user=<test2@domain.com>, method=PLAIN, rip=172.22.1.248, lip=172.22.1.250, mpid=27708
mailcowdockerized-dovecot-mailcow-1    | Jul 17 11:30:07 e38d46d48c2e dovecot: imap(test2@domain.com)<27708><snml+XMdWL2sFgH4>: Disconnected: Logged out in=649 out=5874 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
mailcowdockerized-nginx-mailcow-1      | 190.xx.x.xx - test2@domain.com [17/Jul/2024:11:30:07 -0500] "POST /Microsoft-Server-ActiveSync?Cmd=Sync&User=test2@domain.com&DeviceId=85F67F7082C64679818200C5D5EF40FA&DeviceType=WindowsOutlook15 HTTP/1.0" 200 0 "-" "Outlook/16.0 (16.0.17726.20016; x64)"
mailcowdockerized-sogo-mailcow-1       | Jul 17 11:30:07 7bcb9b97daa4 sogod [70]: 190.xx.x.xx, 190.xx.x.xx "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Sync&User=test2@domain.com&DeviceId=85F67F7082C64679818200C5D5EF40FA&DeviceType=WindowsOutlook15 HTTP/1.0" 200 0/912 0.159 - - 0 - 13
mailcowdockerized-rspamd-mailcow-1     | 2024-07-17 11:30:07 #46(controller) <26c14a>; csession; rspamd_protocol_http_reply: regexp statistics: 2561 pcre regexps scanned, 0 regexps matched, 3497 regexps total, 19 regexps cached, 21.77KiB scanned using pcre, 21.77KiB scanned total
mailcowdockerized-watchdog-mailcow-1   | Wed Jul 17 11:30:07 -05 2024 Rspamd health level: 100% (5/5), health trend: 0
mailcowdockerized-php-fpm-mailcow-1    | fd4d:6169:6c63:6f77::b -  17/Jul/2024:11:30:09 -0500 "GET /index.php" 302
mailcowdockerized-nginx-mailcow-1      | 190.xx.x.xx - - [17/Jul/2024:11:30:09 -0500] "GET / HTTP/1.0" 302 0 "-" "Uptime-Kuma/1.23.13"
mailcowdockerized-php-fpm-mailcow-1    | 172.22.1.10 -  17/Jul/2024:11:30:09 -0500 "GET /sogo-auth.php" 200
mailcowdockerized-nginx-mailcow-1      | 127.0.0.1 - - [17/Jul/2024:11:30:09 -0500] "GET /sogo-auth HTTP/1.0" 200 0 "-" "Uptime-Kuma/1.23.13"
mailcowdockerized-nginx-mailcow-1      | 190.xx.x.xx - - [17/Jul/2024:11:30:09 -0500] "GET /SOGo/ HTTP/1.0" 200 2581 "-" "Uptime-Kuma/1.23.13"
mailcowdockerized-sogo-mailcow-1       | Jul 17 11:30:09 7bcb9b97daa4 sogod [70]: 190.xx.x.xx "GET /SOGo/ HTTP/1.0" 200 2581/0 0.002 - - 0 - 13
mailcowdockerized-watchdog-mailcow-1   | Wed Jul 17 11:30:10 -05 2024 Mail queue health level: 100% (20/20), health trend: 0
mailcowdockerized-php-fpm-mailcow-1    | fd4d:6169:6c63:6f77::b - test2@domain.com 17/Jul/2024:11:30:10 -0500 "GET /sogo-auth.php" 200
mailcowdockerized-nginx-mailcow-1      | 127.0.0.1 - test2@domain.com [17/Jul/2024:11:30:10 -0500] "GET /sogo-auth HTTP/1.0" 200 0 "-" "Outlook/16.0 (16.0.17726.20016; x64)"
mailcowdockerized-dovecot-mailcow-1    | Jul 17 11:30:10 e38d46d48c2e dovecot: imap-login: Login: user=<test2@domain.com>, method=PLAIN, rip=172.22.1.248, lip=172.22.1.250, mpid=27712
mailcowdockerized-dovecot-mailcow-1    | Jul 17 11:30:10 e38d46d48c2e dovecot: imap(test2@domain.com)<27712><26nZ+XMdjL2sFgH4>: Disconnected: Logged out in=193 out=2609 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
mailcowdockerized-nginx-mailcow-1      | 190.xx.x.xx - test2@domain.com [17/Jul/2024:11:30:10 -0500] "POST /Microsoft-Server-ActiveSync?Cmd=FolderSync&User=test2@domain.com&DeviceId=85F67F7082C64679818200C5D5EF40FA&DeviceType=WindowsOutlook15 HTTP/1.0" 200 52 "-" "Outlook/16.0 (16.0.17726.20016; x64)"
mailcowdockerized-sogo-mailcow-1       | Jul 17 11:30:10 7bcb9b97daa4 sogod [70]: 190.xx.x.xx, 190.xx.x.xx "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=FolderSync&User=test2@domain.com&DeviceId=85F67F7082C64679818200C5D5EF40FA&DeviceType=WindowsOutlook15 HTTP/1.0" 200 52/40 0.158 - - 0 - 13
mailcowdockerized-php-fpm-mailcow-1    | fd4d:6169:6c63:6f77::b - test2@domain.com 17/Jul/2024:11:30:10 -0500 "GET /sogo-auth.php" 200
mailcowdockerized-nginx-mailcow-1      | 127.0.0.1 - test2@domain.com [17/Jul/2024:11:30:10 -0500] "GET /sogo-auth HTTP/1.0" 200 0 "-" "Outlook/16.0 (16.0.17726.20016; x64)"
mailcowdockerized-dovecot-mailcow-1    | Jul 17 11:30:10 e38d46d48c2e dovecot: imap-login: Login: user=<test2@domain.com>, method=PLAIN, rip=172.22.1.248, lip=172.22.1.250, mpid=27714
mailcowdockerized-dovecot-mailcow-1    | Jul 17 11:30:11 e38d46d48c2e dovecot: imap(test2@domain.com)<27714><we7f+XMdnr2sFgH4>: Disconnected: Logged out in=649 out=5874 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
mailcowdockerized-nginx-mailcow-1      | 190.xx.x.xx - test2@domain.com [17/Jul/2024:11:30:11 -0500] "POST /Microsoft-Server-ActiveSync?Cmd=Sync&User=test2@domain.com&DeviceId=85F67F7082C64679818200C5D5EF40FA&DeviceType=WindowsOutlook15 HTTP/1.0" 200 0 "-" "Outlook/16.0 (16.0.17726.20016; x64)"
mailcowdockerized-sogo-mailcow-1       | Jul 17 11:30:11 7bcb9b97daa4 sogod [70]: 190.xx.x.xx, 190.xx.x.xx "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Sync&User=test2@domain.com&DeviceId=85F67F7082C64679818200C5D5EF40FA&DeviceType=WindowsOutlook15 HTTP/1.0" 200 0/912 0.137 - - 0 - 13


not working outlook 64bit (5,163 bytes)   
Colmar0

Colmar0

2024-07-19 06:56

reporter   ~0017771

One of the typical errors I found after a long search for this problem is the following:

For example, if you use IMAP with Caldav and you use shared calendars, Outlook always tries to write all calendar entries using the “Western European” character set. The “Western European” character set is an obsolete and purely Microsoft-specific character set that is not actually used in the Linux world.

If, for example, Thunderbird accepts an appointment that was created with Outlook, synchronization problems often occur. Or vice versa, if an appointment that was created with UTF8 comes into Outlook from Thunderbird, e.g. because it came from a Linux system, the Outlook calendar synchronization comes to a standstill.

It is important to know that “sogo-tool checkup username” apparently does not check for such errors and does not find them. It would be fantastic if Sogo could find a solution to set all calendar .ics files to UTF-8, for example.

Conversely, it also happens in Thunderbird that if such appointments are accepted, they cannot be processed by Thunderbird. This also happens if you use Oulook with ActiveSync.

The only solution I have found is the following:
You make the following settings in Outlook:
Go to “Options”, “Advanced”, in the “International options” section set the character set to “Unicode (UTF-8)”. However, it is also important to deactivate the “Automatically select encoding of outgoing messages” checkbox!

The Outlook “.ost” must then be repaired using “SCANPST.EXE”. To do this, run “SCANPST.EXE” several times until no more errors occur. This can be found, for example, in Outlook 2016 32Bit under “C:\Program Files (x86)\Microsoft Office\root\Office16\SCANPST.EXE”.

At least new appointments should work properly again.
However, this does not fix the old appointments that may still be on the Sogo server and in other shared calendars.

I hope this has helped you a little.

Best regards


Same Text in German:
Eine der typischen Fehler, die ich nach langer Suche gefunden habe ist der folgende:

Verwendet man z. B. IMAP mit Caldav u. man verwendet gemeinsame Kalender, daß Outlook grundsätzlich versucht, alle Kalender Einträge über den Zeichensatz "westeuropäisch" zu schreiben. Der Zeichensatz "westeuropäisch" ist ein veralteter und reiner Microsoft spezifischer Zeichensatz, der in der Linux Welt eigentlich nicht verwendet wird.

Wird z.B. vom Thunderbird ein Termin, der mit Outlook erstellt wurde angenommen, so kommt es häufig zu Synchronisationsproblemen. Oder umgekehrt, wenn von Thunderbird ein Termin in das Outlook hereinkommt, der mit UTF8 erstellt wurde, weil er z.B. von einem Linux System her kam, so kommt die Outlook Kalender Synchronisation zum erliegen.

Wichtig zu wissen ist dabei, daß "sogo-tool checkup Benutzername" offenbar solche Fehler nicht prüft und auch nicht findet. Es wäre fantastisch, wenn Sogo eine Lösung finden würde, sämtliche Kalender .ics Dateien einheitlich z.B. auf UTF-8 zu stellen.

Umgekehrt kommt es dann auch in Thunderbird vor, daß bei der Annahme solcher Termine, diese von Thunderbird auch nicht verarbeitet werden können. Das passiert auch, wenn man Oulook mit ActiveSync verwendet.

Die einzige Lösung, die ich hier gefunden habe ist folgende:
Man nimmt in Outlook folgende Einstellungen vor:

Die einzige Lösung, die ich hier gefunden habe ist folgende:
Man nimmt in Outlook folgende Einstellungen vor:
Gehen Sie in den "Optionen", "Erweitert", in der Rubrik "Internationale Optionen" stellen Sie den Zeichensatz auf "Unicode (UTF-8)". Wichtig ist aber dann auch noch dort, daß Häkchen "Codierung ausgehender Nachrichten automatisch wählen" zu deaktivieren!

Danach muß aber die Outlook „.ost“ über „SCANPST.EXE“ repariert werden.
Führen Sie hierzu „SCANPST.EXE“ mehrfach aus, bis keine Fehler mehr kommen.
Das finden Sie z.B. bei Outlook 2016 32Bit unter "C:\Program Files (x86)\Microsoft Office\root\Office16\SCANPST.EXE".

Damit sollten zumindest neuer Termine wieder vernünftig funktionieren.
Jedoch sind damit nicht die Alt-Termine, die ggf. noch auf dem Sogo-Server und in anderen geteilten Kalendern sind behoben.

Ich hoffe Ihnen damit ein wenig geholfen zu haben.

Viele Grüße


killmasta93

killmasta93

2024-07-25 13:33

reporter   ~0017781

HI, Thanks for the input, it just so weird it works perfectly on 32bit but 64 bit does not

Colmar0

Colmar0

2024-07-25 13:47

reporter   ~0017782

It does not work perfectly, not even under 32-bit Outlook. For example, if you create an appointment with Outlook and CALdav and another person with whom you share this appointment, e.g. a recurring appointment, then errors occur either in the acceptance of the appointment with Thunderbird or when you change the recurring appointment from Thunderbird.

Colmar0

Colmar0

2024-07-26 05:30

reporter   ~0017783

Which Outlook version are you using exactly?

You can simply do the following test to be really sure that your problem is exclusively due to the 64-bit version.
To do this, call up appwiz.cpl via “Win” + “R”.
Uninstall the 32-bit version of Outlook with the same Outlook version. The profile should not be lost.
If the error now disappears, then your problem was actually caused by the 64-bit version, which I don't believe.

Nevertheless, this does not change anything about the character set encoding problem of the .ics files that end up on the Sogo server.

Colmar0

Colmar0

2024-07-26 05:31

reporter   ~0017784

sorry it means ... "Uninstall the 64-bit version of Outlook...".

Issue History

Date Modified Username Field Change
2024-07-18 04:11 killmasta93 New Issue
2024-07-18 04:11 killmasta93 File Added: working 32bit outlook
2024-07-18 04:11 killmasta93 File Added: not working outlook 64bit
2024-07-19 06:56 Colmar0 Note Added: 0017771
2024-07-25 13:33 killmasta93 Note Added: 0017781
2024-07-25 13:47 Colmar0 Note Added: 0017782
2024-07-26 05:30 Colmar0 Note Added: 0017783
2024-07-26 05:31 Colmar0 Note Added: 0017784