diff options
-rwxr-xr-x | amavis/cron.daily/local-amavis | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/amavis/cron.daily/local-amavis b/amavis/cron.daily/local-amavis index 3e51204..a7fb06d 100755 --- a/amavis/cron.daily/local-amavis +++ b/amavis/cron.daily/local-amavis @@ -4,7 +4,6 @@ set -e -find /var/lib/amavis/virusmails/ -type f -name 'badh*' -delete -find /var/lib/amavis/virusmails/ -type f -mtime +14 -delete +find /var/lib/amavis/virusmails/ -type f \( \( -empty -and -mtime +1 \) -or -name 'badh*' -or -mtime +14 \) -delete exit 0 |