From 3a7b5b629d59d2f75e330b73864f9df60bc050f0 Mon Sep 17 00:00:00 2001 From: Tagadda <36127788+Tagadda@users.noreply.github.com> Date: Wed, 19 Jul 2023 18:43:53 +0200 Subject: [PATCH] Use new mail mechanism --- conf/.env.production.sample | 8 +++++--- manifest.toml | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/conf/.env.production.sample b/conf/.env.production.sample index cea0831..7005b5d 100644 --- a/conf/.env.production.sample +++ b/conf/.env.production.sample @@ -57,9 +57,11 @@ VAPID_PUBLIC_KEY=__VAPID_PUBLIC_KEY__ # ------------ SMTP_SERVER=localhost SMTP_PORT=25 -SMTP_FROM_ADDRESS=__ADMIN_MAIL__ -SMTP_DELIVERY_METHOD=sendmail # delivery method can also be smtp -SMTP_AUTH_METHOD=none +SMTP_LOGIN=__APP__ +SMTP_PASSWORD=__MAIL_PWD__ +SMTP_FROM_ADDRESS=Mastodon <__APP__@__DOMAIN__> +SMTP_DELIVERY_METHOD=smtp +SMTP_AUTH_METHOD=plain SMTP_OPENSSL_VERIFY_MODE=none # Registrations diff --git a/manifest.toml b/manifest.toml index d536aeb..13d0eab 100644 --- a/manifest.toml +++ b/manifest.toml @@ -57,6 +57,7 @@ ram.runtime = "500M" autoupdate.strategy = "latest_github_release" [resources.system_user] + allow_email = true [resources.install_dir]