SMTP
Configure StartOS with third-party SMTP credentials so that services like NextCloud, Vaultwarden, and Gitea can send email notifications. SMTP is configured under System > SMTP.
Warning
This guide is not for using StartOS as an email server. It is for granting StartOS the simple ability to send emails through a 3rd party SMTP server.
Getting SMTP Credentials
The guides below are for using Gmail, Amazon SES, or Proton Mail for SMTP, but you may also use another third party provider of your choice.
-
Access your Google 2-step verification settings: https://myaccount.google.com/signinoptions/two-step-verification.
-
Enable 2-Step verification if not already.
-
Go to the App Passwords page: https://myaccount.google.com/apppasswords. Google no longer links to it from the 2-Step Verification page, so navigate there directly.
-
Choose a name for the new App Password. You may call it anything, such as “SMTP”, then click “Create”.
-
A random 16-character password will be created and shown to you. This is your app password. Save it somewhere secure, such as your Vaultwarden password manager, then click “Done”.
-
In StartOS, go to System > SMTP, select Gmail as the provider, and enter the values below. Choosing Gmail pre-fills the host and defaults to TLS on port 465.
Parameter Value Host smtp.gmail.com Connection Security TLS Port 465 From Address your-username@gmail.com Username your-username@gmail.com Password your App Password (from above) Note
Selecting Gmail pre-fills and locks the Host, and choosing TLS locks the Port at 465. To use STARTTLS instead, set Connection Security to STARTTLS and the Port becomes 587. The From Address may optionally include a display name, e.g.
Your Name <your-username@gmail.com>.
Configuring StartOS
-
Navigate to
System > SMTP -
Enter your SMTP credentials and hit “Save”.
-
On the same page, send yourself a test email. Remember to check your spam folder. If the email goes to spam, mark it as not spam.
-
For each service you want to use the credentials to send emails, go to the dashboard of that service, click “Actions”, and locate the relevant action.