Re: Deleting emails

2020-07-22 Thread Marcelo Machado
Thank you again Janos.

Em qua., 22 de jul. de 2020 às 17:33,  escreveu:

>
>
> Hello Marcelo,
>
> connect to the piler mysql database, and execute the following query:
>
> update metadata set retained=10 where id > x;
>
> Then let pilerpurge.py take care of the rest.
>
> x: is the numeric id of the last email you want to keep.
> Make sure to double check, because after purging the emails
> they are gone for good.
>
> Janos
>
> On 2020-07-22 00:49, Marcelo Machado wrote:
> > Hello everyone.
> >
> > How to delete emails from a specific date until the end of all stored
> > emails?
> >
> > Marcelo Gomes
>
>


Re: Deleting emails

2020-07-22 Thread sj




Hello Marcelo,

connect to the piler mysql database, and execute the following query:

update metadata set retained=10 where id > x;

Then let pilerpurge.py take care of the rest.

x: is the numeric id of the last email you want to keep.
Make sure to double check, because after purging the emails
they are gone for good.

Janos

On 2020-07-22 00:49, Marcelo Machado wrote:

Hello everyone.

How to delete emails from a specific date until the end of all stored
emails?

Marcelo Gomes




Deleting emails

2020-07-21 Thread Marcelo Machado
Hello everyone.

How to delete emails from a specific date until the end of all stored
emails?

Marcelo Gomes