Topic: notify_quarantined_recipients.py AttributeError
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.8
- Linux/BSD distribution name and version: Ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
It's seems since the update to 0.9.8 the script notify_quarantined_recipients.py generate and error when running. Any idea how to fix it ? Was working fine in 0.9.7
Traceback (most recent call last):
File "/opt/www/iredadmin/tools/notify_quarantined_recipients.py", line 310, in <module>
info += '\t' + '<td class="td_subject">' + cgi_escape(rcd.subject) + '</td>' + '\n'
File "/usr/lib/python2.7/cgi.py", line 1043, in escape
s = s.replace("&", "&") # Must be done first!
AttributeError: 'buffer' object has no attribute 'replace'
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.