THE_FRICKLER thanks for this, wasn't aware of this project, could be really useful, but see quite a bit of reading to do on this.
Another observation on the EWS module with Mac Mail.
When new emails arrive in Grommunio mailbox, if read on Gr Web, IOS, Android all other copies of mailbox are marked as read EXCEPT Mac Mail which leaves message showing as unread. However, reading message in Mac Mail correctly marks emails in the email clients as read.
The entries in the logs:-
Failed to process notification: _Map_base:
exmdb_client: protocol error connecting to [::1]:5000//var/lib/gromox/user/
exmdb_client: HX_inet_connect to [::1]:5000: Connection refused
only appear when trying to send a message and Mac Mail reports it has no outgoing SMTP server to send the mail through. The message then sits in the outbox and Mac Mail repeatedly attempts to send the email(s) - generating errors until the message is either deleted from the outbox or a valid Outgoing SMTP server is added to Mac Mail and selected as the outbound mail route. Deleting the message from the outbox that is causing the errors in the Grommunio Monitoring logs stops the error messages straight away.
Deleting emails from the Gr Web, IOS, Android clients all correctly delete the emails from the other device views, however, emails in Mac Mail are not deleted. Closing and opening Mac Mail client does not cause the messages to disappear, nor does 'Synchronise - Exchange' . A 'Rebuild' in Mac Mail will remove the 'deleted emails' but obviously takes significant time.
Hope this might help in the debugging process.
Mark