From ac2e0a26e40f0160699ac00a83ed594998a69a1b Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 14 Dec 2006 14:31:58 +0000 Subject: New script to purge old trashed mails. --- postfix/cron.weekky/local-purgeoldtrashedmails | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 postfix/cron.weekky/local-purgeoldtrashedmails (limited to 'postfix') diff --git a/postfix/cron.weekky/local-purgeoldtrashedmails b/postfix/cron.weekky/local-purgeoldtrashedmails new file mode 100755 index 0000000..205585b --- /dev/null +++ b/postfix/cron.weekky/local-purgeoldtrashedmails @@ -0,0 +1,9 @@ +#!/bin/sh +# +# Purge trashed mails older than 2 months + +set -e + +find /home/*/Maildir/.Trash /home/*/Maildir/.trash /home/*/Maildir/.Deleted\ Messages /home/*/Maildir/.Deleted\ Items -type f -mtime +60 -exec rm -f '{}' ';' + +exit 0 -- cgit v1.2.3 /cgit-css/cgit.png' alt='cgit logo'/> index : notmuch
Unnamed repository; edit this file 'description' to name the repository.Jonas Smedegaard
summaryrefslogtreecommitdiff
path: root/tags/57/08/CAD2EdCzRKAEXDHudnSyEYtvTSNH8ivNae2QGfMTB3b6d5atECg@mail.gmail.com/debconf
diff options
context:
space:
mode:
Diffstat (limited to 'tags/57/08/CAD2EdCzRKAEXDHudnSyEYtvTSNH8ivNae2QGfMTB3b6d5atECg@mail.gmail.com/debconf')
-rw-r--r--tags/57/08/CAD2EdCzRKAEXDHudnSyEYtvTSNH8ivNae2QGfMTB3b6d5atECg@mail.gmail.com/debconf0
1 files changed, 0 insertions, 0 deletions