Retention rules not working
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 .
so i make a retention rules to delete the emails without sender , but it not working.
how can i fix it.
Comments (18)
-
repo owner -
reporter i try
-
reporter I run pillertest, the retention rule can match it, but the email will not be deleted.
-
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.
-
reporter How to add purge utility in piler's crontab?
-
repo owner Add the following:
30 2 * * * /usr/local/libexec/piler/pilerpurge.py
-
reporter run pilerpurge.py error, how to fix it .
-
repo owner Use the -c option to use /usr/local/etc/piler/piler.conf
-
reporter error again.
-
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.
-
reporter command error.
-
repo owner Ehh, I made a typo. This is the correct one: pilerconf -q queuedir
-
reporter command can run now , but some emails still can't delete.
-
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.
-
reporter The rules can match , but i don't understand why the email won't be deleted.
-
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...';
-
reporter Resetting the sphinx database, everything is ok now. Thank you!
-
repo owner - changed status to closed
- Log in to comment
Run pilertest against such a message having no sender info, and verify that the retention rule matches it.