mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-01-16 20:50:33 +00:00
remove less-then and greater-then signs from config values to prevent issues
@@ -2,12 +2,12 @@ You can configure vaultwarden to send emails via a SMTP agent:
|
||||
|
||||
```sh
|
||||
docker run -d --name vaultwarden \
|
||||
-e SMTP_HOST=<smtp.domain.tld> \
|
||||
-e SMTP_FROM=<vaultwarden@domain.tld> \
|
||||
-e SMTP_HOST=smtp.domain.tld \
|
||||
-e SMTP_FROM=vaultwarden@domain.tld \
|
||||
-e SMTP_PORT=587 \
|
||||
-e SMTP_SECURITY=starttls \
|
||||
-e SMTP_USERNAME=<username> \
|
||||
-e SMTP_PASSWORD=<password> \
|
||||
-e SMTP_USERNAME=myusername \
|
||||
-e SMTP_PASSWORD=MyPassw0rd \
|
||||
-v /vw-data/:/data/ \
|
||||
-p 80:80 \
|
||||
vaultwarden/server:latest
|
||||
@@ -78,26 +78,26 @@ In the end you well be shown a password (with spaces in between which are not th
|
||||
> [!NOTE]
|
||||
If that is not possible (because of your security settings), you can see [the section below about OAuth2 support](#oauth2-support) for more information.
|
||||
|
||||
StartTLS:
|
||||
```ini
|
||||
# Domains: gmail.com, googlemail.com
|
||||
SMTP_HOST=smtp.gmail.com
|
||||
SMTP_PORT=587
|
||||
SMTP_SECURITY=starttls
|
||||
SMTP_FROM=<mail-address>
|
||||
SMTP_USERNAME=<mail-address>
|
||||
SMTP_PASSWORD=<less-secure-app-password>
|
||||
```
|
||||
|
||||
FullSSL:
|
||||
```ini
|
||||
# Domains: gmail.com, googlemail.com
|
||||
SMTP_HOST=smtp.gmail.com
|
||||
SMTP_PORT=465
|
||||
SMTP_SECURITY=force_tls
|
||||
SMTP_FROM=<mail-address>
|
||||
SMTP_USERNAME=<mail-address>
|
||||
SMTP_PASSWORD=<less-secure-app-password>
|
||||
SMTP_FROM=user@gmail.tld
|
||||
SMTP_USERNAME=user@gmail.tld
|
||||
SMTP_PASSWORD=Less-Secure-App-Passw0rd
|
||||
```
|
||||
|
||||
StartTLS:
|
||||
```ini
|
||||
# Domains: gmail.com, googlemail.com
|
||||
SMTP_HOST=smtp.gmail.com
|
||||
SMTP_PORT=587
|
||||
SMTP_SECURITY=starttls
|
||||
SMTP_FROM=user@gmail.tld
|
||||
SMTP_USERNAME=user@gmail.tld
|
||||
SMTP_PASSWORD=Less-Secure-App-Passw0rd
|
||||
```
|
||||
|
||||
Also see: https://web.archive.org/web/20210925161633/https://webewizard.com/2019/09/17/Using-Lettre-With-Gmail/
|
||||
@@ -112,9 +112,9 @@ Due to Microsoft requiring OAuth2 support this will not work anymore. See [the t
|
||||
SMTP_HOST=smtp-mail.outlook.com
|
||||
SMTP_PORT=587
|
||||
SMTP_SECURITY=starttls
|
||||
SMTP_FROM=<mail-address>
|
||||
SMTP_USERNAME=<mail-address>
|
||||
SMTP_PASSWORD=<password>
|
||||
SMTP_FROM=user@hotmail.tld
|
||||
SMTP_USERNAME=user@hotmail.tld
|
||||
SMTP_PASSWORD=MyPassw0rd
|
||||
SMTP_AUTH_MECHANISM="Login"
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user