Closed
Description
Feature Description
Mail notifications sent by Gitea (like info about being added to repo as collaborator, checked in v1.13) have nonempty envelope sender which may generate unnecessary bounces in case of delivery problems. Now address configured in
[mailer]
FROM = Name <[email protected]>
generates messages with
Return-Path: <[email protected]>
From: Name <[email protected]>
Consider setting empty envelope sender which is allowed i.e. for bounces to avoid loops
https://datatracker.ietf.org/doc/html/rfc5321#section-4.1.1.2
With empty envelope sender messages should contain
Return-Path: <>
From: Name <[email protected]>
Not sure but places to be modified are:
https://github.com/go-gitea/gitea/blob/main/services/mailer/mailer.go#L245
https://github.com/go-gitea/gitea/blob/main/services/mailer/mailer.go#L213
Screenshots
No response
Metadata
Metadata
Assignees
Labels
No labels