1

Topic: iRedMail 0.8.7 (FreeBSD) - Missing cleanup_amavisd_db.py

Hi Zhang,

After installation I realized that:

# crotab -l
1   3   *   *   *   /usr/local/bin/cbpadmin --config=/usr/local/etc/cluebringer.conf --cleanup >/dev/null
# iRedMail: Cleanup Amavisd database
1  2   *   *   *   python /usr/local/www/iRedAdmin-0.3.2/tools/cleanup_amavisd_db.py &>/dev/null
# iRedMail: update Awstats statistics
1   */1   *   *   *   perl /usr/local/www/awstats/cgi-bin/awstats.pl -config=web -update >/dev/null
1   */1   *   *   *   perl /usr/local/www/awstats/cgi-bin/awstats.pl -config=smtp -update >/dev/null
# iRedMail: Backup MySQL databases on 03:30 AM
30   3   *   *   *   /usr/local/bin/bash /var/vmail/backup/backup_mysql.sh

The cleanup_amavisd_db.py script no longer exists in iRedAdmin 0.3.2 and 0.3.3.

Best regards,

----

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

2

Re: iRedMail 0.8.7 (FreeBSD) - Missing cleanup_amavisd_db.py

gondim wrote:

1  2   *   *   *   python /usr/local/www/iRedAdmin-0.3.2/tools/cleanup_amavisd_db.py &>/dev/null

Bug in iRedMail-0.8.7.
It should be /usr/local/www/iredadmin/tools/cleanup_amavisd_db.py.
it's used for iRedAdmin-Pro, if user migrated from iRedAdmin open source edition to iRedAdmin-Pro, this script will be available.