1

Topic: AttributeError: 'module' object has no attribute 'AMAVISD_CLEANUP_QUER

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9
- Deployed with iRedMail Easy or the downloadable installer?manual upgrade from 0.9.8
- Linux/BSD distribution name and version: Centos7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro?Not Yet
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Followed upgrade guide carefully but I am now recieving an error from Cron when running
python /var/www/iredadmin/tools/cleanup_amavisd_db.py >/dev/null

Throws the following Error:
Traceback (most recent call last):
  File "/var/www/iredadmin/tools/cleanup_amavisd_db.py", line 54, in <module>
    query_size_limit = settings.AMAVISD_CLEANUP_QUERY_SIZE_LIMIT
AttributeError: 'module' object has no attribute 'AMAVISD_CLEANUP_QUERY_SIZE_LIMIT'

Have I missed something?

----

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

2

Re: AttributeError: 'module' object has no attribute 'AMAVISD_CLEANUP_QUER

This is a bug of iRedAdmin 0.9.2. sad
Please add one line in libs/default_settings.py:

AMAVISD_CLEANUP_QUERY_SIZE_LIMIT = 100

Then restart iredadmin service.