Retention rules not working

Issue #916 closed
larrylu created an issue

Hi ALL , I use PilerImport to import some EML file , after importing , I found that some emails were Duplicate, one was correct, another without sender . p1.jpg

so i make a retention rules to delete the emails without sender , but it not working. p3.jpg p2.jpg

how can i fix it.

Comments (18)

  1. Janos SUTO repo owner

    Run pilertest against such a message having no sender info, and verify that the retention rule matches it.

  2. Janos SUTO repo owner

    Check if the periodic purge is enabled on the gui (as administrator). Also check if you have the purge utility in piler's crontab.

  3. Janos SUTO repo owner

    OK, fear not, we are getting closer. Run 'pilerget -q queuedir', then add its output to piler.conf. Then try running pilerpurge.py again.

  4. Janos SUTO repo owner

    That's nice! You managed to purge 2 million emails or so. For the "still can't delete" emails, check the 'retained' column value, and figure out why it's not 1 day.

  5. Janos SUTO repo owner

    Please show me the following sql query output (be sure to use the body digest value from the above output!):

    select * from metadata where bodydigest='884b...';

  6. Log in to comment