macOS Big Sur (11.2.3) does not synchronise contacts using the Contacts.app and SOGo. The source has been identified by the SOGo team:
https://www.sogo.nu/bugs/view.php?id=5203
Fix release is set for version 5.1. Mailcow using 5.0. As a stopgap I implemented a User-Agent header overwrite as suggested in the issue mentioned above. This is done using 2 changes in the mailcow-nginx container.
First, edit /etc/nginx/conf.d/site.conf and add:
map $http_x_forwarded_proto $client_req_scheme {
default $scheme;
https https;
}
Second, add the line below to the /SOGo location (location ^~ /SOGo) in /etc/nginx/conf.d/includes/site-defaults.conf to apply the mapping:
proxy_set_header User-Agent $user_agent;
After this. Restart container and macOS 11 clients are served the same content as Catalina clients and are able to synchronise contacts again.
Does anyone know if 5.1 is getting close inclusion in MailCow? Or can this stopgap be included in MailCow for the tie being? Or is there a better way to add this stopgap and MailCow instance without changing a container (which will be overwritten)?