#!/bin/sh
#
# local amavis cron daily

set -e

find /var/lib/amavis/virusmails/ -type f \( \( -empty -and -mtime +1 \) -or -name 'badh*' -or -mtime +14 \) -delete

exit 0