summaryrefslogtreecommitdiff
path: root/amavis/cron.daily/local-amavis
blob: a7fb06dd50d55e1f861cbcda3d800d17332e63eb (plain)
  1. #!/bin/sh
  2. #
  3. # local amavis cron daily
  4. set -e
  5. find /var/lib/amavis/virusmails/ -type f \( \( -empty -and -mtime +1 \) -or -name 'badh*' -or -mtime +14 \) -delete
  6. exit 0