-
I need to delete all the mail excluding @domain1.com. piler version: 1.3.5 build 997 EDIT: so in my case I want to delete all, excluding mail that have @domain1.com either in the FROM or TO field |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
what about deleting the records from the db? is it enough? |
Beta Was this translation helpful? Give feedback.
-
Add the following to piler.conf:
|
Beta Was this translation helpful? Give feedback.
-
so i executed the query and ran the |
Beta Was this translation helpful? Give feedback.
Try the following (be sure to backup the piler database and/or perhaps the whole archive before starting).
Set the retention column for all messages to the past if they are not sent to or received from "domain1", eg.
Then run pilerpurge.py in dry mode, eg.
It prints a bunch of files and IDs what it would remove from the system. eg.
You may check these IDs in the v_messages view in the piler database to ensure that they are NOT from/t…