Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 May 2003 08:57:04 -0600 (MDT)
From:      Randy Smith <randys@amigo.net>
To:        ODHIAMBO Washington <wash@wananchi.com>
Cc:        "freebsd-isp@freebsd.org" <freebsd-isp@freebsd.org>
Subject:   Re: Expiring old mail in Maildir/
Message-ID:  <20030527085232.S1529-100000@stalker.amigo.net>
In-Reply-To: <20030523161900.GA12569@ns2.wananchi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 23 May 2003, ODHIAMBO Washington wrote:

> Date: Fri, 23 May 2003 19:19:00 +0300
> From: ODHIAMBO Washington <wash@wananchi.com>
> To: "freebsd-isp@freebsd.org" <freebsd-isp@freebsd.org>
> Subject: Expiring old mail in Maildir/
>
>
> Hiya ISP Admins,
>
>
> Apart from using `find`, I am wondering if someone already owns the wheel
> that can expire mail older than N number of days from users Maildir.
> I used to use one by Phil Male of Information Systems Engineering Group
> which was well adapted for mbox-type mailboxes, but now I have changed to
> Maildir/
>
> Thanks in advance for any pointers.
>
>
> -Wash
>
>

I wrote a script to clean out users' Spam folders. You can find it here:
http://perlstalker.amigo.net/courier/scripts/clean-spam.txt

You will need to modify it a little bit so that it looks in the right
place, but it's a simple enough script.

-- 
Randy Smith
Amigo.Net Systems Administrator
1-719-589-6100 x 4185
http://www.amigo.net/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030527085232.S1529-100000>