Topic: HOTFIX 0.5.1: incorrect crontab job
Hi all, when I run
find /var/virusmails -ctime +30
lot of mails (*.gz) where found. When I run
find /var/virusmails -ctime +30 | xargs rm -rf {}
manually (shell - Debian Lenny), it deletes the hole virusmail directory.
Is there a different by running a cron job or shell command or is there an ending shlash missung (.../virusmails/ ...)?
HOTFIX: incorrect crontab job
#---- Run below command in terminal ----
# sudo crontab -e -u amavis
1 5 * * * find /var/virusmails -ctime +30 | xargs rm -rf {}
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.