From 32c4c6b87b780a55b3d4da705b962e380bc18ef4 Mon Sep 17 00:00:00 2001 From: Gleb Chesnokov Date: Thu, 12 Mar 2026 14:53:54 +0300 Subject: [PATCH] .github/workflows: Use valid sender address Set a static From header and envelope_from to the configured SMTP account to restore mail notifications. --- .github/workflows/mail_notification.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mail_notification.yml b/.github/workflows/mail_notification.yml index 0498e9d67..9b3696564 100644 --- a/.github/workflows/mail_notification.yml +++ b/.github/workflows/mail_notification.yml @@ -73,8 +73,9 @@ jobs: [${{steps.get_short_ref.outputs.short_ref}}] ${{steps.get_commit_message.outputs.commit_message}} # Required recipients' addresses: to: scst-svn@lists.sourceforge.net - # Required sender full name (address can be skipped): - from: ${{matrix.commit.committer.name}} + # Required sender (quote it because of '<' and '>'): + from: '"SCST GitHub" <${{ secrets.MAIL_SERVER_USERNAME }}>' + envelope_from: ${{ secrets.MAIL_SERVER_USERNAME }} # Optional whether this connection use TLS (default is true if server_port is 465) # secure: true