Quoting Charles Cazabon <[EMAIL PROTECTED]>:
> 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.
No, thats not what I want. It a mailbox!
I would need to trace the mailbox, slit the different mails and see the date
line to decide if it should be deleted.
But that is not so trivial. :-(
Saludos... .-)
--
El mejor sistema operativo es aquel que te da de comer.
Cuida tu dieta.
-----------------------------------------------------------------
Martin Marques | [EMAIL PROTECTED]
Programador, Administrador | Centro de Telematica
Universidad Nacional
del Litoral
-----------------------------------------------------------------