diff options
author | Jonas Smedegaard <dr@jones.dk> | 2006-09-22 08:45:35 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2006-09-22 08:45:35 +0000 |
commit | 5d6c13e71dc05139831e360f3ccb49b18cf7d7e6 (patch) | |
tree | 051fe4d111e044450981130b4ca78b7b916e98cb /amavis/cron.daily/local-amavis | |
parent | 56c7578b33e8c56dbbd0f53e6c4e52cab0f0b7db (diff) |
Add new daily cron script to purge old spam.
Diffstat (limited to 'amavis/cron.daily/local-amavis')
-rwxr-xr-x | amavis/cron.daily/local-amavis | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/amavis/cron.daily/local-amavis b/amavis/cron.daily/local-amavis new file mode 100755 index 0000000..47323b1 --- /dev/null +++ b/amavis/cron.daily/local-amavis @@ -0,0 +1,9 @@ +#!/bin/sh +# +# local amavis cron daily + +set -e + +find /var/lib/amavis/virusmails/ -type f -mtime +14 -exec rm -f '{}' ';' + +exit 0 |