I have the same or at least a similar problem with my installation. I have several Spark clients that stopped working with the server recently and all I can see in the logs is a “certificateTrust” error
Spark:
ERROR Th:6164 [10-07 08:17:11.962] [RSMMailAccountSyncerErrorHandler] - #MAILSYNCER(1) Error: Error Domain=MailCoreErrorDomain Code=4 "(null)"
TRACE Th:6164 [10-07 08:17:11.962] [RSMAccountSyncerSimpleOperation<RSMMailAccountSyncer, InnerConfigureIdleOperation>] - operation was cancelled
WARN Th:6164 [10-07 08:17:11.962] [CoreErrorNotificationObserver] - Received core error with code = 22 , domain = `RSMMessagesModelErrorDomain`, accountPk = 1
ERROR Th:6164 [10-07 08:17:11.963] [CoreErrorNotificationObserver] - certificateTrust error
Mailcow:
dovecot-mailcow_1 | Oct 7 09:32:22 7097ccce3257 dovecot: imap-login: Disconnected: Connection closed (no auth attempts in 0 secs): user=<>, rip=46.114.7.241, lip=172.28.1.250, TLS: Connection closed, TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
dovecot-mailcow_1 | Oct 7 09:32:23 7097ccce3257 dovecot: imap-login: Disconnected: Connection closed (no auth attempts in 0 secs): user=<>, rip=46.114.7.241, lip=172.28.1.250, TLS: Connection closed, TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
dovecot-mailcow_1 | Oct 7 09:32:24 7097ccce3257 dovecot: imap-login: Disconnected: Connection closed (no auth attempts in 0 secs): user=<>, rip=46.114.7.241, lip=172.28.1.250, TLS: Connection closed, TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
dovecot-mailcow_1 | Oct 7 09:32:25 7097ccce3257 dovecot: imap-login: Disconnected: Connection closed (no auth attempts in 1 secs): user=<>, rip=46.114.7.241, lip=172.28.1.250, TLS: Connection closed, TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
dovecot-mailcow_1 | Oct 7 09:32:25 7097ccce3257 dovecot: imap-login: Disconnected: Connection closed (no auth attempts in 0 secs): user=<>, rip=46.114.7.241, lip=172.28.1.250, TLS: Connection closed, TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
dovecot-mailcow_1 | Oct 7 09:32:26 7097ccce3257 dovecot: imap-login: Disconnected: Connection closed (no auth attempts in 1 secs): user=<>, rip=46.114.7.241, lip=172.28.1.250, TLS: Connection closed, TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
I only see the problem with Spark, so it is some compatibility issue with this combination of software.
- I updated Spark
- I updated Mailcow
- I recently added a Reverse DNS Entry for the IPv6 address the server has (due to outgoing mails being blocked by GMail)
- Forward DNS resolution is/was only set for IPv4 (I changed that a few minutes ago to try if that changes anything - I don’t expect it, though, because the clients are not connecting via IPv6)