Skip to content

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

@natemago

Description

@natemago

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@example.com: 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions