Connect to dovecot IMAP server fails with SSL alert

You could try to add the following line to your config.php:

'app.mail.verify-tls-peer' => false,

See here: https://github.com/nextcloud/mail/blob/main/doc/admin.md#disable-tls-verification-for-imapsmtp

1 Like