configuration: Add smtp config values.

This commit is contained in:
Valentin Tolmer
2021-11-03 17:09:19 +09:00
committed by nitnelave
parent 350fdcdf9b
commit 18e3892e55
5 changed files with 71 additions and 5 deletions
+22
View File
@@ -66,3 +66,25 @@ database_url = "sqlite:///data/users.db?mode=rwc"
## each password.
## Randomly generated on first run if it doesn't exist.
key_file = "/data/private_key"
## Options to configure SMTP parameters, to send password reset emails.
## To set these options from environment variables, use the following format
## (example with "password"): LLDAP_SMTP_OPTIONS__PASSWORD
#[smtp_options]
## Whether to enabled password reset via email, from LLDAP.
#enable_password_reset=true
## The SMTP server.
#server="smtp.gmail.com"
## The SMTP port.
#port=587
## Whether to connect with TLS.
#tls_required=true
## The SMTP user, usually your email address.
#user="sender@gmail.com"
## The SMTP password.
#password="password"
## The header field, optional: how the sender appears in the email. The first
## is a free-form name, followed by an email between <>.
#from="LLDAP Admin <sender@gmail.com>"
## Same for reply-to, optional.
#reply_to="Do not reply <noreply@localhost>"