SMTP environment variables not working if set inside plausible-conf.env
#3299
-
Using the docker image As described in the docs, I've been using the following env vars for setting up my SMTP server:
Setting the configuration that way results in no email being sent (tested with inviting people). When I am removing all of the above again and setting the following onto the
Anything I am missing here or is something with the translation from the plausible environment variables to the bytemark smtp configuration broken? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
From what I gathered If my understanding is correct your settings do not work because you are trying to use SSL/TLS over a connection that supports STARTTLS only. Have you tried setting |
Beta Was this translation helpful? Give feedback.
-
@puresick: |
Beta Was this translation helpful? Give feedback.
-
Sorry for the late reply, had a busy week. Yes, based on your answer it worked! Thank you very much for your help. 🥳 |
Beta Was this translation helpful? Give feedback.
From what I gathered
SMTP_HOST_SSL_ENABLED
meansSSL/TLS
only, no STARTTLS. I have tried settingSMTP_HOST_PORT=587
andSMTP_HOST_SSL_ENABLED=false
aswell asSMTP_HOST_PORT=465
andSMTP_HOST_SSL_ENABLED=false
- both are working for me and sending mail over encrypted connections.If my understanding is correct your settings do not work because you are trying to use SSL/TLS over a connection that supports STARTTLS only. Have you tried setting
SMTP_HOST_SSL_ENABLED=false
?