Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

mail: declare DIRIGIBLE_MAIL_SENDER and make the sender / reply-to tenant-overridable

Aperta
#7,878 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@ThuF ci sta già lavorando.

Dal 20/10/2026.

  • #7976 di @ThuF — aperta

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
java

Direzione di ricerca

Start by reading DirigibleConfig and TenantConfigurationKeyPolicy, then trace how generated notify: code resolves DIRIGIBLE_MAIL_SENDER before calling Mail.send(...). Define the sender and reply-to tenant behavior and check existing tenant-configuration tests; done means the effective tenant values are used, with documentation identifying which mail keys are per tenant. The optional per-tenant SMTP credentials need separate scope.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

Problem

Mail is configured once per instance. Generated notify: code calls Configurations.get("DIRIGIBLE_MAIL_SENDER", "[email protected]") and then Mail.send(...), and SMTP comes from the deployment-wide DIRIGIBLE_MAIL_* keys.

None of these keys is tenant-overridable: TenantConfigurationKeyPolicy allows only its listed keys plus the DIRIGIBLE_PRINT_TEMPLATE_ prefix. DIRIGIBLE_MAIL_SENDER is not a declared DirigibleConfig key at all.

In a multitenant application every tenant's invoices, dunning letters and payslips are therefore sent from the same address, and replies go to the operator rather than to the tenant's company.

Proposal

  • Declare DIRIGIBLE_MAIL_SENDER in DirigibleConfig, and make it tenant-overridable together with a new DIRIGIBLE_MAIL_REPLY_TO (the cheap, safe part: one SMTP account, a per-tenant From display name or Reply-To).
  • Optionally: per-tenant SMTP credentials, stored as tenant configuration secrets, falling back to the instance's account.
  • Generated notify: code reads the effective, tenant-resolved value.
  • Docs: which mail keys are per tenant.
Lingua principale
Java
Stelle
278
Fork
97
Merge medio
19h 30m
PR unite (30g)
242

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di eclipse-dirigible/dirigible

Tutte le issue di eclipse-dirigible/dirigible

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.