From 5c77354ed123874f634332042dd2074d955d6818 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 7 May 2009 12:38:28 +0200 Subject: Fix typo in dirname: cron.weekky → cron.weekly. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- postfix/cron.weekky/local-purgeoldtrashedmails | 9 --------- postfix/cron.weekly/local-purgeoldtrashedmails | 9 +++++++++ 2 files changed, 9 insertions(+), 9 deletions(-) delete mode 100755 postfix/cron.weekky/local-purgeoldtrashedmails create mode 100755 postfix/cron.weekly/local-purgeoldtrashedmails (limited to 'postfix') diff --git a/postfix/cron.weekky/local-purgeoldtrashedmails b/postfix/cron.weekky/local-purgeoldtrashedmails deleted file mode 100755 index 7674508..0000000 --- a/postfix/cron.weekky/local-purgeoldtrashedmails +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -# -# Purge trashed mails older than 2 months - -set -e - -find /home/*/Maildir/.Trash /home/*/Maildir/.Trash.* /home/*/Maildir/.INBOX_Trash /home/*/Maildir/.trash /home/*/Maildir/.Deleted\ Messages /home/*/Maildir/.Deleted\ Items /home/*/Maildir/.Slettet\ post -type f -mtime +60 -exec rm -f '{}' ';' - -exit 0 diff --git a/postfix/cron.weekly/local-purgeoldtrashedmails b/postfix/cron.weekly/local-purgeoldtrashedmails new file mode 100755 index 0000000..7674508 --- /dev/null +++ b/postfix/cron.weekly/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/.INBOX_Trash /home/*/Maildir/.trash /home/*/Maildir/.Deleted\ Messages /home/*/Maildir/.Deleted\ Items /home/*/Maildir/.Slettet\ post -type f -mtime +60 -exec rm -f '{}' ';' + +exit 0 -- cgit v1.2.3