Mails cannot be processed if the sender address contains a quote and a user with that address already exists
Los mantenedores suelen responder en 13 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 62/100
Línea de trabajo
Reproduce the issue using the three steps in the report, then inspect production.log around the ActiveRecord::RecordInvalid error to trace where the postmaster handles the sender and existing user. Done means mail from an address with a quoted local part is processed as a regular ticket and assigned to the existing user, without creating an error ticket or duplicate user.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Used Zammad Version
7.2.2
Environment
- Installation method: any
- Operating system (if you're unsure:
cat /etc/os-release): any - Database + version: any
- Elasticsearch version: any
- Browser + version: any
Actual behaviour
An incoming mail from a'[email protected] (a user with that login and email already exists, e.g. via LDAP) is not processed. The postmaster aborts with ActiveRecord::RecordInvalid: Validation failed: Login has already been taken and creates an error ticket instead of a regular ticket.
Expected behaviour
The mail is processed as usual. If a user with the sender address already exists (e.g. imported via LDAP), the mail is assigned to that user and a regular ticket is created; otherwise a single new user is created. The mail does not fail with Validation failed: Login has already been taken and does not end up as an error ticket / unprocessable mail.
A quote (') in the local part of an email address is permitted.
Steps to reproduce the behaviour
- Create a user whose login and email are both a'[email protected] (e.g. via LDAP sync)
- Send a mail with From: a'[email protected]
- The mail is not processed; production.log contains the RecordInvalid and an error ticket is created
Support Ticket
Ticket#10243473
I'm sure this is a bug and no feature request or a general question.
yes
- Lenguaje dominante
- Ruby
- Estrellas
- 6k
- Forks
- 1.1k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de zammad/zammad
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 13 días
-
Custom OpenAI provider: temperature probe does not recognize Kimi error responsePosiblemente ocupada @dominikklein la tomó hace 1 día. Abiertoverified
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
zammad/zammad#6584 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 13 días
-
Docker images: plain X.Y.Z tag (e.g. 7.2.3) is never updated after the initial release buildAbiertoverified
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 13 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 13 días
-
UX/UI verified
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
Los mantenedores suelen responder en 13 días
Todos los issues de zammad/zammad
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
hanami/hanami-action#536 ·
-
[2026-11] Latest release (2026-11) still has expanded list entries that are no longer supportedAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Shopify/product-taxonomy#1054 ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
docker/model-runner#1118 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
TarteelAI/quranic-universal-library#1111 ·
Los mantenedores suelen responder en 1 día
-
Generated cask uses deprecated `postflight` stanza; Homebrew 7 warns on every commandPosiblemente ocupada @k4kratik la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
sachincool/cruft#4 ·