@R0N It appears that cakephp uses ‘false’ for default value.
This user had to change to null in the old version to make it work.
I’m not clear why it does not work with the environment variable but it must be catching that the variable is set, rather than checking it’s true.
Do other variables in /env/passbolt.env
work? If not, maybe docker-compose.yml should have ./env/passbolt.env
instead of env/passbolt.env
.
Instead of commenting out the cakephp source code, try changing the passbolt config file line of tls from:
'tls' => env('EMAIL_TRANSPORT_DEFAULT_TLS', null),
to:
'tls' => filter_var(env('EMAIL_TRANSPORT_DEFAULT_TLS', false), FILTER_VALIDATE_BOOLEAN),
and also remove this variable from the passbolt.env file, and see if that works.