Checklist
I have read intro post: About the Installation Issues category
I have read the tutorials, help and searched for similar issues
I provide relevant information about my server (component names and versions, etc.)
I provide a copy of my logs and healthcheck
I describe the steps I have taken to trouble shoot the problem
I describe the steps on how to reproduce the issue
After the initial issues with the main setup & installation, I went through the healthcheck and setup wizard.
Once I got to the âchecking statusâ page (last before completion) the website refreshed and asked me to provide my email address to verify.
Itâs not sending any emails and when I ran a test email using the CLI, I get the following error:
I have double checked, and confirmed with my SMTP host that the credentials are correct. What could be the issue?
The problem is between your passbolt server and the SMTP server. If you get a timeout, it means there is a firewall somewhere who is blocking the request.
Iâm using a cloud flare tunnel to do the domain side of things as my Virgin broadband router wonât allow port forwarding and I donât control what router we use as i live in rented accommodation and Iâm not the landlord.
Iâm pretty sure your issue is maybe this Virgin broadband router who blocks port 465/TCP.
I have this exact same issue. Passbolt passes all healthchecks but does not send emails (SMTP Timeout). I have another app running on same server with same smtp credentials and settings that is able to send emails.
The non-TLS version works fine though.
Port 465 is a deprecated standard for SMTP, while many providers still do support 465 for SMTP, itâs no longer an accepted standard, as it is mentionned here
Please, if you have any other issues feel free to create a new thread, thanks.
Hello
I have a similar problem with the installation. I have tried different smtp servers and ports. It didnât work out. 2FA is set up
Email could not be sent: stream_socket_client(): Unable to connect to tcp://smtp.gmail.com:587 (Connection timed out)
Debian 12
Sorry to necro the thread, but itâs what first showed up on Google and I feel like this absolutely needs to be said:
Honestly, this is misleading.
Port 465 is technically newer and should be the preferred SMTP port as TLS use on this port is implicit. The reasons behind IANAâs registration and de-registration (and subsequent re-registration of the port back in 2018) are complicated, and less related to itâs use as a submissions port, and more to itâs original intended use as a TLS-protected MX port (a use which, unlike submissions, did not take off partly because of the way MX has been historically designed).
587 where the initial connection is established over TCP and only later TLS is used with STARTTLS only ever was a workaround to allow mail servers to support older clients with no TLS support, and newer clients with TLS support at the same time.
Regardless of port numbers in use, itâs disappointing to see Passbolt not supporting the implicit TLS SMTPS protocol, and only working with no-TLS or STARTTLS ports.