Expiring old mail in Maildir/

Randy Smith randys at amigo.net
Tue May 27 07:55:45 PDT 2003


On Fri, 23 May 2003, ODHIAMBO Washington wrote:

> Date: Fri, 23 May 2003 19:19:00 +0300
> From: ODHIAMBO Washington <wash at wananchi.com>
> To: "freebsd-isp at freebsd.org" <freebsd-isp at 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/



More information about the freebsd-isp mailing list