Checklist
[x] I have read intro post: About the Installation Issues category
[x] I have read the tutorials, help and searched for similar issues
[x] I provide relevant information about my server (component names and versions, etc.)
[x] I provide a copy of my logs and healthcheck
[x] I describe the steps I have taken to trouble shoot the problem
[x] I describe the steps on how to reproduce the issue
I’ve setup a new docker-compose.yml to test things out on and the program works fine, but doesn’t send emails.
using the command:
> $ docker-compose exec passbolt bin/cake passbolt send_test_email
Debug email shell
---------------------------------------------------------------
Email configuration
---------------------------------------------------------------
Host: mail
Port: 1025
Username:
Password: *********
TLS: true
Sending email from: you@localhost
Sending email to: doesnotexist@passboltdummydomain.com
---------------------------------------------------------------
Trace
[220] EventMachine SMTP Server
> EHLO localhost
[250] Ok EventMachine SMTP Server
[250] NO-SOLICITING
[250] SIZE 20000000
A test email could not be sent.
Error: SMTP server did not accept the connection or trying to connect to non TLS SMTP server using TLS.
In my docker-compose.config environment I have:
EMAIL_TRANSPORT_DEFAULT_TLS: "false"
And when I check the environment inside the container I can see it’s set to false:
> $ docker-compose exec passbolt printenv
EMAIL_TRANSPORT_DEFAULT_HOST=mail
EMAIL_TRANSPORT_DEFAULT_PORT=1025
EMAIL_TRANSPORT_DEFAULT_TLS=false
But it always seems to ignore it and tries with TLS
Any light you could shed on this is appreciated.