1

Topic: Anacron job error

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.6
- Linux/BSD distribution name and version: Debian 8
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Mysql
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====

Hi,

After upgrading to the last  version:

/etc/cron.daily/logrotate:
error: syslog:1 unknown option 'add' -- ignoring line
/etc/cron.daily/spamassassin:
Job for spamassassin.service failed. See 'systemctl status spamassassin.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript spamassassin, action "reload" failed.
/etc/cron.daily/tmpreaper:
Please read /usr/share/doc/tmpreaper/README.security.gz first;
edit /etc/tmpreaper.conf to remove this message (look for SHOWWARNING).

Thx

----

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

2

Re: Anacron job error

Thierry wrote:

/etc/cron.daily/logrotate:
error: syslog:1 unknown option 'add' -- ignoring line
/etc/cron.daily/spamassassin:
Job for spamassassin.service failed. See 'systemctl status spamassassin.service' and 'journalctl -xn' for details.

- Upgrading iRedMail-0.9.6 doesn't touch logrotate settings.
- iRedMail doesn't run spamassassin service. You don't need to run it. Maybe you need to update some parameters in /etc/default/spamassassin to avoid this error.

3

Re: Anacron job error

It was a fresh install from 0.9.5-1.
I have only done  the upgrade to 0.9.6 ...

Thx

4

Re: Anacron job error

Thierry wrote:

/etc/cron.daily/logrotate:
error: syslog:1 unknown option 'add' -- ignoring line

Add file under /etc/logrotate.d/ contain string "add"?

Thierry wrote:

/etc/cron.daily/spamassassin:
Job for spamassassin.service failed. See 'systemctl status spamassassin.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript spamassassin, action "reload" failed.

We don't need spamassassin service. Check /etc/default/spamassassin to see whether there's a option to control it.

Thierry wrote:

/etc/cron.daily/tmpreaper:
Please read /usr/share/doc/tmpreaper/README.security.gz first;
edit /etc/tmpreaper.conf to remove this message (look for SHOWWARNING).

Read this message and follow it to update /etc/tmpreaper.conf.