Expiring old mail in Maildir/

Jamie Heckford jamie at tridentmicrosystems.co.uk
Wed May 28 09:31:01 PDT 2003


On Friday 23 May 2003 5:19 pm, ODHIAMBO Washington wrote:
> 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.
>

We use a tool called archivemail (/usr/ports/mail/archivemail).

I wrote a script that loops through all usernames and logs in via IMAP and 
deletes messages older than 30 days.

Cheers,

Jamie


More information about the freebsd-isp mailing list