From e6d30b490f9c7dc0800a88462295b860d0084f59 Mon Sep 17 00:00:00 2001 From: Raphael Nestler Date: Tue, 28 Nov 2023 14:40:02 +0100 Subject: [PATCH] Mention minimal SMTP configuration in README.md Looking at https://github.com/nextcloud/docker/blob/d1dbc77e0b5e851105cf8606942e74b7d21fe682/.config/smtp.config.php it is clear that `SMTP_HOST`, `MAIL_FROM_ADDRESS` and `MAIL_DOMAIN` must be set. --- nextcloud/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nextcloud/README.md b/nextcloud/README.md index 4cfdd7155ce55..f6916f5dbe4c5 100644 --- a/nextcloud/README.md +++ b/nextcloud/README.md @@ -228,6 +228,8 @@ To use an external SMTP server, you have to provide the connection details. To c - `MAIL_FROM_ADDRESS` (not set by default): Use this address for the 'from' field in the emails sent by Nextcloud. - `MAIL_DOMAIN` (not set by default): Set a different domain for the emails than the domain where Nextcloud is installed. +At least `SMTP_HOST`, `MAIL_FROM_ADDRESS` and `MAIL_DOMAIN` must be set for the configurations to be applied. + Check the [Nextcloud documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/email_configuration.html) for other values to configure SMTP. To use an external S3 compatible object store as primary storage, set the following variables: