SIGN IN SIGN UP

[MM-70642] Add Global Relay SenderAddress config setting (#38451)

* [MM-70642] Add Global Relay SenderAddress config setting

Add an optional SenderAddress to GlobalRelayMessageExportSettings so
compliance exports can use a fixed From / SMTP envelope sender for
Proofpoint and Cloud relay verification. Empty keeps today's
participant-derived From. Includes System Console UI, validation,
docs, and tests.

Co-authored-by: Joram Wilander <joram@mattermost.com>

* [MM-70642] Validate SenderAddress with IsValidEmail

Use model.IsValidEmail for GlobalRelaySettings.SenderAddress instead of
a substring "@" check, and cover malformed addresses in unit tests.

Co-authored-by: Joram Wilander <joram@mattermost.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
J
Joram Wilander committed
69f0f2c22cfb346566bc02ad67347bd65a7cabdf
Parent: 5de31f8
Committed by GitHub <noreply@github.com> on 9/14/2026, 7:49:35 PM