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
Hello,
I have a clean Ubuntu 22.04 VPS with Passbolt installed. But I can’t get the SMTP to work. VPS provider has meanwhile opened the mail ports and now I can telnet to SMTP from O365 from the console. But from Passbolt I keep getting a timeout. Tested with different SMTP providers.
root@passbolt:/etc/passbolt# sudo -H -u www-data bash -c "/usr/share/php/passbolt/bin/cake passbolt send_test_email --recipient=sha*****eel@******.be"
____ __ ____
/ __ \____ _____ ____/ /_ ____ / / /_
/ /_/ / __ `/ ___/ ___/ __ \/ __ \/ / __/
/ ____/ /_/ (__ |__ ) /_/ / /_/ / / /
/_/ \__,_/____/____/_.___/\____/_/\__/
Open source password manager for teams
-------------------------------------------------------------------------------
Debug email shell
-------------------------------------------------------------------------------
Email configuration
-------------------------------------------------------------------------------
Host: smtp.office365.com
Port: 587
Username: s*****el@xa****o.be
Password: *********
TLS: true
Sending email from: Xaco Passbolt Server <s***.***el@x****o.be>
Sending email to: s***el@x*****co.be
-------------------------------------------------------------------------------
Trace
Could not send the test email.
Error: stream_socket_client(): unable to connect to tcp://smtp.office365.com:587 (Connection timed out)
root@passbolt:~# telnet -b 66.150.66.114 smtp.office365.com 587
Trying 40.99.229.210...
Connected to PHX-efz.ms-acdc.office.com.
Escape character is '^]'.
220 PH8PR07CA0029.outlook.office365.com Microsoft ESMTP MAIL Service ready at Fri, 14 Jul 2023 19:40:50 +0000
Any advice?
Thanks!