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

Unprocessable broken mail (without From, To and Body) #2372

Closed
thorsteneckel opened this issue Nov 23, 2018 · 1 comment
Closed

Unprocessable broken mail (without From, To and Body) #2372

thorsteneckel opened this issue Nov 23, 2018 · 1 comment

Comments

@thorsteneckel
Copy link
Contributor

Infos:

  • Used Zammad version: 2.7.x
  • Installation method (source, package, ..): any
  • Operating system: any
  • Database + version: any
  • Elasticsearch version: any
  • Browser + version: any

Expected behavior:

  • Unprocessable broken mail (without From, To and Body) should get logged and ignored

Actual behavior:

  • Unprocessable broken mail (without From, To and Body) is just unprocessable

Steps to reproduce the behavior:

  • Import attached broken_mail.eml.zip via cat /path/to/broken_mail.eml | rails r 'Channel::Driver::MailStdin.new'

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

@rolfschmidt
Copy link
Collaborator

Seems to work now. Mail gets dropped to the unprocessable email folder:

ubuntu-rs@ubuntu-rs:/workspace/git_zammad/zammad$ cat tmp/unprocessable_mail/7f3b44b2915070a1af1d9d190afd2ba2.eml
Date: Mon, 01 Jan 2001 01:00:00 +0100
Subject: <Kein Betreff>
From:
Message-ID: <AAA-AAA-AAA-AAA-AAA-AAA@contoso.com>
Mime-version: 1.0
Content-type: text/plain;
        charset="UTF-8"
Content-transfer-encoding: 7bit

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

3 participants