Pilerimport wrong timestamp

Issue #85 resolved
Karsten Bandlow created an issue

Pilerimport generates wrong timstamp. Old Mails get timestamp from current date. So purging old Mails doesnt work.

Comments (4)

  1. Janos SUTO repo owner

    piler uses several timestamps:

    • arrived: when the message arrived and archived
    • sent: it comes from the Date: field
    • retained: how long (a date/timestamp value) the message will be kept

    please show me the Date: line from the message, and these 3 timestamp values (from the metadata table) pilerimport created.

  2. Karsten Bandlow reporter

    Ok you are right. My problem is, i want delete old mails where the senddate is older than three years. So is the question, how can I change the retaindate. Can I use a policy?

    Am 23.04.2013 15:06, schrieb jsuto:

  3. Janos SUTO repo owner

    The value of the "retained" column is computed when an email is being processed according to the default value (in piler.conf) and the retention policy matching the given email.

    If you change the retention policy at a later time, it doesn't affect already archived messages. However you may use (as a dirty hack) an sql update query to set the retained field, then you can run pilerpurge again.

  4. Log in to comment