1

Topic: notify_quarantined_recipients.py errors

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.8-Pro
- Linux/BSD distribution name and version: Ubuntu 16.04.4 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- 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.
====

This just started happening within the last couple of days.

Traceback (most recent call last):
  File "/opt/www/iredadmin/tools/notify_quarantined_recipients.py", line 311, in <module>
    info += '\t' + '<td class="td_sender">' + cgi_escape(rcd.from_addr.encode('utf-8')) + '</td>' + '\n'
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 19: ordinal not in range(128)

I have a couple of users who would have had e-mails sent to them.

Any ideas?
TIA
-Ron

----

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

2

Re: notify_quarantined_recipients.py errors

Try to replace /opt/www/iredadmin/tools/notify_quarantined_recipients.py by attached one, then run it manually.

Post's attachments

notify_quarantined_recipients.py 12.84 kb, 3 downloads since 2018-07-05 

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

3

Re: notify_quarantined_recipients.py errors

ZhangHuangbin wrote:

Try to replace /opt/www/iredadmin/tools/notify_quarantined_recipients.py by attached one, then run it manually.


That worked.

Thank you