Topic: backup not performed
==== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: Debian Stable
- Related log if you're reporting an issue:
====
For reason unknown to me crontab files for root and amavis was created with wrong permission causing backup and other scheduled things not happening.
Starting cron gave the following output to syslog:
Nov 25 17:36:40 iredmail /usr/sbin/cron[12152]: (amavis) INSECURE MODE (mode 0600 expected) (crontabs/amavis)
Nov 25 17:38:10 iredmail /usr/sbin/cron[12290]: (root) INSECURE MODE (mode 0600 expected) (crontabs/root)
-rw-r--r-- 1 root root 290 Apr 7 2014 /var/spool/cron/crontabs/amavis
-rw-r--r-- 1 root root 579 Apr 7 2014 /var/spool/cron/crontabs/root
Doing below statements fixed the issue:
sudo chmod 600 /var/spool/cron/crontabs/amavis
sudo chmod 600 /var/spool/cron/crontabs/root
service cron restart
PS. My current install started as 0.8.6 and since the backup folder is empty this bug has been there from at least 0.8.6
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.