James A Baker writes:


Then, it looks for "recent" messages (those in the Maildir, but not previously added to the uiddb file, right?) and independently sorts them by filename (which typically should have a number corresponding to when they were added to the Maildir -- making it effectively a date-based sort, assuming they have the expected naming convention, right?). Then it adds that new sorted list to the end of the previous sorted list of "known" messages.

Right?

Correct. The sorting is done not strictly by filename. The first filename component is presumed to be the timestamp. So, if any, the timestamps are compared first, and if both timestamps are identical the filenames are then compared in full.


Then it assigns to each message a message sequence number (the one it'll have at the beginning of the session anyway) based on its order in the full list.

Have I got it?

Correct.

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to