Topic: quarantined Emails - notification
==== 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 7.8
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes, 4.6
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hello,
After upgrade to iRedAdmin-Pro 4.6, I found a problem with notification about quarantined email.
[root@mail ~]# /usr/bin/python3 /var/www/iredadmin/tools/notify_quarantined_recipients.py --force-all
* + << ERROR >> Error while sending notification email to username@domain.ltd: TypeError("a bytes-like object is required, not 'str'",)
After each run of the script, a new message appears in quarantine list. The notification message is stopped with the SPAM flag.
X-Amavis-Alert: BAD HEADER SECTION, MIME error: error: unexpected end of header
X-Spam-Status: Yes, score=5.138 tag=-100 tag2=5 kill=5 tests=[BAYES_20=-0.001, EMPTY_MESSAGE=2.32, MISSING_HEADERS=1.021, MISSING_SUBJECT=1.799, NO_RELAYS=-0.001] autolearn=no autolearn_force=no
Regards,
Marius
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.