Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow sending mail to unencrypted connection when deploying the example configuration #11

Open
natemago opened this issue Dec 7, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@natemago
Copy link

natemago commented Dec 7, 2018

Currently we're getting errors in the log of microservice-mail:

microkubes_microservice-mail.1.uchrwz32tex9@pavle-lx    | 2018/12/07 13:08:03 Failed to send mail to [email protected]: unencrypted connection

The example setup of Microkubes ships with integrated dummy mail server (Mailhog). Mailhog is configured to listen on plain HTTP (unencypted connection), but microservice-mail is not configured to send to unencrypted servers. This ENV variable should be configured:
export ALLOW_UNENCRYPTED_CONNECTION=true

to allow sending the emails over plain text for the dummy mail server.

@natemago natemago added the bug Something isn't working label Dec 7, 2018
@natemago
Copy link
Author

natemago commented Dec 7, 2018

Current workaround:

Add the env variable explicitly after you've deployed the setup.

For docker swarm:

docker service update --env-add "ALLOW_UNENCRYPTED_CONNECTION=true" microkubes_microservice-mail

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant