Content
Email Notification - SSL port 465
Added by Enrico Paramucchi over 5 years ago
Hello,
I have upgraded OpenProject from version 5 to 7 on an Ubuntu 16.04 Server.
Since the upgrade, I’m unable to send outgoing email through SMTP: “An error occurred while sending mail (Net::ReadTimeout)”.
Before the upgrade, everything was working fine.
My provider for email services (aruba) requires smtps using ssl with port 465.
Any suggestion on how to fix the issue?
Many thanks,
E.
Replies (4)
Hi,
You can try to setup your SMTP using environment variables.
I have the same problem as you on a fresh install with Docker if I set up the mail in the admin UI.
If I set up SMTP using environment variable I get :
Connection refused - connect(2) for "localhost" port 465
So… not that good but my second error might be Docker related, so you might get lucky…
Hi,
I’m having the exat same issue on a fresh install from packages on a Ubuntu 16.04.03 server.
I’ve tried changing config.yaml with ssl=true or smtp_ssl=true, but I keep getting the same error.
My mail provider requires ssl authentication, and I can connect via telnet to port 465 so no connection issues.
For the moment I have an gmail account working, but I rather use my smtp domain account.
Any help is greatly appreciated.
Hi,
I did not manage to setup my own domain mail so I ended up creating an account on Sengrid as suggested on some official wiki page.
It works like a charm but I would also prefer my own domain…
In case it’s of any use to someone, here is the environment variable setup I used (in a docker-compose.yml)
@ - EMAIL_DELIVERY_METHOD=smtp
- SMTP_ADDRESS=smtp.sendgrid.net
- SMTP_PORT=587
- SMTP_DOMAIN=elocus.fr
- SMTP_AUTHENTICATION=login
- SMTP_ENABLE_STARTTLS_AUTO=true
- SMTP_USER_NAME=“apikey”
- SMTP_PASSWORD=“secret”
@
Hello
It seems still to be an issue to send on port 465 getting the error (An error occurred while sending mail (Net::ReadTimeout)) . I am running OP 7.3.1 on a Docker installation (docker image installed from an Univention server).
If I use port 587 with ext SSL/TLS I can send without any problems (with all SMTP authentication options: plain, login, cram_md5). But it would be nice to use port 465 as we want to swith off port 587, as all our other mail clients now use port 465.
Many thanks for any hint and best regards,
relume