TB - Sort add-on

jd1008 jd1008 at gmail.com
Mon Jul 6 16:46:05 UTC 2015



On 07/06/2015 12:22 AM, g wrote:
>
> On 07/06/15 00:21, Cameron Simpson wrote:
> <<>>
>
>> He basicly needs to take his messages and append them to a new inbox in
>> date order. He can either write a small program to suck messages into
>> memory, sort them, then write them out, or find a mail client which will
>> let him sort the view by date, tag/mark all the messages, then feed them
>> all _in_view_order_ to a fresh folder/mbox/mail-filing program.
> that could work, tho i believe first scanning emails to build a sort table,
> then pull out emails to a new file according to table would run better
> than having to keep up with where emails are in memory.
>
>> He sould at first cut try that in TB, since that's what he's using:
>>
>>    - view by date
>>    - _copy_ all messages to new folder
>>    - quit TB and examine the new folder to see what physical order it has
> if that would work it would be great. unfortunately, thunderbird does not
> work that.
>
>> The catch of course is that one can easily imagine a mail reader choosing
>> to do that copy in the present physical order for I/O efficiency reasons
>> because the mail recent author takes the view that the end user can
>> always view the messages in any order they like.
> it does seem that is attitude of thunderbird devs because if one sorts
> emails chronologically then moves or copies to new folder file, emails
> will maintain order they were in original folder file.
>
>> So this approach may need to be tried in various mail readers until one
>> is found that acts in the view order.
> been there with thunderbird. does not work.
>
>> Or one can write a program, where one has complete control. But if you
>> can get a mail client to do it then that will probably be faster.
> such is true. also true is fact thunderbird is not such a client.
>
>
Add to this is that the entire mozilla libraries are still
using 32 bit file size limits!
Just tried it by catenating many folders into a single folder
exceeding 4GB (11.8 GB, to be exact).
I then tried to move a message into the huge folder.
It popped the alert banner (Yellow Triangle with a bang in it), saying:

The folder HugeFolder is full, and can't hold any more messages. To make 
room for more messages, delete any old or unwanted mail and compact the 
folder.

Hey guys, we are in the 21st century, and mozilla is still living in the 
first
incarnation of the 32bit filesystems era (I forget what year that was :) )



More information about the users mailing list