Email Configuration

Link-Live Private will, by default, create an SMTP server container and send out emails, such as registration emails and result notification emails, on port 25. Ensure that your network allows for this. The start.sh script walks through these options.

Variable

Details

NODEMAILER_CUSTOM_SERVER

Set to true to use an external SMTP server.

When false, none of the other NODEMAILER environment variables will be used.

NODEMAILER_HOST

SMTP server hostname or IP

NODEMAILER_PORT

SMTP port, typically 25 or 465, based on your SMTP configuration

NODEMAILER_SECURE

Set to true for TLS. If set to false, TLS is not used, but the connection can still be upgraded to TLS via STARTTLS if the email server supports it.

NODEMAILER_TLS_REJECT_UNAUTHORIZED

Set to false if you'd like Link-Live Private to ignore the validity of the email server certificate. Defaults to true.

NODEMAILER_HTTP_PROXY

If you need Link-Live Private to establish a connection to the SMTP server via an HTTP proxy, set this environment variable to, for example, http://proxy-host:1234. Leave unset to not use a proxy.

NODEMAILER_LOGIN_AUTH_USER

If your SMTP server uses AUTH PLAIN, this variable is the username that a client can use to authenticate. Leave it blank if your server does not require authentication.

NODEMAILER_LOGIN_AUTH_PASSWORD

If your SMTP server uses AUTH PLAIN, this variable is the password that a client can use to authenticate. Leave it blank if your server does not require authentication.

Refer to Nodemailer's online documentation for more information.