diff --git a/server-ce/docker-compose.yml b/server-ce/docker-compose.yml index 0d7c80f70a..58240a5687 100644 --- a/server-ce/docker-compose.yml +++ b/server-ce/docker-compose.yml @@ -69,6 +69,8 @@ services: # SHARELATEX_EMAIL_SMTP_PASS: # SHARELATEX_EMAIL_SMTP_TLS_REJECT_UNAUTH: true # SHARELATEX_EMAIL_SMTP_IGNORE_TLS: false + # SHARELATEX_EMAIL_SMTP_NAME: '127.0.0.1' + # SHARELATEX_EMAIL_SMTP_LOGGER: true # SHARELATEX_CUSTOM_EMAIL_FOOTER: "This system is run by department x" ################ diff --git a/server-ce/settings.coffee b/server-ce/settings.coffee index 91d07430a5..387532269a 100644 --- a/server-ce/settings.coffee +++ b/server-ce/settings.coffee @@ -285,6 +285,8 @@ if process.env["SHARELATEX_EMAIL_FROM_ADDRESS"]? port: process.env["SHARELATEX_EMAIL_SMTP_PORT"], secure: parse(process.env["SHARELATEX_EMAIL_SMTP_SECURE"]) ignoreTLS: parse(process.env["SHARELATEX_EMAIL_SMTP_IGNORE_TLS"]) + name: process.env["SHARELATEX_EMAIL_SMTP_NAME"] + logger: process.env["SHARELATEX_EMAIL_SMTP_LOGGER"] == 'true' textEncoding: process.env["SHARELATEX_EMAIL_TEXT_ENCODING"] template: