feature request: allow sender spoofing for certain accounts

Offen
#4,042 5 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

  • #4044 von @ncovercash — ohne Merge geschlossen

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Bereich
security

Rechercherichtung

Beginne mit der Überprüfung des bestehenden Verhaltens von SPOOF_PROTECTION und des zugehörigen Mailu-Issues/-Kommentars (1096#issuecomment-518931372). Bestimme, ob dieser Beitrag Spoofing von Absendern pro Konto implementieren oder eine unterstützte Umgehungslösung dokumentieren sollte; abgeschlossen ist dies, wenn das Verhalten und die Konfiguration eindeutig dokumentiert sind oder die angeforderte Funktion implementiert und verifiziert wurde.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

area/documentation area/features kind/improvement service/postfix stale-bot/ignore
Context

There are many cases where SPOOF_PROTECTION should 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 as [email protected] and [email protected], or other addresses like [email protected], [email protected], 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).

https://github.com/Mailu/Mailu/issues/1096#issuecomment-518931372 seems like a similar issue.

Alternatives
  • Creating accounts for each user and having the application log into each seperately
    • This is going to be an increasingly painful maintenance burden and result in a mess as an application grows, and would be totally unsuited for cases with dynamic email addresses
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.

Vorherrschende Sprache
Shell
Sterne
19.7k
Forks
2.1k
Ø Merge
22 Std. 39 Min.
Gemergte PRs (30 T.)
8

Entwicklungsumgebung

  • Enthält ein Dockerfile oder eine Docker-Compose-Datei
  • Hat eine Pull-Request-Vorlage
  • Kein Beitragsleitfaden

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus docker-mailserver/docker-mailserver

Alle Issues in docker-mailserver/docker-mailserver

Ähnliche Issues

Weitere Issues zu Shell/Bash

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.