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.
--
peace out.
-+-
If Bill Gates got a dime for every time Windows crashes...
...oh, wait. He does. THAT explains it!
-+-
in a world with out fences, who needs gates.
-+-
CentOS GNU/Linux 6.6
tc,hago.
g
.