Hello Andreas,
Thanks for your reply.
I have already rebooted my Android phone and it made no difference to the results I see. I have no problems composing emails using the Web interface, even from the Android phone. They appear in the Sent folder as expected. However, when I send an email from Gmail on my Android phone, I see this in /var/log/nginx/nginx-sync-access.log:
192.168.249.71 - chris.tucker [23/Jul/2024:21:39:42 +0100] "POST /Microsoft-Server-ActiveSync?Cmd=Ping&User=chris.tucker&DeviceId=androidc2047707495&DeviceType=Android HTTP/1.1" 499 0 "-" "Android-Mail/2024.07.07.653075272.Release"
192.168.249.71 - chris.tucker [23/Jul/2024:21:39:43 +0100] "POST /Microsoft-Server-ActiveSync?Cmd=SendMail&User=chris.tucker&DeviceId=androidc2047707495&DeviceType=Android HTTP/1.1" 200 15 "-" "Android-Mail/2024.07.07.653075272.Release"
192.168.249.71 - chris.tucker [23/Jul/2024:21:39:43 +0100] "POST /Microsoft-Server-ActiveSync?Cmd=Ping&User=chris.tucker&DeviceId=androidc2047707495&DeviceType=Android HTTP/1.1" 499 0 "-" "Android-Mail/2024.07.07.653075272.Release"
192.168.249.71 - chris.tucker [23/Jul/2024:21:39:45 +0100] "POST /Microsoft-Server-ActiveSync?Cmd=Ping&User=chris.tucker&DeviceId=androidc2047707495&DeviceType=Android HTTP/1.1" 499 0 "-" "Android-Mail/2024.07.07.653075272.Release"
192.168.249.71 - chris.tucker [23/Jul/2024:21:39:45 +0100] "POST /Microsoft-Server-ActiveSync?Cmd=Ping&User=chris.tucker&DeviceId=androidc2047707495&DeviceType=Android HTTP/1.1" 499 0 "-" "Android-Mail/2024.07.07.653075272.Release"
This is similar to your example entry, but I see "200 15" as the result for Cmd=SendMail, not "200 0". The email sits in the Gmail Outbox, showing a status of "Failed". Meanwhile, I see these entries in /var/log/grommunio-sync/grommunio-sync-error.log:
23/07/2024 22:50:04 [ 1460] [ WARN] [chris.tucker] /usr/share/grommunio-sync/lib/core/sharedfolders.php:32 Trying to access array offset on value of type bool (2)
23/07/2024 22:50:04 [ 1462] [ WARN] [chris.tucker] /usr/share/grommunio-sync/lib/core/sharedfolders.php:32 Trying to access array offset on value of type bool (2)
23/07/2024 22:50:04 [ 1463] [ WARN] [chris.tucker] /usr/share/grommunio-sync/lib/core/sharedfolders.php:32 Trying to access array offset on value of type bool (2)
23/07/2024 22:50:10 [ 1458] [ WARN] [chris.tucker] /usr/share/grommunio-sync/lib/core/sharedfolders.php:32 Trying to access array offset on value of type bool (2)
23/07/2024 22:50:10 [ 1464] [ WARN] [chris.tucker] /usr/share/grommunio-sync/lib/core/sharedfolders.php:32 Trying to access array offset on value of type bool (2)
However, I see these WARN messages whenever I send any email, so I don't think they are directly related to my problem with Gmail.
Just to be clear, all other synchronisation (including emails composed on other devices using the Web interface) works successfully on the Android phone, it's just composing emails on the phone which fails.
Can you suggest anything else I might try, please?