Hi
I set up the mailer for our gitea platform and everything works fine.
The smt mailer is setup with:
FROM = test@example.com
The only issue I have is that when, for example, I add a comment to an issue, everybody watching receives an email from:
My Name test@example.com
I would prefer that the email sender name is either something else or hat it uses my email address instead of the static one from the mailer.
Is there something I can change in the configuration?
We are using Gitea to cooperate on a shared project, and recently gmail started flagging the emails sent by Gitea as being potential spoofed emails because the name in the from-line does not accord to the email address that Gitea is using when sending the emails.
thank you for the fast response. The setting you mention works as expected when you send a ātest emailā from the āadmin/configurationā web page. It does however not work when a user adds a comment to a ticket. Then the name of the user is filled into the āfromā field.
Is there a way to avoid that Gitea inserts the āFirstname Lastnameā when creating an email?
As stated above, the current behaviour is causing the Google Workspace spoofing attempt detector to raise alerts because the Firstname Lastname does not correspond to the mail address that Gitea is configured to use in the āfromā line of the email header.
Such alert raised by Google looks like this:
This Gmail potential employee spoofing alert is to inform you that a sender has sent messages that may be spoofing the employee names in your domain.
The alert details include:
Summary: Firstname Lastname <noreply@my-server-url.org> sent 1 messages that may be spoofing users with a similar display name in your domain. There were 1 recipients.
Date: dinsdag, 30 mei 2023 09:57:35 (UTC)
Actor: Firstname Lastname <noreply@my-server-url.org>
Total messages: 1
Received by: another-user@workdomain.org
Severity: MEDIUM