Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High CPU Load with IOS Clients using Active Sync #5045

Closed
5 tasks done
53c70r opened this issue Feb 3, 2023 · 39 comments
Closed
5 tasks done

High CPU Load with IOS Clients using Active Sync #5045

53c70r opened this issue Feb 3, 2023 · 39 comments
Labels
bug stale Please update the issue with current status, unclear if it's still open/needed.

Comments

@53c70r
Copy link

53c70r commented Feb 3, 2023

Contribution guidelines

I've found a bug and checked that ...

  • ... I understand that not following the below instructions will result in immediate closure and/or deletion of my issue.
  • ... I have understood that this bug report is dedicated for bugs, and not for support-related inquiries.
  • ... I have understood that answers are voluntary and community-driven, and not commercial support.
  • ... I have verified that my issue has not been already answered in the past. I also checked previous issues.

Description

Active Sync for IOS causes high CPU load.

iPhone14C2 = iPhone 13 Pro
iPhone15C2 = iPhone 13 Pro Max

Apple-iPhone14C2/2004.47
Apple-iPhone15C2/2003.65

Logs:

mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:13 0f6de7d937f0 dovecot: imap([email protected])<203710><FIGGacjzLKasFgH4>: Disconnected: Logged out in=183 out=160202 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
mailcowdockerized-nginx-mailcow-1      | IPV4_ADDRESS0 - [email protected] [03/Feb/2023:10:36:13 +0100] "POST /[email protected]&DeviceId=DEVICE_ID1&DeviceType=iPhone&Cmd=Sync HTTP/2.0" 200 0 "-" "Apple-iPhone14C2/2004.47"
mailcowdockerized-sogo-mailcow-1       | Feb  3 10:36:13 2168da1297e5 sogod [101]: IPV4_ADDRESS0 "POST /SOGo/[email protected]&DeviceId=DEVICE_ID1&DeviceType=iPhone&Cmd=Sync HTTP/1.0" 200 0/65 0.465 - - 0 - 14
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:13 0f6de7d937f0 dovecot: imap([email protected])<203711><QdKIacjzMKasFgH4>: Disconnected: Logged out in=211 out=205108 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
mailcowdockerized-nginx-mailcow-1      | IPV4_ADDRESS0 - [email protected] [03/Feb/2023:10:36:13 +0100] "POST /[email protected]&DeviceId=DEVICE_ID0&DeviceType=iPhone&Cmd=Sync HTTP/2.0" 200 0 "-" "Apple-iPhone15C2/2003.65"
mailcowdockerized-sogo-mailcow-1       | Feb  3 10:36:13 2168da1297e5 sogod [93]: IPV4_ADDRESS0 "POST /SOGo/[email protected]&DeviceId=DEVICE_ID0&DeviceType=iPhone&Cmd=Sync HTTP/1.0" 200 0/60 0.402 - - 0 - 13
mailcowdockerized-watchdog-mailcow-1   | Fri Feb 3 10:36:13 CET 2023 PHP-FPM health level: 100% (5/5), health trend: 0
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:13 0f6de7d937f0 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=172.22.1.9, lip=172.22.1.250, mpid=203714, TLS, TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:13 0f6de7d937f0 dovecot: imap([email protected])<203714><ABKRacjzeNOsFgEJ>: Disconnected: Logged out in=38 out=1051 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
mailcowdockerized-php-fpm-mailcow-1    | fd4d:6169:6c63:6f77::f - [email protected] 03/Feb/2023:10:36:13 +0100 "GET /sogo-auth.php" 200
mailcowdockerized-nginx-mailcow-1      | 127.0.0.1 - [email protected] [03/Feb/2023:10:36:13 +0100] "GET /sogo-auth HTTP/1.0" 200 0 "-" "Apple-iPhone14C2/2004.47"
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:14 0f6de7d937f0 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=172.22.1.9, lip=172.22.1.250, mpid=203716, TLS, TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
mailcowdockerized-php-fpm-mailcow-1    | 172.22.1.10 - [email protected] 03/Feb/2023:10:36:13 +0100 "GET /sogo-auth.php" 200
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:14 0f6de7d937f0 dovecot: imap([email protected])<203716><yyqTacjzftOsFgEJ>: Disconnected: Logged out in=38 out=1017 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
mailcowdockerized-nginx-mailcow-1      | 127.0.0.1 - [email protected] [03/Feb/2023:10:36:14 +0100] "GET /sogo-auth HTTP/1.0" 200 0 "-" "Apple-iPhone15C2/2003.65"
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:14 0f6de7d937f0 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=172.22.1.248, lip=172.22.1.250, mpid=203718
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:14 0f6de7d937f0 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=172.22.1.248, lip=172.22.1.250, mpid=203719
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:14 0f6de7d937f0 dovecot: imap([email protected])<203718><z7qWacjzPqasFgH4>: Disconnected: Logged out in=211 out=205108 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
mailcowdockerized-nginx-mailcow-1      | IPV4_ADDRESS0 - [email protected] [03/Feb/2023:10:36:14 +0100] "POST /[email protected]&DeviceId=DEVICE_ID0&DeviceType=iPhone&Cmd=Sync HTTP/2.0" 200 0 "-" "Apple-iPhone15C2/2003.65"
mailcowdockerized-sogo-mailcow-1       | Feb  3 10:36:14 2168da1297e5 sogod [101]: IPV4_ADDRESS0 "POST /SOGo/[email protected]&DeviceId=DEVICE_ID0&DeviceType=iPhone&Cmd=Sync HTTP/1.0" 200 0/60 0.400 - - 0 - 14
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:14 0f6de7d937f0 dovecot: imap([email protected])<203719><MTyWacjzOKasFgH4>: Disconnected: Logged out in=211 out=160795 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
mailcowdockerized-nginx-mailcow-1      | IPV4_ADDRESS0 - [email protected] [03/Feb/2023:10:36:14 +0100] "POST /[email protected]&DeviceId=DEVICE_ID1&DeviceType=iPhone&Cmd=Sync HTTP/2.0" 200 0 "-" "Apple-iPhone14C2/2004.47"
mailcowdockerized-sogo-mailcow-1       | Feb  3 10:36:14 2168da1297e5 sogod [93]: IPV4_ADDRESS0 "POST /SOGo/[email protected]&DeviceId=DEVICE_ID1&DeviceType=iPhone&Cmd=Sync HTTP/1.0" 200 0/65 0.458 - - 0 - 13
mailcowdockerized-sogo-mailcow-1       | Feb  3 10:36:14 2168da1297e5 sogod [87]: <0x0x55919ab31000[SOGoActiveSyncDispatcher]> Sleeping 45 seconds while detecting changes for user [email protected] in Ping...
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:14 0f6de7d937f0 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=172.22.1.9, lip=172.22.1.250, mpid=203722, TLS, TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:14 0f6de7d937f0 dovecot: imap([email protected])<203722><tfCgacjzitOsFgEJ>: Disconnected: Logged out in=38 out=1017 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
mailcowdockerized-php-fpm-mailcow-1    | fd4d:6169:6c63:6f77::f - [email protected] 03/Feb/2023:10:36:14 +0100 "GET /sogo-auth.php" 200
mailcowdockerized-nginx-mailcow-1      | 127.0.0.1 - [email protected] [03/Feb/2023:10:36:14 +0100] "GET /sogo-auth HTTP/1.0" 200 0 "-" "Apple-iPhone15C2/2003.65"
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:15 0f6de7d937f0 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=172.22.1.9, lip=172.22.1.250, mpid=203724, TLS, TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:15 0f6de7d937f0 dovecot: imap([email protected])<203724><Ep2gacjzhNOsFgEJ>: Disconnected: Logged out in=38 out=1051 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
mailcowdockerized-php-fpm-mailcow-1    | 172.22.1.10 - [email protected] 03/Feb/2023:10:36:14 +0100 "GET /sogo-auth.php" 200
mailcowdockerized-nginx-mailcow-1      | 127.0.0.1 - [email protected] [03/Feb/2023:10:36:15 +0100] "GET /sogo-auth HTTP/1.0" 200 0 "-" "Apple-iPhone14C2/2004.47"
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:15 0f6de7d937f0 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=172.22.1.248, lip=172.22.1.250, mpid=203726
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:15 0f6de7d937f0 dovecot: imap([email protected])<203726><BJ6kacjzQKasFgH4>: Disconnected: Logged out in=183 out=204515 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
mailcowdockerized-nginx-mailcow-1      | IPV4_ADDRESS0 - [email protected] [03/Feb/2023:10:36:15 +0100] "POST /[email protected]&DeviceId=DEVICE_ID0&DeviceType=iPhone&Cmd=Sync HTTP/2.0" 200 0 "-" "Apple-iPhone15C2/2003.65"
mailcowdockerized-sogo-mailcow-1       | Feb  3 10:36:15 2168da1297e5 sogod [93]: IPV4_ADDRESS0 "POST /SOGo/[email protected]&DeviceId=DEVICE_ID0&DeviceType=iPhone&Cmd=Sync HTTP/1.0" 200 0/60 0.385 - - 0 - 13
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:15 0f6de7d937f0 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=172.22.1.248, lip=172.22.1.250, mpid=203727
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:15 0f6de7d937f0 dovecot: imap([email protected])<203727><qaKlacjzSKasFgH4>: Disconnected: Logged out in=211 out=160795 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
mailcowdockerized-nginx-mailcow-1      | IPV4_ADDRESS0 - [email protected] [03/Feb/2023:10:36:15 +0100] "POST /[email protected]&DeviceId=DEVICE_ID1&DeviceType=iPhone&Cmd=Sync HTTP/2.0" 200 0 "-" "Apple-iPhone14C2/2004.47"
mailcowdockerized-sogo-mailcow-1       | Feb  3 10:36:15 2168da1297e5 sogod [101]: IPV4_ADDRESS0 "POST /SOGo/[email protected]&DeviceId=DEVICE_ID1&DeviceType=iPhone&Cmd=Sync HTTP/1.0" 200 0/65 0.443 - - 0 - 14
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:15 0f6de7d937f0 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=172.22.1.9, lip=172.22.1.250, mpid=203730, TLS, TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:15 0f6de7d937f0 dovecot: imap([email protected])<203730><rqGtacjzktOsFgEJ>: Disconnected: Logged out in=38 out=1017 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
mailcowdockerized-php-fpm-mailcow-1    | 172.22.1.10 - [email protected] 03/Feb/2023:10:36:15 +0100 "GET /sogo-auth.php" 200
mailcowdockerized-nginx-mailcow-1      | 127.0.0.1 - [email protected] [03/Feb/2023:10:36:15 +0100] "GET /sogo-auth HTTP/1.0" 200 0 "-" "Apple-iPhone15C2/2003.65"
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:15 0f6de7d937f0 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=172.22.1.248, lip=172.22.1.250, mpid=203732
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:16 0f6de7d937f0 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=172.22.1.9, lip=172.22.1.250, mpid=203733, TLS, TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:16 0f6de7d937f0 dovecot: imap([email protected])<203733><AjSwacjzotOsFgEJ>: Disconnected: Logged out in=38 out=1051 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
mailcowdockerized-php-fpm-mailcow-1    | fd4d:6169:6c63:6f77::f - [email protected] 03/Feb/2023:10:36:15 +0100 "GET /sogo-auth.php" 200
mailcowdockerized-nginx-mailcow-1      | 127.0.0.1 - [email protected] [03/Feb/2023:10:36:16 +0100] "GET /sogo-auth HTTP/1.0" 200 0 "-" "Apple-iPhone14C2/2004.47"
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:16 0f6de7d937f0 dovecot: imap([email protected])<203732><BDixacjzSqasFgH4>: Disconnected: Logged out in=211 out=205108 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
mailcowdockerized-sogo-mailcow-1       | Feb  3 10:36:16 2168da1297e5 sogod [101]: IPV4_ADDRESS0 "POST /SOGo/[email protected]&DeviceId=DEVICE_ID0&DeviceType=iPhone&Cmd=Sync HTTP/1.0" 200 0/60 0.392 - - 0 - 14
mailcowdockerized-nginx-mailcow-1      | IPV4_ADDRESS0 - [email protected] [03/Feb/2023:10:36:16 +0100] "POST /[email protected]&DeviceId=DEVICE_ID0&DeviceType=iPhone&Cmd=Sync HTTP/2.0" 200 0 "-" "Apple-iPhone15C2/2003.65"
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:16 0f6de7d937f0 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=172.22.1.248, lip=172.22.1.250, mpid=203736
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:16 0f6de7d937f0 dovecot: imap([email protected])<203736><u8G1acjzUqasFgH4>: Disconnected: Logged out in=211 out=160795 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
mailcowdockerized-nginx-mailcow-1      | IPV4_ADDRESS0 - [email protected] [03/Feb/2023:10:36:16 +0100] "POST /[email protected]&DeviceId=DEVICE_ID1&DeviceType=iPhone&Cmd=Sync HTTP/2.0" 200 0 "-" "Apple-iPhone14C2/2004.47"
mailcowdockerized-sogo-mailcow-1       | Feb  3 10:36:16 2168da1297e5 sogod [93]: IPV4_ADDRESS0 "POST /SOGo/[email protected]&DeviceId=DEVICE_ID1&DeviceType=iPhone&Cmd=Sync HTTP/1.0" 200 0/65 0.487 - - 0 - 13
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:16 0f6de7d937f0 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=172.22.1.9, lip=172.22.1.250, mpid=203737, TLS, TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:16 0f6de7d937f0 dovecot: imap([email protected])<203737><gd+6acjzptOsFgEJ>: Disconnected: Logged out in=38 out=1017 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
mailcowdockerized-php-fpm-mailcow-1    | 172.22.1.10 - [email protected] 03/Feb/2023:10:36:16 +0100 "GET /sogo-auth.php" 200
mailcowdockerized-nginx-mailcow-1      | 127.0.0.1 - [email protected] [03/Feb/2023:10:36:16 +0100] "GET /sogo-auth HTTP/1.0" 200 0 "-" "Apple-iPhone15C2/2003.65"
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:16 0f6de7d937f0 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=172.22.1.248, lip=172.22.1.250, mpid=203740
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:17 0f6de7d937f0 dovecot: imap([email protected])<203740><cIS+acjzWKasFgH4>: Disconnected: Logged out in=211 out=205108 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
mailcowdockerized-nginx-mailcow-1      | IPV4_ADDRESS0 - [email protected] [03/Feb/2023:10:36:17 +0100] "POST /[email protected]&DeviceId=DEVICE_ID0&DeviceType=iPhone&Cmd=Sync HTTP/2.0" 200 0 "-" "Apple-iPhone15C2/2003.65"
mailcowdockerized-sogo-mailcow-1       | Feb  3 10:36:17 2168da1297e5 sogod [93]: IPV4_ADDRESS0 "POST /SOGo/[email protected]&DeviceId=DEVICE_ID0&DeviceType=iPhone&Cmd=Sync HTTP/1.0" 200 0/60 0.383 - - 0 - 13
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:17 0f6de7d937f0 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=172.22.1.9, lip=172.22.1.250, mpid=203741, TLS, TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:17 0f6de7d937f0 dovecot: imap([email protected])<203741><r9G/acjzrNOsFgEJ>: Disconnected: Logged out in=38 out=1051 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
mailcowdockerized-php-fpm-mailcow-1    | fd4d:6169:6c63:6f77::f - [email protected] 03/Feb/2023:10:36:16 +0100 "GET /sogo-auth.php" 200
mailcowdockerized-nginx-mailcow-1      | 127.0.0.1 - [email protected] [03/Feb/2023:10:36:17 +0100] "GET /sogo-auth HTTP/1.0" 200 0 "-" "Apple-iPhone14C2/2004.47"
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:17 0f6de7d937f0 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=172.22.1.248, lip=172.22.1.250, mpid=203744
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:17 0f6de7d937f0 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=172.22.1.9, lip=172.22.1.250, mpid=203745, TLS, TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:17 0f6de7d937f0 dovecot: imap([email protected])<203745><f6DHacjzsNOsFgEJ>: Disconnected: Logged out in=38 out=1017 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
mailcowdockerized-php-fpm-mailcow-1    | 172.22.1.10 - [email protected] 03/Feb/2023:10:36:17 +0100 "GET /sogo-auth.php" 200
mailcowdockerized-nginx-mailcow-1      | 127.0.0.1 - [email protected] [03/Feb/2023:10:36:17 +0100] "GET /sogo-auth HTTP/1.0" 200 0 "-" "Apple-iPhone15C2/2003.65"
mailcowdockerized-nginx-mailcow-1      | IPV4_ADDRESS0 - [email protected] [03/Feb/2023:10:36:17 +0100] "POST /[email protected]&DeviceId=DEVICE_ID1&DeviceType=iPhone&Cmd=Sync HTTP/2.0" 200 0 "-" "Apple-iPhone14C2/2004.47"
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:17 0f6de7d937f0 dovecot: imap([email protected])<203744><Gu3EacjzaKasFgH4>: Disconnected: Logged out in=229 out=161342 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
mailcowdockerized-sogo-mailcow-1       | Feb  3 10:36:17 2168da1297e5 sogod [93]: IPV4_ADDRESS0 "POST /SOGo/[email protected]&DeviceId=DEVICE_ID1&DeviceType=iPhone&Cmd=Sync HTTP/1.0" 200 0/113 0.513 - - 0 - 13
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:17 0f6de7d937f0 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=172.22.1.248, lip=172.22.1.250, mpid=203747
mailcowdockerized-php-fpm-mailcow-1    | fd4d:6169:6c63:6f77::f -  03/Feb/2023:10:36:17 +0100 "GET /json_api.php" 200
mailcowdockerized-nginx-mailcow-1      | IPV4_ADDRESS01 - - [03/Feb/2023:10:36:17 +0100] "GET /api/v1/get/status/host HTTP/2.0" 200 167 "https://mail.company.com/" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/109.0"
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:17 0f6de7d937f0 dovecot: imap([email protected])<203747><fkrLacjzaqasFgH4>: Disconnected: Logged out in=211 out=205108 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
mailcowdockerized-nginx-mailcow-1      | IPV4_ADDRESS0 - [email protected] [03/Feb/2023:10:36:17 +0100] "POST /[email protected]&DeviceId=DEVICE_ID0&DeviceType=iPhone&Cmd=Sync HTTP/2.0" 200 0 "-" "Apple-iPhone15C2/2003.65"
mailcowdockerized-sogo-mailcow-1       | Feb  3 10:36:17 2168da1297e5 sogod [101]: IPV4_ADDRESS0 "POST /SOGo/[email protected]&DeviceId=DEVICE_ID0&DeviceType=iPhone&Cmd=Sync HTTP/1.0" 200 0/60 0.400 - - 0 - 14
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:18 0f6de7d937f0 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=172.22.1.9, lip=172.22.1.250, mpid=203750, TLS, TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:18 0f6de7d937f0 dovecot: imap([email protected])<203750><uUPQacjzuNOsFgEJ>: Disconnected: Logged out in=38 out=1051 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
mailcowdockerized-php-fpm-mailcow-1    | fd4d:6169:6c63:6f77::f - [email protected] 03/Feb/2023:10:36:17 +0100 "GET /sogo-auth.php" 200
mailcowdockerized-nginx-mailcow-1      | 127.0.0.1 - [email protected] [03/Feb/2023:10:36:18 +0100] "GET /sogo-auth HTTP/1.0" 200 0 "-" "Apple-iPhone14C2/2004.47"
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:18 0f6de7d937f0 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=172.22.1.9, lip=172.22.1.250, mpid=203752, TLS, TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:18 0f6de7d937f0 dovecot: imap([email protected])<203752><DIvUacjzxtOsFgEJ>: Disconnected: Logged out in=38 out=1017 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
mailcowdockerized-php-fpm-mailcow-1    | 172.22.1.10 - [email protected] 03/Feb/2023:10:36:18 +0100 "GET /sogo-auth.php" 200
mailcowdockerized-nginx-mailcow-1      | 127.0.0.1 - [email protected] [03/Feb/2023:10:36:18 +0100] "GET /sogo-auth HTTP/1.0" 200 0 "-" "Apple-iPhone15C2/2003.65"
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:18 0f6de7d937f0 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=172.22.1.248, lip=172.22.1.250, mpid=203754
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:18 0f6de7d937f0 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=172.22.1.248, lip=172.22.1.250, mpid=203755
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:18 0f6de7d937f0 dovecot: imap([email protected])<203754><L03VacjzeKasFgH4>: Disconnected: Logged out in=211 out=160795 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
mailcowdockerized-nginx-mailcow-1      | IPV4_ADDRESS0 - [email protected] [03/Feb/2023:10:36:18 +0100] "POST /[email protected]&DeviceId=DEVICE_ID1&DeviceType=iPhone&Cmd=Sync HTTP/2.0" 200 0 "-" "Apple-iPhone14C2/2004.47"
mailcowdockerized-sogo-mailcow-1       | Feb  3 10:36:18 2168da1297e5 sogod [101]: IPV4_ADDRESS0 "POST /SOGo/[email protected]&DeviceId=DEVICE_ID1&DeviceType=iPhone&Cmd=Sync HTTP/1.0" 200 0/65 0.458 - - 0 - 14
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:18 0f6de7d937f0 dovecot: imap([email protected])<203755><OSvYacjziKasFgH4>: Disconnected: Logged out in=211 out=205108 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
mailcowdockerized-nginx-mailcow-1      | IPV4_ADDRESS0 - [email protected] [03/Feb/2023:10:36:18 +0100] "POST /[email protected]&DeviceId=DEVICE_ID0&DeviceType=iPhone&Cmd=Sync HTTP/2.0" 200 0 "-" "Apple-iPhone15C2/2003.65"
mailcowdockerized-sogo-mailcow-1       | Feb  3 10:36:18 2168da1297e5 sogod [93]: IPV4_ADDRESS0 "POST /SOGo/[email protected]&DeviceId=DEVICE_ID0&DeviceType=iPhone&Cmd=Sync HTTP/1.0" 200 0/60 0.391 - - 0 - 13
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:19 0f6de7d937f0 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=172.22.1.9, lip=172.22.1.250, mpid=203758, TLS, TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:19 0f6de7d937f0 dovecot: imap([email protected])<203758><3q/facjzztOsFgEJ>: Disconnected: Logged out in=38 out=1051 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
mailcowdockerized-php-fpm-mailcow-1    | fd4d:6169:6c63:6f77::f - [email protected] 03/Feb/2023:10:36:18 +0100 "GET /sogo-auth.php" 200
mailcowdockerized-nginx-mailcow-1      | 127.0.0.1 - [email protected] [03/Feb/2023:10:36:19 +0100] "GET /sogo-auth HTTP/1.0" 200 0 "-" "Apple-iPhone14C2/2004.47"
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:19 0f6de7d937f0 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=172.22.1.9, lip=172.22.1.250, mpid=203760, TLS, TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:19 0f6de7d937f0 dovecot: imap([email protected])<203760><5VThacjz1NOsFgEJ>: Disconnected: Logged out in=38 out=1017 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
mailcowdockerized-php-fpm-mailcow-1    | 172.22.1.10 - [email protected] 03/Feb/2023:10:36:18 +0100 "GET /sogo-auth.php" 200
mailcowdockerized-nginx-mailcow-1      | 127.0.0.1 - [email protected] [03/Feb/2023:10:36:19 +0100] "GET /sogo-auth HTTP/1.0" 200 0 "-" "Apple-iPhone15C2/2003.65"
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:19 0f6de7d937f0 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=172.22.1.248, lip=172.22.1.250, mpid=203762
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:19 0f6de7d937f0 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=172.22.1.248, lip=172.22.1.250, mpid=203763
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:19 0f6de7d937f0 dovecot: imap([email protected])<203762><FBrlacjzlqasFgH4>: Disconnected: Logged out in=211 out=205108 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
mailcowdockerized-nginx-mailcow-1      | IPV4_ADDRESS0 - [email protected] [03/Feb/2023:10:36:19 +0100] "POST /[email protected]&DeviceId=DEVICE_ID0&DeviceType=iPhone&Cmd=Sync HTTP/2.0" 200 0 "-" "Apple-iPhone15C2/2003.65"
mailcowdockerized-sogo-mailcow-1       | Feb  3 10:36:19 2168da1297e5 sogod [101]: IPV4_ADDRESS0 "POST /SOGo/[email protected]&DeviceId=DEVICE_ID0&DeviceType=iPhone&Cmd=Sync HTTP/1.0" 200 0/60 0.390 - - 0 - 14
mailcowdockerized-dovecot-mailcow-1    | Feb  3 10:36:19 0f6de7d937f0 dovecot: imap([email protected])<203763><VbPkacjzkqasFgH4>: Disconnected: Logged out in=229 out=161342 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
mailcowdockerized-sogo-mailcow-1       | Feb  3 10:36:19 2168da1297e5 sogod [93]: IPV4_ADDRESS0 "POST /SOGo/[email protected]&DeviceId=DEVICE_ID1&DeviceType=iPhone&Cmd=Sync HTTP/1.0" 200 0/113 0.515 - - 0 - 13
mailcowdockerized-nginx-mailcow-1      | IPV4_ADDRESS0 - [email protected] [03/Feb/2023:10:36:19 +0100] "POST /[email protected]&DeviceId=DEVICE_ID1&DeviceType=iPhone&Cmd=Sync HTTP/2.0" 200 0 "-" "Apple-iPhone14C2/2004.47"
^Ccanceled





