I'm guessing you'd just export the mails using pilerexport -A command and then clear the database and reimport them after turning encryption off with pilerimport -e? Janos, if encryption is turned off, is compression turned off also? I'm asking from a speed perspective. On my tests of Piler vs another open-source archiving package, Piler used *much* less disk space to import the Enron corpus but was noticably slower at importing the messages, and I'm guessing that is because Piler encrypts and compresses each message and the other package is doing neither encryption or compression on the messages.
On Thu, Feb 27, 2014 at 10:15 AM, [email protected] < [email protected]> wrote: > Is there a way to mass unencrypt or encrypt emails already archived ? > > @mourik , interested in knowing What's your reason for not wanting > encrypted archived emails ? > > > Sent from my iPhone 5 > > > On 27 Feb 2014, at 5:36 PM, Janos SUTO <[email protected]> wrote: > > > > > > Hello Mourik, > > > >> On 2014-02-27 16:17, mourik jan heupink wrote: > >> In the search results top pane: The date there is the date the mail > >> was archived in the mailpiler system. > >> In the search results bottom frame: The date there is the "date" > >> taken from the headers of the mail. > >> However: when performing an advance search, and specify a "Date from" > >> and "Date to", I would expect the system to look at the "Date" from > >> the mailheaders, and not use the archiving date. I'm mass importing > >> mails now, so 90% of piler's content has this week's date, even though > >> they are years old. > >> Is this behaviour intended? > > > > no, it's a bug. Pilerimport in older versions handled the date > improperly. > > However it's fixed in the master branch, and the correct behaviour for > > pilerimport to use the Date header. Also note that the parser is now > > improved to detect more date formats. > > > >> And about encryption: I have set encrypt_messages=0 in > >> /usr/local/etc/piler.conf, yet I cannot read any of the files under > >> /var/piler/store/00/.../.../400000005306342c0a310c040025742d00be.m > >> All these files look very encrypted. Aren't these files supposed to > >> be like the files in our Maildirs or postfix queues? > > > > this settings is not supposed to be toggled back and forth. You should > > decide whether you want your emails to be encrypted (in this case use > > the default value) or not (then set it to 0), but after you have decided > > don't change it. Since you were encrypting emails I'd suggest keep it > > that way. > > > > I think this option causes confusion, so probably I'll remove it (not > sure yet). > > > > Janos > > > > -- Shenandoah "Ben" Gallitz Program and Start Date: MS Info. Sec. and Assurance 05/01/2013 Student ID: 000312859 My Mentor: Rey Armijo c 205-370-2513 Birmingham, AL - Central Time [email protected]
