aboutsummaryrefslogtreecommitdiff
path: root/.env.template
diff options
context:
space:
mode:
authorsoruh <[email protected]>2023-02-12 18:53:55 +0100
committersoruh <[email protected]>2023-02-12 18:54:59 +0100
commitb7c4316c778568d23cdd7e3922e03cf16a3fec18 (patch)
tree713a765bec670880ed7526daa15b162d04795f69 /.env.template
parent0c295d5e6e1c4e0e71c6c1d57be7430dca5bf568 (diff)
downloadvaultwarden-b7c4316c778568d23cdd7e3922e03cf16a3fec18.tar.gz
vaultwarden-b7c4316c778568d23cdd7e3922e03cf16a3fec18.zip
Add support for sendmail as a mail transport
Diffstat (limited to '.env.template')
-rw-r--r--.env.template7
1 files changed, 6 insertions, 1 deletions
diff --git a/.env.template b/.env.template
index 1b691298..d2eb768e 100644
--- a/.env.template
+++ b/.env.template
@@ -373,7 +373,7 @@
# ROCKET_WORKERS=10
# ROCKET_TLS={certs="/path/to/certs.pem",key="/path/to/key.pem"}
-## Mail specific settings, set SMTP_HOST and SMTP_FROM to enable the mail service.
+## Mail specific settings, set SMTP_FROM and either SMTP_HOST or USE_SENDMAIL to enable the mail service.
## To make sure the email links are pointing to the correct host, set the DOMAIN variable.
## Note: if SMTP_USERNAME is specified, SMTP_PASSWORD is mandatory
# SMTP_HOST=smtp.domain.tld
@@ -385,6 +385,11 @@
# SMTP_PASSWORD=password
# SMTP_TIMEOUT=15
+# Whether to send mail via the `sendmail` command
+# USE_SENDMAIL=false
+# Which sendmail command to use. The one found in the $PATH is used if not specified.
+# SENDMAIL_COMMAND="/path/to/sendmail"
+
## Defaults for SSL is "Plain" and "Login" and nothing for Non-SSL connections.
## Possible values: ["Plain", "Login", "Xoauth2"].
## Multiple options need to be separated by a comma ','.