1

Topic: Quarantined emails header details error

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.3.2
- Deployed with iRedMail Easy or the downloadable installer? downloadable
- Linux/BSD distribution name and version: Centos/
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hello Zhang,
I found an error when clicking on "View or hide mail body and header" for any email in quarantine. The error is:

Error: TypeError("can't concat int to bytes",) 

The error in log is:

Oct 29 12:28:29 mail iredadmin: GET /iredadmin/activities/quarantined 200 442038 "https://mail.domain.net/iredadmin/dashboard"
Oct 29 12:28:33 mail iredadmin: GET /iredadmin/activities/quarantined/raw/usSDt7ns8aix 303 342 "https://mail.domain.net/iredadmin/activities/quarantined"
Oct 29 12:28:34 mail iredadmin: GET /iredadmin/activities/quarantined?msg=TypeError%28%22can%27t%20concat%20int%20to%20bytes%22%2C%29 200 442311 "https://mail.domain.net/iredadmin/activities/quarantined"

I added a screenshot of the panel. For every click on every row on "View or hide mail body and header" it opens another page inside the row.

What could be the solution here?
Thank you for your help!

Tom

Post's attachments

iredadmin_quarantined_error.png
iredadmin_quarantined_error.png 108.74 kb, 1 downloads since 2020-10-29 

You don't have the permssions to download the attachments of this post.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Quarantined emails header details error

I can not reproduce this issue. Is it possible to give me direct ssh access with root privilege for troubleshooting? Contact me: zhb _at_ iredmail _dot_ org

3

Re: Quarantined emails header details error

Same error here after upgrading to iRedAdmin-Pro 4.6 LDAP

Error: TypeError("can't concat int to bytes",)

4

Re: Quarantined emails header details error

Confirmed it's a bug of iRedAdmin-Pro, will try to reproduce it locally and come back with a fix tomorrow.

5

Re: Quarantined emails header details error

Fixed in iRedAdmin-Pro. Will release a new version soon.
If you cannot wait, mail us to get a patched version:
https://www.iredmail.org/contact.html