Topic: Script emails since 0.9.5 upgrade
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5
- Linux/BSD distribution name and version: FreeBSD 10.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache 2.4
- Manage mail accounts with iRedAdmin-Pro? Yes
- Related log if you're reporting an issue:
====
Three issues after upgrading to 0.9.5 and iRedAdmin-Pro 2.4.0:
1. As admin for this system, I receive email every 10 minutes about the spf_to_greylist_whitelists.py script like this:
* Query SQL server to get mail domain names.
* Parsing domains, 36 in total.
+ [amazon.com]
+ [aol.com]
..
I think I can fix this by adding '2>&1' to the end of this new cron job. Any problem with doing so?
2. As admin for this system, I receive email every hour about the cleanup_db.py script with these errors:
/usr/local/www/iredadmin/tools/cleanup_db.py: import: not found
/usr/local/www/iredadmin/tools/cleanup_db.py: import: not found
/usr/local/www/iredadmin/tools/cleanup_db.py: import: not found
/usr/local/www/iredadmin/tools/cleanup_db.py: os.environ[LC_ALL]: not found
/usr/local/www/iredadmin/tools/cleanup_db.py: 31: Syntax error: "(" unexpected
How to correct these errors?
3. After running the iRedAdmin-Pro upgrade script, the system complained that it could not restart apache22 even though apache24 is the only Apache port installed on the system. Manually restarting Apache with '/usr/local/etc/rc.d/apache24 restart' worked OK.
Thanks for your guidance on these.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.