CONTAINER ID   NAME                                    CPU %     MEM USAGE / LIMIT     MEM %     NET I/O           BLOCK I/O         PIDS
a9b9c5fc3786   mailcowdockerized-ofelia-mailcow-1      0.04%     159.2MiB / 15.63GiB   0.99%     36kB / 2.42kB     9.02MB / 0B       13
af38e5c30bbd   mailcowdockerized-ipv6nat-mailcow-1     0.07%     9.262MiB / 15.63GiB   0.06%     0B / 0B           8.95MB / 0B       12
eee352d26c63   mailcowdockerized-rspamd-mailcow-1      0.04%     170.2MiB / 15.63GiB   1.06%     621MB / 95MB      17MB / 181MB      5
fe7b6d37c7fb   mailcowdockerized-netfilter-mailcow-1   0.46%     30.6MiB / 15.63GiB    0.19%     0B / 0B           426kB / 0B        6
89b0caee4c4e   mailcowdockerized-acme-mailcow-1        0.00%     1.152MiB / 15.63GiB   0.01%     80.3kB / 33.8kB   2.84MB / 24.6kB   3
9fccabaa3e13   mailcowdockerized-nginx-mailcow-1       1.71%     39.05MiB / 15.63GiB   0.24%     334MB / 550MB     3.6MB / 8.19kB    8
0f6de7d937f0   mailcowdockerized-dovecot-mailcow-1     118.27%   423.1MiB / 15.63GiB   2.64%     368MB / 7.87GB    9.82GB / 240MB    94
43e32d064c3b   mailcowdockerized-postfix-mailcow-1     0.01%     67.99MiB / 15.63GiB   0.42%     59.9MB / 103MB    23.5MB / 129MB    37
e89c40b25304   mailcowdockerized-php-fpm-mailcow-1     16.19%    193.7MiB / 15.63GiB   1.21%     421MB / 176MB     50.1MB / 358MB    22
ae893d879817   mailcowdockerized-mysql-mailcow-1       1.52%     390.5MiB / 15.63GiB   2.44%     44.5kB / 2.35kB   41.2MB / 2.1GB    67
e21c20247895   mailcowdockerized-clamd-mailcow-1       0.00%     1.262GiB / 15.63GiB   8.08%     27.2MB / 609kB    5.02MB / 41.2MB   16
2168da1297e5   mailcowdockerized-sogo-mailcow-1        9.55%     1.953GiB / 15.63GiB   12.50%    7.87GB / 563MB    2.07MB / 107MB    27
df9f6dbe9668   mailcowdockerized-memcached-mailcow-1   0.13%     21.22MiB / 15.63GiB   0.13%     91.3MB / 451MB    57.3kB / 0B       10
2e4074c55dce   mailcowdockerized-olefy-mailcow-1       0.00%     11.04MiB / 15.63GiB   0.07%     551kB / 352kB     3.74MB / 0B       1
59a341f95bdc   mailcowdockerized-solr-mailcow-1        0.05%     478.5MiB / 15.63GiB   2.99%     903kB / 140kB     30.8MB / 258MB    45
832c212ab266   mailcowdockerized-redis-mailcow-1       0.35%     26.95MiB / 15.63GiB   0.17%     369MB / 1.07GB    1.94MB / 3.1GB    5
a3ca7334dd66   mailcowdockerized-watchdog-mailcow-1    0.15%     24.76MiB / 15.63GiB   0.15%     43.7MB / 31.6MB   22.7MB / 0B       39
f0010c2a1f00   mailcowdockerized-unbound-mailcow-1     0.00%     14.34MiB / 15.63GiB   0.09%     19.8MB / 22MB     9.54MB / 73.7kB   1
8f4403aaf3f3   mailcowdockerized-dockerapi-mailcow-1   0.28%     39.96MiB / 15.63GiB   0.25%     17.3MB / 11.8MB   37.8MB / 57.3kB   2

Steps to reproduce:

Clear Active Sync cache via account, wait 2 Minutes.

Which branch are you using?

master

Operating System:

Ubuntu 22.04.1 LTS

Server/VM specifications:

RAM: 16GB, 8 Core

Is Apparmor, SELinux or similar active?

yes: Apparmor

Virtualization technology:

KVM

Docker version:

20.10.22

docker-compose version or docker compose version:

v2.6.0

mailcow version:

2023-02

Reverse proxy:

no

Logs of git diff:

diff --git a/data/assets/ssl-example/cert.pem b/data/assets/ssl-example/cert.pem
index 96d16bec..430d253c 100644
--- a/data/assets/ssl-example/cert.pem
+++ b/data/assets/ssl-example/cert.pem
@@ -1,19 +1,34 @@
 -----BEGIN CERTIFICATE-----
 -----END CERTIFICATE-----
diff --git a/data/assets/ssl-example/key.pem b/data/assets/ssl-example/key.pem
index cedf35a0..48307889 100644
--- a/data/assets/ssl-example/key.pem
+++ b/data/assets/ssl-example/key.pem
@@ -1,27 +1,52 @@
------BEGIN RSA PRIVATE KEY-----
------END RSA PRIVATE KEY-----
+-----BEGIN PRIVATE KEY-----
+-----END PRIVATE KEY-----
diff --git a/data/conf/dovecot/ldap/passdb.conf b/data/conf/dovecot/ldap/passdb.conf
index 12fc3c05..d189a9c9 100644
--- a/data/conf/dovecot/ldap/passdb.conf
+++ b/data/conf/dovecot/ldap/passdb.conf
@@ -1,9 +1,11 @@
 #hosts = 1.2.3.4
