Mart�n Marqu�s <[EMAIL PROTECTED]> wrote:
> 
> I need to weekly clean the mailboxes of our users, this is mark as deleted all
> mails older then 10 days, for example, and expunge them from the mailbox (this
> with a determined mailbox, not necesarally tghe INBOX).

If the messages are stored in Maildir format, this is trivial.  Just delete
every file under the Maildir that has a ctime (or possibly mtime) older than
10 days.  You can easily find all such files with the find command.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------

Reply via email to