1 (edited by tomi.mcleod 2015-04-22 20:51:27)

Topic: few errors in cronjobs

======== Required information ====
- iRedMail version: 0.9.0
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Mysql
- Web server (Apache or Nginx): Apache
- Linux/BSD distribution name and version: Debian 7
- Related log if you're reporting an issue:
====
postmaster account cron-jobs:

Cron <amavis@mail> find /var/lib/amavis/virusmails/ -ctime +15 | xargs rm -rf {}
Foto del contacto
De    root@mail.materiaoscura.netAdd contact    Fecha    Hoy 05:01
Cuerpo del mensaje
find: `/var/lib/amavis/virusmails/': No such file or directory
 Cron <root@mail> /usr/sbin/cbpadmin --config=/etc/cluebringer/cluebringer.conf --cleanup > /dev/null
Foto del contacto
De    root@mail.materiaoscura.netAdd contact    Fecha    Hoy 03:01
Cuerpo del mensaje
/bin/sh: 1: /usr/sbin/cbpadmin: not found 

Need I fix something?

----

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

2

Re: few errors in cronjobs

*) First error is safe to ignore. Looks like you don't quarantine detected spam/virus with Amavisd.
*) Second error, do you have command 'cbpadmin' on this server? Use the correct path please.

# cat /etc/debian_version 
7.8

# which cbpadmin
/usr/sbin/cbpadmin

3

Re: few errors in cronjobs

ZhangHuangbin wrote:

*) First error is safe to ignore. Looks like you don't quarantine detected spam/virus with Amavisd.
*) Second error, do you have command 'cbpadmin' on this server? Use the correct path please.

# cat /etc/debian_version 
7.8

# which cbpadmin
/usr/sbin/cbpadmin

server detect spam with amavis and quarantine in sql:

amavis[16409]: (16409-03) Blocked SPAM {DiscardedInternal,Quarantined}
root@mail ~ # cat /etc/debian_version
7.6
root@mail ~ # which cbpadmin
root@mail ~ #

Ah, im not using cluebringer, im still with  postfix-policyd                  1.82-2+b1
So must i fix something or can  I delete the cronjobs?

4

Re: few errors in cronjobs

tomi.mcleod wrote:

server detect spam with amavis and quarantine in sql:

It's ok to comment out (or remove) that cron job since Amavisd doesn't quarantine email on file system.

tomi.mcleod wrote:

Ah, im not using cluebringer, im still with  postfix-policyd                  1.82-2+b1
So must i fix something or can  I delete the cronjobs?

It's ok to comment out (or remove) this cron job.