[approved] Re: [approved] Function mapping messages to IDs?

2003-09-09 19:08:24
(Note: Non-subscriber mail must be manually approved, so if you want
 to avoid delays, it is best to subscribe to the list before posting.)

On September 9, 2003 at 05:33, Alejandro Forero Cuervo wrote:

How  are  IDs  assigned   to  messages?   Arbitrarily  (as,  say,
in  whatever  order  they  are returned  by  readdir  or  similar
functions)?  How can I get MHonArc to assign IDs to messages in a
given order (by date would be the most useful order for me)?

Message numbers are assigned by the order messages are processed.
If the input is from a MH-style folder, mhonarc will actually do
a numeric sort on the directory contents first to provide some
parallel to filename numbers.  However, if MHPATTERN resource is
customized, the order the files are processed are somewhat arbitrary.

You do not specify if you were processing MH-style folders are not.

BTW, MHonArc is designed where the message number really does not
mean much.  Why is the message numbering assignment important to you?


To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the

<Prev in Thread] Current Thread [Next in Thread>