1 (edited by kislik 2012-09-26 15:50:00)

Topic: Amavis wrong configuration on RHEL6/SL6/CENTOS6

Hi,

amavis is periodically trying to delete my /. Its a clear installation of iRedMail without changes.

sudo crontab -e -u amavis

#
# File generated by iRedMail (2012.09.22.15.06.06):
#
# Version:  0.8.2
# Project:  http://www.iredmail.org/
#
# Community: http://www.iredmail.org/forum/
#

# Delete virus mails which created 15 days ago.
1   5   *   *   *   find / -ctime +15 | xargs rm -rf {}

What is the correct value for the last line?

==== Required information ====
- iRedMail version: 0.8.2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Linux/BSD distribution name and version: Scientific Linux 6.3
- Related log if you're reporting an issue: /var/log/cron
====

Post's attachments

cron 4.72 kb, 1 downloads since 2012-09-26 

You don't have the permssions to download the attachments of this post.

----

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

2

Re: Amavis wrong configuration on RHEL6/SL6/CENTOS6

Does /var/virusmails exist on your system? If so, use it instead:

1   5   *   *   *   find /var/virusmails/ -ctime +15 | xargs rm -rf {}

== UPDATE ==
Fixed moment ago, code commit log:
https://bitbucket.org/zhb/iredmail/chan … 52cd42f75c