-
-
Notifications
You must be signed in to change notification settings - Fork 2k
feature request: allow sender spoofing for certain accounts #4042
Copy link
Copy link
Open
Labels
area/documentationarea/featureskind/improvementImprove an existing feature, configuration file or the documentationImprove an existing feature, configuration file or the documentationservice/postfixstale-bot/ignoreIndicates that this issue / PR shall not be closed by our stale-checking CIIndicates that this issue / PR shall not be closed by our stale-checking CI
Metadata
Metadata
Assignees
Labels
area/documentationarea/featureskind/improvementImprove an existing feature, configuration file or the documentationImprove an existing feature, configuration file or the documentationservice/postfixstale-bot/ignoreIndicates that this issue / PR shall not be closed by our stale-checking CIIndicates that this issue / PR shall not be closed by our stale-checking CI
Context
There are many cases where
SPOOF_PROTECTIONshould be enabled for some accounts, and not for others. For example, you may have standard user accounts where you want it enabled, however, there may be a system/application account which you'd like to be able to send as any address (for example, a single application which you want to allow sending asno-reply@foo.comandno-reply@bar.com, or other addresses likeorders@foo.com,invoices@foo.com, etc.).Description
I would like a way to selectively enable/disable spoofing per account. I understand that this is not likely something easily accomplished via environment variables, and adding dedicated setup scripts/etc would be a huge undertaking, but I would at least like to document a solution so others can easily implement this (here on GitHub or preferably on the web docs).
Mailu/Mailu#1096 (comment) seems like a similar issue.
Alternatives
Applicable Users
Administrators of software which sends emails on behalf of multiple system accounts.
Are you going to implement it?
Yes, because I know the probability of someone else doing it is low and I can learn from it.
What are you going to contribute?
I would appreciate some guidance, but hopefully a solution that can be documented for others running into the same issue.