From 396f0d4aaaf8aa277d36d5bded9d450fc79049e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Thu, 30 Nov 2023 14:26:08 +0100 Subject: [PATCH] Use correct email to reply when we use other user for email than gitea we have this error: gomail: could not send email 1: failed to issue RCPT command: 553 5.7.1 : Sender address rejected: not owned by user gitea --- conf/app.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/app.ini b/conf/app.ini index 0cb1462..fb400e5 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -38,7 +38,7 @@ ENABLED = true SMTP_ADDR = __DOMAIN__ SMTP_PORT = 587 PROTOCOL = smtp+starttls -FROM = "Gitea" <__APP__-noreply@__DOMAIN__> +FROM = "Gitea" <__APP__@__DOMAIN__> USER = __APP__ PASSWD = __MAIL_PWD__ FORCE_TRUST_SERVER_CERT = true