mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-24 02:39:21 -07:00
Removing the unavailable verbiage from Gmail app passwords, and added the required SMTP_FROM env var
@@ -72,7 +72,7 @@ By default the machine's hostname is used as the hostname in the HELO command. T
|
|||||||
|
|
||||||
### Google/Gmail
|
### Google/Gmail
|
||||||
You need to generate a App Password for Vaultwarden to work with Gmail.<br>
|
You need to generate a App Password for Vaultwarden to work with Gmail.<br>
|
||||||
Follow the steps here: https://support.google.com/accounts/answer/185833?hl=en&ref_topic=7189145 (unavailable since 5/30/2022)<br>
|
Follow the steps here: https://support.google.com/accounts/answer/185833?hl=en&ref_topic=7189145 <br>
|
||||||
In the end you well be shown a password (with spaces in between which are not there, it is just for easy type-over), use this password.<br>
|
In the end you well be shown a password (with spaces in between which are not there, it is just for easy type-over), use this password.<br>
|
||||||
|
|
||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
@@ -85,18 +85,12 @@ FullSSL:
|
|||||||
SMTP_HOST=smtp.gmail.com
|
SMTP_HOST=smtp.gmail.com
|
||||||
SMTP_PORT=465
|
SMTP_PORT=465
|
||||||
SMTP_SECURITY=force_tls
|
SMTP_SECURITY=force_tls
|
||||||
SMTP_USERNAME=<mail-address>
|
SMTP_FROM=<vaultwarden@domain.tld>
|
||||||
SMTP_PASSWORD=<less-secure-app-password>
|
SMTP_USERNAME=<mail-address-for-app-password>
|
||||||
```
|
|
||||||
StartTLS:
|
|
||||||
```ini
|
|
||||||
# Domains: gmail.com, googlemail.com
|
|
||||||
SMTP_HOST=smtp.gmail.com
|
|
||||||
SMTP_PORT=587
|
|
||||||
SMTP_SECURITY=starttls
|
|
||||||
SMTP_USERNAME=<mail-address>
|
|
||||||
SMTP_PASSWORD=<less-secure-app-password>
|
SMTP_PASSWORD=<less-secure-app-password>
|
||||||
```
|
```
|
||||||
|
StartTLS: change the `SMTP_PORT` to `587` and the `SMTP_SECURITY` to `starttls`
|
||||||
|
|
||||||
Also see: https://web.archive.org/web/20210925161633/https://webewizard.com/2019/09/17/Using-Lettre-With-Gmail/
|
Also see: https://web.archive.org/web/20210925161633/https://webewizard.com/2019/09/17/Using-Lettre-With-Gmail/
|
||||||
|
|
||||||
### Hotmail/Outlook/Office365
|
### Hotmail/Outlook/Office365
|
||||||
|
|||||||
Reference in New Issue
Block a user