From d296bbcf411547940714e122839463bf7fa74fc6 Mon Sep 17 00:00:00 2001 From: lapineige Date: Sun, 21 Jan 2024 16:17:20 +0100 Subject: [PATCH] proper mail config --- conf/.env | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/conf/.env b/conf/.env index 203b99c..0c1fcbd 100644 --- a/conf/.env +++ b/conf/.env @@ -10,8 +10,6 @@ HOSTNAME=__DOMAIN__ SERVER_PORT=__PORT__ # port your visitors will access (typically 80 or 443, will be different than SERVER_PORT only if using a reverse proxy) PUBLIC_PORT=443 -# what service to use for sending out emails (eg. smtp, mailgun, none) NOTE: you should also set the corresponding keys in secrets section -MAIL_BACKEND=smtp # hostname and port of meili search index SEARCH_MEILI_INSTANCE=http://localhost:7700 # require an email address to be invited before being able to sign up @@ -48,12 +46,13 @@ POSTGRES_PASSWORD=__DB_PWD__ # password for the search index MEILI_MASTER_KEY=__MEILI_MASTER_KEY__ -## TODO -# email deliverym if you use mailgun.com, edit with your domain and API key +# what service to use for sending out emails (eg. smtp, mailgun, none) NOTE: you should also set the corresponding keys in secrets section +MAIL_BACKEND=smtp MAIL_DOMAIN=__DOMAIN__ -MAIL_USERNAME=__APP__ -MAIL_KEY=__MAIL_PWD__ -MAIL_FROM=__APP__@__DOMAIN__ +MAIL_PASSWORD=__MAIL_PWD__ +MAIL_USER=__APP__ +MAIL_SERVER=__DOMAIN__ +MAIL_PORT=587 # TODO : Configure S3 - with proper Yunohost question during installation # Uploads