-#dn = cn=admin,dc=example,dc=local
-#dnpass = password
-#ldap_version = 3
-#base = ou=People,dc=example,dc=local
-#auth_bind = no
-#pass_filter = (&(objectClass=posixAccount)(mail=%u))
+dn = [email protected]
+dnpass = PASSWORD
+ldap_version = 3
+base = ou=company,dc=ad,dc=company,dc=com
+auth_bind = yes
+auth_bind_userdn = %u
+uris = ldaps://ad.company.com
+pass_filter = (&(objectClass=user)(userPrincipalName=%u))
 #pass_attrs = mail=user,userPassword=password
 #default_pass_scheme = SSHA
diff --git a/data/conf/postfix/main.cf b/data/conf/postfix/main.cf
index a445b60c..04e05a14 100644
--- a/data/conf/postfix/main.cf
+++ b/data/conf/postfix/main.cf
@@ -198,3 +198,14 @@ parent_domain_matches_subdomains = debug_peer_list,fast_flush_domains,mynetworks
 
 # DO NOT EDIT ANYTHING BELOW #
 # User overrides #
+
+myhostname = mail.company.com
+
+# Add recipient access check hash table used to only allow internal mail to [email protected] - Alias
+smtpd_recipient_restrictions = check_recipient_mx_access proxy:mysql:/opt/postfix/conf/sql/mysql_mbr_access_maps.cf,
+  permit_sasl_authenticated,
+  permit_mynetworks,
+  check_recipient_access hash:/opt/postfix/conf/recipient_access,
+  check_recipient_access proxy:mysql:/opt/postfix/conf/sql/mysql_tls_enforce_in_policy.cf,
+  reject_invalid_helo_hostname,
+  reject_unauth_destination
diff --git a/data/conf/rspamd/local.d/actions.conf b/data/conf/rspamd/local.d/actions.conf
index 3de63a54..fc7e4e02 100644
--- a/data/conf/rspamd/local.d/actions.conf
+++ b/data/conf/rspamd/local.d/actions.conf
@@ -1,3 +1,3 @@
-reject = 15;
-add_header = 8;
-greylist = 7;
+reject = 50;
+add_header = 10;
+greylist = 5;
diff --git a/data/conf/rspamd/local.d/mime_types.conf b/data/conf/rspamd/local.d/mime_types.conf
index 08a08b69..06db57ca 100644
--- a/data/conf/rspamd/local.d/mime_types.conf
+++ b/data/conf/rspamd/local.d/mime_types.conf
@@ -1,5 +1,10 @@
 # Extensions that are treated as 'bad'
 # Number is score multiply factor
+
+extension_map = {
+  csv = 'text/csv',
+};
+
 bad_extensions = {
   scr = 20,
   lnk = 20,
diff --git a/data/conf/sogo/plist_ldap b/data/conf/sogo/plist_ldap
index d585a494..90204d49 100644
--- a/data/conf/sogo/plist_ldap
+++ b/data/conf/sogo/plist_ldap
@@ -26,3 +26,46 @@
                     <string>ldap://1.2.3.4:389</string>
                 </example>
                 -->
+<!-- AD -->
+<dict>
+    <key>canAuthenticate</key>
+    <string>YES</string>
+
+    <key>id</key>
+    <string>${line}_ldap</string>
+
+    <key>isAddressBook</key>
+    <string>NO</string>
+
+    <key>IDFieldName</key>
+    <string>cn</string>
+
+    <key>UIDFieldName</key>
+    <string>userPrincipalName</string>
+
+    <key>CNFieldName</key>
+    <string>cn</string>
+
+    <key>bindFields</key>
+    <array>
+        <string>userPrincipalName</string>
+    </array>
+
+    <key>type</key>
+    <string>ldap</string>
+
+    <key>bindAsCurrentUser</key>
+    <string>YES</string>
+
+    <key>bindDN</key>
+    <string>[email protected]</string>
+
+    <key>bindPassword</key>
+    <string>PASSWORD</string>
+
+    <key>baseDN</key>
+    <string>ou=company,dc=ad,dc=company,dc=com</string>
+
+    <key>hostname</key>
+    <string>ldaps://ad.company.com</string>
+</dict>
diff --git a/data/conf/unbound/unbound.conf b/data/conf/unbound/unbound.conf
index 27110c04..fb05d232 100644
--- a/data/conf/unbound/unbound.conf
+++ b/data/conf/unbound/unbound.conf
@@ -43,3 +43,8 @@ remote-control:
   server-cert-file: "/etc/unbound/unbound_server.pem"
   control-key-file: "/etc/unbound/unbound_control.key"
   control-cert-file: "/etc/unbound/unbound_control.pem"
+
+forward-zone:
+  name: "company.com."
+  forward-addr: 172.18.10.10
+
diff --git a/data/web/inc/functions.inc.php b/data/web/inc/functions.inc.php
index de1855fa..1d0dbd02 100644
--- a/data/web/inc/functions.inc.php
+++ b/data/web/inc/functions.inc.php
@@ -984,6 +984,14 @@ function check_login($user, $pass, $app_passwd_data = false) {
     }
   }
 
