1

Topic: bug report: running cleanup_amavisd_db.py script

======== Required information ====
- iRedMail version: 0.8.7 Pro
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: FreeBSD 10.0-RELEASE-p7
- Related log if you're reporting an issue:
====

This is a bug report rather than a request for help: In the default installation of IRedAdmin-Pro on FreeBSD, root fails to run the cleanup_amavisd_db.py script, returning a "python: not found" error.

This is because FreeBSD crontabs expect the full path to be given in the cron job (unless the path is in root's ENV settings, which it is not by default). Editing the cron job like this allows the job to run as expected:


# iRedMail: Cleanup Amavisd database
1  2  *   *   *   /usr/local/bin/python /usr/local/www/iredadmin/tools/cleanup_amavisd_db.py &>/dev/null

----

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

2

Re: bug report: running cleanup_amavisd_db.py script

Thanks for your report, this fix will be available in next release of iRedMail.