Content
Can't send mail - hostname "SERVER_ADDRESS" does not match the server certificate
Added by Damian Kraków over 7 years ago
Hi
I’m using OpenProject via Docker and from some time I can’t send email - in previous version (about 6.1) it works.
Currently I use 6.1.5 and I can’t go back beacuse I’ve got error (I think, that database has been updated).
Params which I start docker (MY_DOMAIN is my domain ;) ):
docker run -d -e EMAIL_DELIVERY_METHOD=smtp -e SMTP_ADDRESS=mail.MY_DOMAIN -e SMTP_PORT=587 -e SMTP_DOMAIN=MY_DOMAIN -e SMTP_AUTHENTICATION=login -e SMTP_ENABLE_STARTTLS_AUTO=true -e SMTP_USER_NAME="openproject
MY_DOMAIN" -e SMTP_PASSWORD=“PASSWORD_TO_MAIL” -e SMTP_OPENSSL_VERIFY_MODE=none -p 9090:80 —name openproject -e SECRET_KEY_BASE=secret -v /openproject/pgdata:/var/lib/postgresql/9.4/main -v /openproject/logs:/var/log/supervisor -v /openproject/static:/var/db/openproject openproject/community@
I can login on email account so I think, that is not a problem.