Observed the following error on active sync and somehow it makes retrieving mail bodies on IPhone very slow.
==> nginx-access.log <==
cli.ent.ipa.ddr - user@domain [23/Jan/2025:11:32:04 +0100] "POST /Microsoft-Server-ActiveSync?User=user@domain&DeviceId=ReplacedDeviceID&DeviceType=iPhone&Cmd=Ping HTTP/2.0" 200 25 "-" "Apple-iPhone13C1/2202.91"
==> nginx-sync-error.log <==
2025/01/23 11:32:05 [error] 2030#2030: *695 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: mapi_getprops(): Argument #1 ($any) must be of type resource, bool given in /usr/share/php-mapi/class.meetingrequest.php:1982
Stack trace:
#0 /usr/share/php-mapi/class.meetingrequest.php(1982): mapi_getprops()
#1 /usr/share/php-mapi/class.meetingrequest.php(3875): Meetingrequest->openCustomUserStore()
#2 /usr/share/php-mapi/class.meetingrequest.php(3616): Meetingrequest->getDelegatorStore()
#3 /usr/share/php-mapi/class.meetingrequest.php(1690): Meetingrequest->getCorrespondentCalendarItem()
#4 /usr/share/grommunio-sync/lib/grommunio/mapiprovider.php(813): Meetingrequest->isLocalOrganiser()
#5 /usr/share/grommunio-sync/lib/grommunio/mapiprovider.php(67): MAPIProvider->getEmail()
#6 /usr/share/grommunio-sync/lib/grommunio/mapiphpwrapper.php(104): MAPIProvider->GetMessage()
#7 [internal function]: PHPWrapper->ImportMessageChange()
#8 /usr/share/grommunio-sync/lib/grommunio/exporter.php(307): mapi_exportchanges_synchronize()
#9 /usr/share/grommunio-sy" while reading response header from upstream, client: cli.ent.ipa.ddr, server: _, request: "POST /Microsoft-Server-ActiveSync?User=user@domain&DeviceId=ReplacedDeviceID&DeviceType=iPhone&Cmd=Sync HTTP/2.0", upstream: "fastcgi://unix:/run/php-fpm/php-grommunio-sync-fpm.sock:", host: "webmail.domain"