diff --git a/templates/environment.env.j2 b/templates/environment.env.j2 index d272ef0..baeacba 100644 --- a/templates/environment.env.j2 +++ b/templates/environment.env.j2 @@ -42,7 +42,7 @@ GITEA__service__DEFAULT_ENABLE_TIMETRACKING={{ gitea_vars.service.default_enable GITEA__mailer__ENABLED={{ gitea_vars.mailer.enabled }} {% endif %} {% if 'from' in gitea_vars['mailer'] %} -GITEA__mailer__FROM=git@{{ system.hostname }}.{{ system.domain }} +GITEA__mailer__FROM={{ gitea_vars.mailer.from }} {% endif %} {% if 'protocol' in gitea_vars['mailer'] %} GITEA__mailer__PROTOCOL={{ gitea_vars.mailer.protocol }}