Problem with SSL for my email server

Hi !

I have a problem since I reinstalled my linux server.
When I configure my mail server, it says: “An error occurred while sending the email. Please check your settings (Error: Connection could not be established with host :stream_socket_client(): Unable to connect to ssl://url of mail server:465 (Connection timed out))”

However, this problem does not appear when I set encryption to “None”.

Do you have any idea if I have missed a configuration on my Ubuntu or Nextcloud?

*Sorry for my English, I use a translator :slight_smile:

Nextcloud version (eg, 20.0.5): 25.0.3
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04
Apache or nginx version (eg, Apache 2.4.25): 2.4
PHP version (eg, 7.4): 8.1

Is this the first time you’ve seen this error? (Y/N): Y

1 Like

Yes, Same here 25.0.4 25.0.2 work OK SMTP… now 25.04, it stopped sending email, and I get the same issues in this message.