Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mails cannot be processed if the special character "+" appears at the beginning of the sender address #4624

Closed
MarkusHeld opened this issue May 25, 2023 · 1 comment

Comments

@MarkusHeld
Copy link

MarkusHeld commented May 25, 2023

Used Zammad Version

5.4.1

Environment

  • Installation method: any
  • Operating system: any
  • Database + version: any
  • Elasticsearch version: [e.g. 7.17]
  • Browser + version: [e.g. chrome 83, safari 14, firefox 105]

Actual behaviour

Mail addresses with the special character "+" at the beginning cannot be processed correctly by Zammad. The mails end up in unprocessable_mails on the system.

Expected behaviour

Mails can be processed if the special character "+" appears at the beginning of the sender.

https://www.rfc-editor.org/rfc/rfc3696#section-3

Steps to reproduce the behaviour

Send a mail with a "+" at the beginning of your Mail Adress to the ticket system

entries from the production log

I, [2023-05-25T10:55:30.537567#755097-112860] INFO -- : Process email with msgid '4515FE76-FBBF-45FD-A341-39EC68B0CD00@XXX.de'
E, [2023-05-25T10:55:30.552751#755097-112860] ERROR -- : can't run postmaster pre filter 0015_postmaster_filter_identify_sender: Channel::Filter::IdentifySender
E, [2023-05-25T10:55:30.552832#755097-112860] ERROR -- : #<ActiveRecord::RecordInvalid: Validation failed: Invalid email '+markus@XXX.de'>
E, [2023-05-25T10:55:30.553082#755097-112860] ERROR -- : Can't process email, you will find it for bug reporting under /opt/zammad/tmp/unprocessable_mail/ba1e9811aa3a382a5ad72adda3c96631.eml, please create an issue at https://github.com/zammad/zammad/issues
E, [2023-05-25T10:55:30.553110#755097-112860] ERROR -- : Validation failed: Invalid email '+markus@XXX.de' (ActiveRecord::RecordInvalid)

Support Ticket

Ticket#10128855

I'm sure this is a bug and no feature request or a general question.

yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants