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 >
