Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

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

Cerrado
#7,878 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@ThuF ya está trabajando en esto.

Desde el 20/10/2026.

  • #7976 de @ThuF — abierto

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
45/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
java

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.
Lenguaje dominante
Java
Estrellas
278
Forks
97
Merge medio
16 h 46 min
PR fusionados (30 d)
265

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de eclipse-dirigible/dirigible

Todos los issues de eclipse-dirigible/dirigible

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.