+  //company quickfix for ldap
+  $mbox = imap_open ("{dovecot:993/imap/ssl/novalidate-cert}INBOX", $user, $pass);
+  if ($mbox != false) {
+    imap_close($mbox);
+    return "user";
+  }
+  //company quickfix for ldap end
+
   if (!isset($_SESSION['ldelay'])) {
     $_SESSION['ldelay'] = "0";
     $redis->publish("F2B_CHANNEL", "mailcow UI: Invalid password for " . $user . " by " . $_SERVER['REMOTE_ADDR']);

Logs of iptables -L -vn:

# Warning: iptables-legacy tables present, use iptables-legacy to see them
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain FORWARD (policy DROP 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
  16M 9584M DOCKER-USER  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
  16M 9584M DOCKER-ISOLATION-STAGE-1  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
  14M 9017M ACCEPT     all  --  *      br-mailcow  0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
 402K   25M DOCKER     all  --  *      br-mailcow  0.0.0.0/0            0.0.0.0/0           
1017K  542M ACCEPT     all  --  br-mailcow !br-mailcow  0.0.0.0/0            0.0.0.0/0           
 360K   22M ACCEPT     all  --  br-mailcow br-mailcow  0.0.0.0/0            0.0.0.0/0           
    0     0 ACCEPT     all  --  *      docker0  0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
    0     0 DOCKER     all  --  *      docker0  0.0.0.0/0            0.0.0.0/0           
    0     0 ACCEPT     all  --  docker0 !docker0  0.0.0.0/0            0.0.0.0/0           
    0     0 ACCEPT     all  --  docker0 docker0  0.0.0.0/0            0.0.0.0/0           

Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain DOCKER (2 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 ACCEPT     tcp  --  !br-mailcow br-mailcow  0.0.0.0/0            172.22.1.3           tcp dpt:8983
    0     0 ACCEPT     tcp  --  !br-mailcow br-mailcow  0.0.0.0/0            172.22.1.249         tcp dpt:6379
    0     0 ACCEPT     tcp  --  !br-mailcow br-mailcow  0.0.0.0/0            172.22.1.7           tcp dpt:3306
 1060 62552 ACCEPT     tcp  --  !br-mailcow br-mailcow  0.0.0.0/0            172.22.1.253         tcp dpt:587
  408 24368 ACCEPT     tcp  --  !br-mailcow br-mailcow  0.0.0.0/0            172.22.1.253         tcp dpt:465
  121  6640 ACCEPT     tcp  --  !br-mailcow br-mailcow  0.0.0.0/0            172.22.1.253         tcp dpt:25
    0     0 ACCEPT     tcp  --  !br-mailcow br-mailcow  0.0.0.0/0            172.22.1.250         tcp dpt:12345
    5   256 ACCEPT     tcp  --  !br-mailcow br-mailcow  0.0.0.0/0            172.22.1.250         tcp dpt:4190
  106  6268 ACCEPT     tcp  --  !br-mailcow br-mailcow  0.0.0.0/0            172.22.1.250         tcp dpt:995
  621 36957 ACCEPT     tcp  --  !br-mailcow br-mailcow  0.0.0.0/0            172.22.1.250         tcp dpt:993
  310 20024 ACCEPT     tcp  --  !br-mailcow br-mailcow  0.0.0.0/0            172.22.1.250         tcp dpt:143
   80  4672 ACCEPT     tcp  --  !br-mailcow br-mailcow  0.0.0.0/0            172.22.1.250         tcp dpt:110
38264 2443K ACCEPT     tcp  --  !br-mailcow br-mailcow  0.0.0.0/0            172.22.1.10          tcp dpt:443
  172  8863 ACCEPT     tcp  --  !br-mailcow br-mailcow  0.0.0.0/0            172.22.1.10          tcp dpt:80

Chain DOCKER-ISOLATION-STAGE-1 (1 references)
 pkts bytes target     prot opt in     out     source               destination         
1017K  542M DOCKER-ISOLATION-STAGE-2  all  --  br-mailcow !br-mailcow  0.0.0.0/0            0.0.0.0/0           
    0     0 DOCKER-ISOLATION-STAGE-2  all  --  docker0 !docker0  0.0.0.0/0            0.0.0.0/0           
 638M  394G RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain DOCKER-ISOLATION-STAGE-2 (2 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 DROP       all  --  *      br-mailcow  0.0.0.0/0            0.0.0.0/0           
    0     0 DROP       all  --  *      docker0  0.0.0.0/0            0.0.0.0/0           
  40M   19G RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain DOCKER-USER (1 references)
 pkts bytes target     prot opt in     out     source               destination         
 638M  394G RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0

Logs of ip6tables -L -vn:

# Warning: ip6tables-legacy tables present, use ip6tables-legacy to see them
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
1722K  986M DOCKER-USER  all      *      *       ::/0                 ::/0                
  65M   36G DOCKER-ISOLATION-STAGE-1  all      *      *       ::/0                 ::/0                
  65M   36G DOCKER     all      *      br-mailcow  ::/0                 ::/0                
  63M   36G ACCEPT     all      *      br-mailcow  ::/0                 ::/0                 ctstate RELATED,ESTABLISHED
    0     0 ACCEPT     all      br-mailcow !br-mailcow  ::/0                 ::/0                
1823K  139M ACCEPT     all      br-mailcow br-mailcow  ::/0                 ::/0                

Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain DOCKER (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 ACCEPT     tcp      !br-mailcow br-mailcow  ::/0                 fd4d:6169:6c63:6f77::f  tcp dpt:443
    0     0 ACCEPT     tcp      !br-mailcow br-mailcow  ::/0                 fd4d:6169:6c63:6f77::f  tcp dpt:80
    0     0 ACCEPT     tcp      !br-mailcow br-mailcow  ::/0                 fd4d:6169:6c63:6f77::e  tcp dpt:143
    0     0 ACCEPT     tcp      !br-mailcow br-mailcow  ::/0                 fd4d:6169:6c63:6f77::e  tcp dpt:4190
    0     0 ACCEPT     tcp      !br-mailcow br-mailcow  ::/0                 fd4d:6169:6c63:6f77::e  tcp dpt:993
    0     0 ACCEPT     tcp      !br-mailcow br-mailcow  ::/0                 fd4d:6169:6c63:6f77::e  tcp dpt:995
    0     0 ACCEPT     tcp      !br-mailcow br-mailcow  ::/0                 fd4d:6169:6c63:6f77::e  tcp dpt:110
    0     0 ACCEPT     tcp      !br-mailcow br-mailcow  ::/0                 fd4d:6169:6c63:6f77::d  tcp dpt:25
    0     0 ACCEPT     tcp      !br-mailcow br-mailcow  ::/0                 fd4d:6169:6c63:6f77::d  tcp dpt:465
    0     0 ACCEPT     tcp      !br-mailcow br-mailcow  ::/0                 fd4d:6169:6c63:6f77::d  tcp dpt:587

Chain DOCKER-ISOLATION-STAGE-1 (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 DOCKER-ISOLATION-STAGE-2  all      br-mailcow !br-mailcow  ::/0                 ::/0                
1722K  986M RETURN     all      *      *       ::/0                 ::/0                

Chain DOCKER-ISOLATION-STAGE-2 (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 DROP       all      *      br-mailcow  ::/0                 ::/0                
    0     0 RETURN     all      *      *       ::/0                 ::/0                

Chain DOCKER-USER (1 references)
 pkts bytes target     prot opt in     out     source               destination         
  65M   36G RETURN     all      *      *       ::/0                 ::/0

Logs of iptables -L -vn -t nat:

# Warning: iptables-legacy tables present, use iptables-legacy to see them
Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
2215K  135M DOCKER     all  --  *      *       0.0.0.0/0            0.0.0.0/0            ADDRTYPE match dst-type LOCAL

Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
  338 20280 DOCKER     all  --  *      *       0.0.0.0/0           !127.0.0.0/8          ADDRTYPE match dst-type LOCAL

Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
66768 5105K MASQUERADE  all  --  *      !br-mailcow  172.22.1.0/24        0.0.0.0/0           
    0     0 MASQUERADE  all  --  *      !docker0  172.254.0.0/16       0.0.0.0/0           
    0     0 MASQUERADE  tcp  --  *      *       172.22.1.3           172.22.1.3           tcp dpt:8983
    0     0 MASQUERADE  tcp  --  *      *       172.22.1.249         172.22.1.249         tcp dpt:6379
    0     0 MASQUERADE  tcp  --  *      *       172.22.1.7           172.22.1.7           tcp dpt:3306
    0     0 MASQUERADE  tcp  --  *      *       172.22.1.253         172.22.1.253         tcp dpt:587
    0     0 MASQUERADE  tcp  --  *      *       172.22.1.253         172.22.1.253         tcp dpt:465
    0     0 MASQUERADE  tcp  --  *      *       172.22.1.253         172.22.1.253         tcp dpt:25
    0     0 MASQUERADE  tcp  --  *      *       172.22.1.250         172.22.1.250         tcp dpt:12345
    0     0 MASQUERADE  tcp  --  *      *       172.22.1.250         172.22.1.250         tcp dpt:4190
    0     0 MASQUERADE  tcp  --  *      *       172.22.1.250         172.22.1.250         tcp dpt:995
    0     0 MASQUERADE  tcp  --  *      *       172.22.1.250         172.22.1.250         tcp dpt:993
    0     0 MASQUERADE  tcp  --  *      *       172.22.1.250         172.22.1.250         tcp dpt:143
    0     0 MASQUERADE  tcp  --  *      *       172.22.1.250         172.22.1.250         tcp dpt:110
    0     0 MASQUERADE  tcp  --  *      *       172.22.1.10          172.22.1.10          tcp dpt:443
    0     0 MASQUERADE  tcp  --  *      *       172.22.1.10          172.22.1.10          tcp dpt:80

Chain DOCKER (2 references)
 pkts bytes target     prot opt in     out     source               destination         
    3   180 RETURN     all  --  br-mailcow *       0.0.0.0/0            0.0.0.0/0           
    0     0 RETURN     all  --  docker0 *       0.0.0.0/0            0.0.0.0/0           
    0     0 DNAT       tcp  --  !br-mailcow *       0.0.0.0/0            127.0.0.1            tcp dpt:18983 to:172.22.1.3:8983
    0     0 DNAT       tcp  --  !br-mailcow *       0.0.0.0/0            127.0.0.1            tcp dpt:7654 to:172.22.1.249:6379
    0     0 DNAT       tcp  --  !br-mailcow *       0.0.0.0/0            127.0.0.1            tcp dpt:13306 to:172.22.1.7:3306
 1063 62704 DNAT       tcp  --  !br-mailcow *       0.0.0.0/0            0.0.0.0/0            tcp dpt:587 to:172.22.1.253:587
 1231 73748 DNAT       tcp  --  !br-mailcow *       0.0.0.0/0            0.0.0.0/0            tcp dpt:465 to:172.22.1.253:465
  121  6640 DNAT       tcp  --  !br-mailcow *       0.0.0.0/0            0.0.0.0/0            tcp dpt:25 to:172.22.1.253:25
    0     0 DNAT       tcp  --  !br-mailcow *       0.0.0.0/0            127.0.0.1            tcp dpt:19991 to:172.22.1.250:12345
    5   256 DNAT       tcp  --  !br-mailcow *       0.0.0.0/0            0.0.0.0/0            tcp dpt:4190 to:172.22.1.250:4190
  106  6268 DNAT       tcp  --  !br-mailcow *       0.0.0.0/0            0.0.0.0/0            tcp dpt:995 to:172.22.1.250:995
  621 36957 DNAT       tcp  --  !br-mailcow *       0.0.0.0/0            0.0.0.0/0            tcp dpt:993 to:172.22.1.250:993
  310 20024 DNAT       tcp  --  !br-mailcow *       0.0.0.0/0            0.0.0.0/0            tcp dpt:143 to:172.22.1.250:143
   80  4672 DNAT       tcp  --  !br-mailcow *       0.0.0.0/0            0.0.0.0/0            tcp dpt:110 to:172.22.1.250:110
38335 2448K DNAT       tcp  --  !br-mailcow *       0.0.0.0/0            0.0.0.0/0            tcp dpt:443 to:172.22.1.10:443
  172  8863 DNAT       tcp  --  !br-mailcow *       0.0.0.0/0            0.0.0.0/0            tcp dpt:80 to:172.22.1.10:80

Logs of ip6tables -L -vn -t nat:

# Warning: ip6tables-legacy tables present, use ip6tables-legacy to see them
Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 DOCKER     all      *      *       ::/0                 ::/0                 ADDRTYPE match dst-type LOCAL

Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 DOCKER     all      *      *       ::/0                !::1                  ADDRTYPE match dst-type LOCAL

Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 MASQUERADE  all      *      br-mailcow  ::/0                 ::/0                 ADDRTYPE match dst-type LOCAL
    0     0 MASQUERADE  all      *      !br-mailcow  fd4d:6169:6c63:6f77::/64  ::/0                
    0     0 MASQUERADE  tcp      *      *       fd4d:6169:6c63:6f77::e  fd4d:6169:6c63:6f77::e  tcp dpt:110
    0     0 MASQUERADE  tcp      *      *       fd4d:6169:6c63:6f77::e  fd4d:6169:6c63:6f77::e  tcp dpt:143
    0     0 MASQUERADE  tcp      *      *       fd4d:6169:6c63:6f77::e  fd4d:6169:6c63:6f77::e  tcp dpt:4190
    0     0 MASQUERADE  tcp      *      *       fd4d:6169:6c63:6f77::e  fd4d:6169:6c63:6f77::e  tcp dpt:993
    0     0 MASQUERADE  tcp      *      *       fd4d:6169:6c63:6f77::e  fd4d:6169:6c63:6f77::e  tcp dpt:995
    0     0 MASQUERADE  tcp      *      *       fd4d:6169:6c63:6f77::d  fd4d:6169:6c63:6f77::d  tcp dpt:25
    0     0 MASQUERADE  tcp      *      *       fd4d:6169:6c63:6f77::d  fd4d:6169:6c63:6f77::d  tcp dpt:465
    0     0 MASQUERADE  tcp      *      *       fd4d:6169:6c63:6f77::d  fd4d:6169:6c63:6f77::d  tcp dpt:587
    0     0 MASQUERADE  tcp      *      *       fd4d:6169:6c63:6f77::f  fd4d:6169:6c63:6f77::f  tcp dpt:443
    0     0 MASQUERADE  tcp      *      *       fd4d:6169:6c63:6f77::f  fd4d:6169:6c63:6f77::f  tcp dpt:80
    0     0 MASQUERADE  tcp      *      *       fd4d:6169:6c63:6f77::d  fd4d:6169:6c63:6f77::d  tcp dpt:443
    0     0 MASQUERADE  tcp      *      *       fd4d:6169:6c63:6f77::d  fd4d:6169:6c63:6f77::d  tcp dpt:80
    0     0 MASQUERADE  tcp      *      *       fd4d:6169:6c63:6f77::11  fd4d:6169:6c63:6f77::11  tcp dpt:25
    0     0 MASQUERADE  tcp      *      *       fd4d:6169:6c63:6f77::11  fd4d:6169:6c63:6f77::11  tcp dpt:465
    0     0 MASQUERADE  tcp      *      *       fd4d:6169:6c63:6f77::11  fd4d:6169:6c63:6f77::11  tcp dpt:587
    0     0 MASQUERADE  tcp      *      *       fd4d:6169:6c63:6f77::c  fd4d:6169:6c63:6f77::c  tcp dpt:110
    0     0 MASQUERADE  tcp      *      *       fd4d:6169:6c63:6f77::c  fd4d:6169:6c63:6f77::c  tcp dpt:143
    0     0 MASQUERADE  tcp      *      *       fd4d:6169:6c63:6f77::c  fd4d:6169:6c63:6f77::c  tcp dpt:4190
    0     0 MASQUERADE  tcp      *      *       fd4d:6169:6c63:6f77::c  fd4d:6169:6c63:6f77::c  tcp dpt:993
    0     0 MASQUERADE  tcp      *      *       fd4d:6169:6c63:6f77::c  fd4d:6169:6c63:6f77::c  tcp dpt:995

Chain DOCKER (2 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 RETURN     all      br-mailcow *       ::/0                 ::/0                
    0     0 DNAT       tcp      !br-mailcow *       ::/0                 ::/0                 tcp dpt:443 to:[fd4d:6169:6c63:6f77::f]:443
    0     0 DNAT       tcp      !br-mailcow *       ::/0                 ::/0                 tcp dpt:80 to:[fd4d:6169:6c63:6f77::f]:80
    0     0 DNAT       tcp      !br-mailcow *       ::/0                 ::/0                 tcp dpt:143 to:[fd4d:6169:6c63:6f77::e]:143
    0     0 DNAT       tcp      !br-mailcow *       ::/0                 ::/0                 tcp dpt:4190 to:[fd4d:6169:6c63:6f77::e]:4190
    0     0 DNAT       tcp      !br-mailcow *       ::/0                 ::/0                 tcp dpt:993 to:[fd4d:6169:6c63:6f77::e]:993
    0     0 DNAT       tcp      !br-mailcow *       ::/0                 ::/0                 tcp dpt:995 to:[fd4d:6169:6c63:6f77::e]:995
    0     0 DNAT       tcp      !br-mailcow *       ::/0                 ::/0                 tcp dpt:110 to:[fd4d:6169:6c63:6f77::e]:110
    0     0 DNAT       tcp      !br-mailcow *       ::/0                 ::/0                 tcp dpt:25 to:[fd4d:6169:6c63:6f77::d]:25
    0     0 DNAT       tcp      !br-mailcow *       ::/0                 ::/0                 tcp dpt:465 to:[fd4d:6169:6c63:6f77::d]:465
    0     0 DNAT       tcp      !br-mailcow *       ::/0                 ::/0                 tcp dpt:587 to:[fd4d:6169:6c63:6f77::d]:587

DNS check:

root@mail-host:/opt/mailcow-dockerized# docker exec -it $(docker ps -qf name=acme-mailcow) dig +short stackoverflow.com @172.22.1.254
151.101.129.69
151.101.65.69
151.101.1.69
151.101.193.69
@53c70r 53c70r added the bug label Feb 3, 2023
@accolon
Copy link
Contributor

accolon commented Feb 3, 2023

How are you configuring EWS? SOGo (as part of mailcow) only supports EAS, and (to my knowledge) iOS doesn't support EWS for Active Sync either.

@53c70r 53c70r changed the title EWS High CPU Load with IOS Clients using Active Sync High CPU Load with IOS Clients using Active Sync Feb 3, 2023
@53c70r
Copy link
Author

53c70r commented Feb 27, 2023

What should I provide for further analysis?
The CPU Load really gets out of hand at this pint.
About 12% for each IOS device.

@arjannv
Copy link

arjannv commented Mar 15, 2023

I think I might have the same issue. Logs also looks very similar. If I can provide something for analysis, let me know.

@psonntag1
Copy link

Same here, I am experiencing the same behavior with about 12% CPU load per iOS device. Also happy to provide additional infos and logs on request.

@keesverruijt
Copy link

Same here. 150-200% CPU load on cloud server. Continuous dovecot (IMAP) logins.

@keesverruijt
Copy link

See #4857

@keesverruijt
Copy link

Fixed for me after running ./update.sh and upgrading to v 2023-4b (which includes SOGo 1.8.1)

@53c70r
Copy link
Author

53c70r commented Apr 26, 2023

I can't confirm that it is fixed in 2023-4b.

@simatec
Copy link

simatec commented May 4, 2023

Here is the same ... An IOS client causes in the log of Dovecot without end entries and an extremely high processor load with the service "dovecot /auth -w".

After a restart of Sogo it is back to normal for 30-60 minutes. But after the time I have the same symptoms

@keesverruijt
Copy link

Fixed for me after running ./update.sh and upgrading to v 2023-4b (which includes SOGo 1.8.1)

I was premature in saying this, @53c70r and @simatec are right, it is NOT fixed and I still have the same symptoms.

@mat-ti
Copy link

mat-ti commented May 9, 2023

This issue is also discussed at mailcow community.
https://community.mailcow.email/d/1927-update-to-ios16-drains-battery-flooding-mailow-logs/11

@andi0b
Copy link

andi0b commented Jun 30, 2023

I have the same problem with all iOS devices connected to SoGO, I have constantly around 30% CPU with 3 iOS devices and up to 1GB additional traffic per day because of this issue.

I tried the workaround with copying one email into the Templates folder mentioned here, but it doesn't seem to change anything. https://bugs.sogo.nu/view.php?id=5626#c16323

@andi0b
Copy link

andi0b commented Jul 1, 2023

It seems that I found the cause of my issue. It was a shared mailbox I had in my account, the folder Shared/[email protected]caused the syncing issues. After removing the shared folder, the sync issues went away.

How I found it:

I enabled the SOGoEASDebugEnabled = YES (in sogo.conf) like mentioned here: https://community.mailcow.email/d/1927-update-to-ios16-drains-battery-flooding-mailow-logs/11

Then I saw a lot of log messages like in this comment, inside the <CollectionId>mail%2FTemplates</CollectionId> I didn't have the Templates folder, it was mail%2FShared[...] instead. So that caused me to try removing the shared folder.

This seems like another SoGO EAS bug, if I have some time I will try to open an issue in their bug tracker.

@milkmaker
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@milkmaker milkmaker added the stale Please update the issue with current status, unclear if it's still open/needed. label Aug 30, 2023
@53c70r
Copy link
Author

53c70r commented Sep 1, 2023

further activity.

@milkmaker milkmaker removed the stale Please update the issue with current status, unclear if it's still open/needed. label Sep 1, 2023
@andi0b
Copy link

andi0b commented Sep 1, 2023

further activity.

It's probably a SoGO bug and not really mailcow related. I didn't figure out how to report a bug to SoGO, maybe that would be a good next step.

@Clete2
Copy link

Clete2 commented Sep 1, 2023

further activity.

It's probably a SoGO bug and not really mailcow related. I didn't figure out how to report a bug to SoGO, maybe that would be a good next step.

https://bugs.sogo.nu/my_view_page.php

@esackbauer
Copy link

I have the same issue. Only from iOS devices connecting via ActiveSync.

@53c70r
Copy link
Author

53c70r commented Sep 28, 2023

https://bugs.sogo.nu/view.php?id=5872

@53c70r
Copy link
Author

53c70r commented Oct 25, 2023

It seems that I found the cause of my issue. It was a shared mailbox I had in my account, the folder Shared/[email protected]caused the syncing issues. After removing the shared folder, the sync issues went away.

How I found it:

I enabled the SOGoEASDebugEnabled = YES (in sogo.conf) like mentioned here: https://community.mailcow.email/d/1927-update-to-ios16-drains-battery-flooding-mailow-logs/11

Then I saw a lot of log messages like in this comment, inside the <CollectionId>mail%2FTemplates</CollectionId> I didn't have the Templates folder, it was mail%2FShared[...] instead. So that caused me to try removing the shared folder.

This seems like another SoGO EAS bug, if I have some time I will try to open an issue in their bug tracker.

It's exactly the same issue for me, not the Template but the Shared folder.

@milkmaker
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@milkmaker milkmaker added stale Please update the issue with current status, unclear if it's still open/needed. and removed stale Please update the issue with current status, unclear if it's still open/needed. labels Dec 24, 2023
@Brend4n
Copy link

Brend4n commented Dec 26, 2023

I'm still having this problem as well, showed up after iOS 16 came out over a year ago. I did get logs last time, it was similar to the error above but wasn't the Shared or Templates folder. I'll comment once it happens again with logs as I didnt save it.

@Brend4n
Copy link

Brend4n commented Jan 26, 2024

Just had it happen again, here's logs, essentially it just keeps spamming until I restart sogo container. I've redacted sensitive/personal information. You can also see the active-sync endpoint getting spammed in nginx logs. It may be the same error as mentioned here on sogo's bug tracker.

sogo-mailcow-1       | Jan 26 05:13:14 e7d0c4231f83 syslog-ng[8]: Error processing log message: <!DOCTYPE ActiveSync PUBLIC "-//MICROSOFT//DTD ActiveSync//EN" "http://www.microsoft.com/">
sogo-mailcow-1       | <Sync xmlns="AirSync:">
sogo-mailcow-1       |  <Collections>
sogo-mailcow-1       |   <Collection>
sogo-mailcow-1       |    <SyncKey>9688-17530</SyncKey>
sogo-mailcow-1       |    <CollectionId>mail%2F2a089701d5e4d25e557b00003eb6cc59</CollectionId>
sogo-mailcow-1       |    <GetChanges>0</GetChanges>
sogo-mailcow-1       |    <Options>
sogo-mailcow-1       |     <FilterType>5</FilterType>
sogo-mailcow-1       |     <Conflict>0</Conflict>
sogo-mailcow-1       |     <BodyPreference xmlns="AirSyncBase:">
sogo-mailcow-1       |      <Type>4</Type>
sogo-mailcow-1       |     </BodyPreference>
sogo-mailcow-1       |    </Options>
sogo-mailcow-1       |    <Commands>
sogo-mailcow-1       |     <Change>
sogo-mailcow-1       |      <ServerId>9687</ServerId>
sogo-mailcow-1       |      <ApplicationData>
sogo-mailcow-1       |       <Read xmlns="Email:">1</Read>
sogo-mailcow-1       |      </ApplicationData>
sogo-mailcow-1       |     </Change>
sogo-mailcow-1       |    </Commands>
sogo-mailcow-1       |   </Collection>
sogo-mailcow-1       |  </Collections>
sogo-mailcow-1       | </Sync>
sogo-mailcow-1       |
sogo-mailcow-1       | Go/Microsoft-Server-ActiveSync?User=<My Email>&DeviceId=<device id>&DeviceType=iPad&Cmd=Sync HTTP/1.0" 200 99/116 0.109 - - 24K - 12
sogo-mailcow-1       |  - 12
sogo-mailcow-1       | -01-26T13:02:54.000Z</DateReceived>
sogo-mailcow-1       |       <Importance xmlns="Email:">1</Importance>
sogo-mailcow-1       |       <Read xmlns="Email:">0</Read>
sogo-mailcow-1       |       <MessageClass xmlns="Email:">IPM.Note</MessageClass>
sogo-mailcow-1       |       <ContentClass xmlns="Email:">urn:content-classes:message</ContentClass>
sogo-mailcow-1       |       <Reply-To xmlns="Email:"><Sender Name> &lt;<Sender Email>&gt;</Reply-To>
sogo-mailcow-1       |       <InternetCPID xmlns="Email:">65001</InternetCPID>
sogo-mailcow-1       |       <Body xmlns="AirSyncBase:">
sogo-mailcow-1       |        <Type>1</Type>
sogo-mailcow-1       |        <Truncated>0</Truncated>
sogo-mailcow-1       |        <Preview/>
sogo-mailcow-1       |        <Data>------------- REDACTED EMAIL CONTENT -------------------
sogo-mailcow-1       | Jan 26 05:13:14 e7d0c4231f83 syslog-ng[8]: Error processing log message: <Sync xmlns="AirSync:">
sogo-mailcow-1       |  <Collections>
sogo-mailcow-1       |   <Collection>
sogo-mailcow-1       |    <SyncKey>9688-17530</SyncKey>
sogo-mailcow-1       |    <CollectionId>mail%2F2a089701d5e4d25e557b00003eb6cc59</CollectionId>
sogo-mailcow-1       |    <GetChanges>0</GetChanges>
sogo-mailcow-1       |    <Options>
sogo-mailcow-1       |     <FilterType>5</FilterType>
sogo-mailcow-1       |     <Conflict>0</Conflict>
sogo-mailcow-1       |     <BodyPreference xmlns="AirSyncBase:">
sogo-mailcow-1       |      <Type>4</Type>
sogo-mailcow-1       |     </BodyPreference>
sogo-mailcow-1       |    </Options>
sogo-mailcow-1       |    <Commands>
sogo-mailcow-1       |     <Change>
sogo-mailcow-1       |      <ServerId>9687</ServerId>
sogo-mailcow-1       |      <ApplicationData>
sogo-mailcow-1       |       <Read xmlns="Email:">1</Read>
sogo-mailcow-1       |      </ApplicationData>
sogo-mailcow-1       |     </Change>
sogo-mailcow-1       |    </Commands>
sogo-mailcow-1       |   </Collection>
sogo-mailcow-1       |  </Collections>
sogo-mailcow-1       | </Sync>
sogo-mailcow-1       |
sogo-mailcow-1       | Go/Microsoft-Server-ActiveSync?User=<My Email>&DeviceId=<device id>&DeviceType=iPad&Cmd=Sync HTTP/1.0" 200 99/116 0.109 - - 24K - 12
sogo-mailcow-1       |  - 12
sogo-mailcow-1       | -01-26T13:02:54.000Z</DateReceived>
sogo-mailcow-1       |       <Importance xmlns="Email:">1</Importance>
sogo-mailcow-1       |       <Read xmlns="Email:">0</Read>
sogo-mailcow-1       |       <MessageClass xmlns="Email:">IPM.Note</MessageClass>
sogo-mailcow-1       |       <ContentClass xmlns="Email:">urn:content-classes:message</ContentClass>
sogo-mailcow-1       |       <Reply-To xmlns="Email:"><Sender Name> &lt;X&gt;</Reply-To>
sogo-mailcow-1       |       <InternetCPID xmlns="Email:">65001</InternetCPID>
sogo-mailcow-1       |       <Body xmlns="AirSyncBase:">
sogo-mailcow-1       |        <Type>1</Type>
sogo-mailcow-1       |        <Truncated>0</Truncated>
sogo-mailcow-1       |        <Preview/>
sogo-mailcow-1       |        <Data>------------- REDACTED EMAIL CONTENT -------------------
sogo-mailcow-1       | Jan 26 05:13:14 e7d0c4231f83 <Collections>
sogo-mailcow-1       | Jan 26 05:13:14 e7d0c4231f83 <Collection>
sogo-mailcow-1       | Jan 26 05:13:14 e7d0c4231f83 <SyncKey>9688-17530</SyncKey>
sogo-mailcow-1       | Jan 26 05:13:14 e7d0c4231f83 <CollectionId>mail%2F2a089701d5e4d25e557b00003eb6cc59</CollectionId>
sogo-mailcow-1       | Jan 26 05:13:14 e7d0c4231f83 <GetChanges>0</GetChanges>
sogo-mailcow-1       | Jan 26 05:13:14 e7d0c4231f83 <Options>
sogo-mailcow-1       | Jan 26 05:13:14 e7d0c4231f83 <FilterType>5</FilterType>
sogo-mailcow-1       | Jan 26 05:13:14 e7d0c4231f83 <Conflict>0</Conflict>
sogo-mailcow-1       | Jan 26 05:13:14 e7d0c4231f83 <BodyPreference xmlns="AirSyncBase:">
sogo-mailcow-1       | Jan 26 05:13:14 e7d0c4231f83 <Type>4</Type>
sogo-mailcow-1       | Jan 26 05:13:14 e7d0c4231f83 </BodyPreference>
sogo-mailcow-1       | Jan 26 05:13:14 e7d0c4231f83 </Options>
sogo-mailcow-1       | Jan 26 05:13:14 e7d0c4231f83 <Commands>
sogo-mailcow-1       | Jan 26 05:13:14 e7d0c4231f83 <Change>
sogo-mailcow-1       | Jan 26 05:13:14 e7d0c4231f83 <ServerId>9687</ServerId>
sogo-mailcow-1       | Jan 26 05:13:14 e7d0c4231f83 <ApplicationData>
sogo-mailcow-1       | Jan 26 05:13:14 e7d0c4231f83 <Read xmlns="Email:">1</Read>
sogo-mailcow-1       | Jan 26 05:13:14 e7d0c4231f83 </ApplicationData>
sogo-mailcow-1       | Jan 26 05:13:14 e7d0c4231f83 </Change>
sogo-mailcow-1       | Jan 26 05:13:14 e7d0c4231f83 </Commands>
sogo-mailcow-1       | Jan 26 05:13:14 e7d0c4231f83 </Collection>
sogo-mailcow-1       | Jan 26 05:13:14 e7d0c4231f83 </Collections>
sogo-mailcow-1       | Jan 26 05:13:14 e7d0c4231f83 syslog-ng[8]: Error processing log message: </Sync>
sogo-mailcow-1       |
sogo-mailcow-1       | Go/Microsoft-Server-ActiveSync?User=<My Email>&DeviceId=<device id>&DeviceType=iPad&Cmd=Sync HTTP/1.0" 200 99/116 0.109 - - 24K - 12
sogo-mailcow-1       |  - 12
sogo-mailcow-1       | -01-26T13:02:54.000Z</DateReceived>
sogo-mailcow-1       |       <Importance xmlns="Email:">1</Importance>
sogo-mailcow-1       |       <Read xmlns="Email:">0</Read>
sogo-mailcow-1       |       <MessageClass xmlns="Email:">IPM.Note</MessageClass>
sogo-mailcow-1       |       <ContentClass xmlns="Email:">urn:content-classes:message</ContentClass>
sogo-mailcow-1       |       <Reply-To xmlns="Email:"><Sender Name> &lt;<Sender Email>&gt;</Reply-To>
sogo-mailcow-1       |       <InternetCPID xmlns="Email:">65001</InternetCPID>
sogo-mailcow-1       |       <Body xmlns="AirSyncBase:">
sogo-mailcow-1       |        <Type>1</Type>
sogo-mailcow-1       |        <Truncated>0</Truncated>
sogo-mailcow-1       |        <Preview/>
sogo-mailcow-1       |        <Data>------------- REDACTED EMAIL CONTENT -------------------

@Brend4n
Copy link

Brend4n commented Jan 26, 2024

Interestingly, when I restart Nginx or sogo container it stops occurring for now. I am, however, running mailcow behind nginx with the configuration mentioned here.
https://docs.mailcow.email/post_installation/reverse-proxy/r_p-nginx/

Does this have any leads?

@andi0b
Copy link

andi0b commented Jan 27, 2024

@Brend4n this looks like one broken message to me. did you try to delete this specific message? No idea though what is happening there.

@Brend4n
Copy link

Brend4n commented Jan 27, 2024

@Brend4n this looks like one broken message to me. did you try to delete this specific message? No idea though what is happening there.

Well, I mean the error for the specific message disappears until the bug appears again with another message. That being said, it's clearly an issue somewhere if specific messages can somehow cause things to break.

@andi0b
Copy link

andi0b commented Jan 28, 2024

Yes, there is something wrong for sure, maybe more than one thing. But I think so far nobody did a writeup of the issues here and reported them to sogo.

@53c70r
Copy link
Author

53c70r commented Feb 14, 2024

https://bugs.sogo.nu/view.php?id=5872

Well we did but no further response so far.
@andi0b

@Brend4n
Copy link

Brend4n commented Feb 20, 2024

Interestingly, when I restart Nginx or sogo container it stops occurring for now. I am, however, running mailcow behind nginx with the configuration mentioned here. https://docs.mailcow.email/post_installation/reverse-proxy/r_p-nginx/

Does this have any leads?

Interesting, the last few times it has happened, restarting nginx didn't fix it however stopping nginx for a few seconds and then starting it again will "fix" it temporarily. I believe stopping nginx somehow causes it to terminate whatever loop it's stuck in.

@53c70r
Copy link
Author

53c70r commented Feb 21, 2024

Interestingly, when I restart Nginx or sogo container it stops occurring for now. I am, however, running mailcow behind nginx with the configuration mentioned here. https://docs.mailcow.email/post_installation/reverse-proxy/r_p-nginx/
Does this have any leads?

Interesting, the last few times it has happened, restarting nginx didn't fix it however stopping nginx for a few seconds and then starting it again will "fix" it temporarily. I believe stopping nginx somehow causes it to terminate whatever loop it's stuck in.

It will occur after some time again, I noticed that behavior too sadly that is not a fix.

@ggiraudon
Copy link

Reporting the same issue on my installation. Running 2024-01e.
Active Sync client seems to enter some kind of a loop and spams Sogo continously.

@milkmaker
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@milkmaker milkmaker added the stale Please update the issue with current status, unclear if it's still open/needed. label May 5, 2024
@53c70r
Copy link
Author

53c70r commented May 6, 2024

If someone wants to participate in our little conversation I would appreciate.

@milkmaker milkmaker removed the stale Please update the issue with current status, unclear if it's still open/needed. label May 6, 2024
@milkmaker
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@milkmaker milkmaker added the stale Please update the issue with current status, unclear if it's still open/needed. label Jul 5, 2024
@53c70r
Copy link
Author

53c70r commented Jul 8, 2024

Nothing is staled, problem still persists.

@milkmaker milkmaker removed the stale Please update the issue with current status, unclear if it's still open/needed. label Jul 8, 2024
@esackbauer
Copy link

esackbauer commented Jul 8, 2024

Nothing is staled, problem still persists.

This is a SOGo problem, not mailcow. Please keep discussing at the SOGo issue you mentioned.

@milkmaker
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@milkmaker milkmaker added the stale Please update the issue with current status, unclear if it's still open/needed. label Sep 6, 2024
@djw-bsn
Copy link

djw-bsn commented Sep 9, 2024

Not stale. This is still an issue for us. Does anyone know how to contribute to the discussion on the SOGo ticket?

@milkmaker milkmaker removed the stale Please update the issue with current status, unclear if it's still open/needed. label Sep 9, 2024
@milkmaker
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@milkmaker milkmaker added the stale Please update the issue with current status, unclear if it's still open/needed. label Nov 8, 2024
@milkmaker milkmaker closed this as not planned Won't fix, can't repro, duplicate, stale Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug stale Please update the issue with current status, unclear if it's still open/needed.
Projects
None yet
Development

No branches or pull requests