Skip to content

STARTTLS for email and build pipelining #6

Description

@almereyda

What's this issue about?

When trying out the Docker release, one needs to provide email credentials, else the application fails.

Expected behavior

I can enter my SMTP credentials and the application connects.
This means MAILER_SMTP_SECURE is unset, which should result in Nodemailer connecting via TLS.

Actual behavior

Unfortunately the daemon responds with

tellform_1  | Your mail configuration is incorrect: Error: 140519285782336:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:../deps/openssl/openssl/ssl/s23_clnt.c:797:

Steps to reproduce

  1. Clone this repository
  2. Copy .env.dist to .env
  3. edit .env
    • completely remove the line comment and the space before at the end of the REDIS and MONGO URLs
    • remove the MAILER_SMTP_SECURE line
    • add valid SMTP credentials for a service only providing STARTTLS
  4. edit docker-compose.yml
    • add a ./.env:/opt/tellform/.env volume to the tellform service
  5. docker-compose up

Environment

It seems the tellform container is not up to date with the latest code

Building the tellform container automatically in Docker Hub from the tags in https://github.com/tellform/tellform/tags menas they should be used, and then an Automated Build created.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions