Delete email with imported with future date

Issue #368 resolved
Cassio Simões created an issue

Hi again :)

I have some unimportant emails (mostly SPAM) that was imported with a future date (please check attachment).

Is there anyway I can delete them?

Cassio

Comments (4)

  1. Janos SUTO repo owner

    Yes, there's a way to delete them. Update the metadata table, and set the retained column to yesterday, then run the pilerpurge utility.

  2. Janos SUTO repo owner

    Btw. it's the best to create an archiving rule matching those unimportant emails to prevent them reaching the archive at all.

  3. Janos SUTO repo owner

    1428995147 is a timestamp value. To figure out the id and piler_id, perhaps the simplest is to run an sql query like, select id, piler_id, from, subject, spam from metadata limit 0,100;

  4. Log in to comment