From d24406f58ba42ae90868fdab3b4f2365934de1f4 Mon Sep 17 00:00:00 2001 From: Ivan Reshetnikov Date: Mon, 21 Oct 2024 20:51:19 +0500 Subject: [PATCH] Use tls in forgejo mailer --- roles/forgejo/templates/app.ini.j2 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/roles/forgejo/templates/app.ini.j2 b/roles/forgejo/templates/app.ini.j2 index 8f9a0c6..e8629dc 100644 --- a/roles/forgejo/templates/app.ini.j2 +++ b/roles/forgejo/templates/app.ini.j2 @@ -23,11 +23,10 @@ ROOT_PATH=/data/log [mailer] ENABLED=true -PASSWD={{ smtp_password }} -PROTOCOL=smtps SMTP_ADDR=comfycamp.space -SMTP_PORT=465 +SMTP_PORT=587 USER=forgejo@comfycamp.space +PASSWD={{ smtp_password }} [oauth2] JWT_SECRET={{ oauth2_jwt_secret }}