Either SMTP email on the docker image is bugged, or I’m doing something dumb. Vikunja looks great but without email it’s kinda useless for me…
My docker-compose.yml contains:
VIKUNJA_SERVICE_ENABLEEMAILREMINDERS: 1
VIKUNJA_MAILER_ENABLED: 1
VIKUNJA_MAILER_FORCESSL: 1
VIKUNJA_MAILER_HOST: smtp.gmail.com
VIKUNJA_MAILER_PORT: 465
VIKUNJA_MAILER_USERNAME: example@gmail.com
VIKUNJA_MAILER_PASSWORD: password
Then if I test it with: docker exec -it vikunja_api /app/vikunja/vikunja testmail example@gmail.com
It fails with:
2022-08-17T08:45:42.21885022Z: ERROR ▶ cmd/func10 002 Error sending test mail: dial failed: EOF
If I use a different SMTP host then I don’t get the error, but it hangs.
I’ve tried switching off forcessl and that doesn’t make a difference.
Any help would be appreciated!