The list displayed in the Folder window is a virtual list. Trays and Folders are not physical locations in the mailbox in the sense of directories and subdirectories. Instead there is a file named HIERARCH.PM that records and maintain the structure of Trays and Folders. When that file gets corrupted, Pegasus Mail will create a new one by polling each of the folder files and adding an entry for each in the new file.
Thank you for your (prompt) reply. Yes, I did know that what the Folder window shows is a virtual list, sort of, since each message folder has its own file etc, but had completely forgot about HIERARCH.PM.
(And also thanks for the hints/info.)
Ah, if we start with the simple things; I did understand that "Deleted" would appear again as soon as something was deleted, but you can confirm that it's the same with Recent search results, good. I've no problems with it being empty, as I said I hadn't used it recently.
Speaking of recent, the sad thing is that I don't have a recent copy of HIERARCH.PM... If I compare the content of a copy of HIERARCH.PM, as it is now, with an old backup, I obviously find the filling tray in the old copy of the file:
1,3,"[removed by me]:My mailbox","Diverse"
But the old version also contains some old entries that seems to point to nowhere, such as:
0,0,"EDSW8N4U:3FA5:FOL008E5","096C883:My mailbox",Name_Unavailable,0,20
There is no such file as "FOL008E5" etc.
And is there any explanation to the "syntax" in HIERARCH.PM, i.e. starting with "2,1" for My mailbox; "1,3" for a filling tray; "0,256" Deleted messages; "1,0" Recent search results; then I have couple of entries (still looking at the old copy of HIERARCH.PM) that start with "2,0" I can't find in the recently recreated HIERARCH.PM. (They are not in alphabetical order in any of the copies of HIERARCH.PM, I assume that is just how PM presents the list in the folder window, but these numbers must have something to do with with the hierarchy and staus of the entries in the list; it being a filling tray etc?)
I know that using PM, in different versions, for very long time, as many tend to do, can result in some old files or entries still being there.
Could restoring an old copy of HIERARCH.PM mess up something, or the contents within the files, say main.PMM, FOLDxyz.PMM etc., i.e. message folders? Guess it's quite easy to test, obviously, if I take a backup of all in PMAIL\MAIL as it is before, then restore/copy the old backup of HIERARCH.PM.
[quote="pid:56649, uid:28772"]The list displayed in the Folder window is a virtual list. Trays and Folders are not physical locations in the mailbox in the sense of directories and subdirectories. Instead there is a file named HIERARCH.PM that records and maintain the structure of Trays and Folders. When that file gets corrupted, Pegasus Mail will create a new one by polling each of the folder files and adding an entry for each in the new file.[/quote]
Thank you for your (prompt) reply. Yes, I did know that what the Folder window shows is a virtual list, sort of, since each message folder has its own file etc, but had completely forgot about HIERARCH.PM.
(And also thanks for the hints/info.)
Ah, if we start with the simple things; I did understand that "Deleted" would appear again as soon as something was deleted, but you can confirm that it's the same with Recent search results, good. I've no problems with it being empty, as I said I hadn't used it recently.
Speaking of recent, the sad thing is that I don't have a recent copy of HIERARCH.PM... If I compare the content of a copy of HIERARCH.PM, as it is now, with an old backup, I obviously find the filling tray in the old copy of the file:
1,3,"[removed by me]:My mailbox","Diverse"
But the old version also contains some old entries that seems to point to nowhere, such as:
0,0,"EDSW8N4U:3FA5:FOL008E5","096C883:My mailbox",Name_Unavailable,0,20
There is no such file as "FOL008E5" etc.
And is there any explanation to the "syntax" in HIERARCH.PM, i.e. starting with "2,1" for My mailbox; "1,3" for a filling tray; "0,256" Deleted messages; "1,0" Recent search results; then I have couple of entries (still looking at the old copy of HIERARCH.PM) that start with "2,0" I can't find in the recently recreated HIERARCH.PM. (They are not in alphabetical order in any of the copies of HIERARCH.PM, I assume that is just how PM presents the list in the folder window, but these numbers must have something to do with with the hierarchy and staus of the entries in the list; it being a filling tray etc?)
I know that using PM, in different versions, for very long time, as many tend to do, can result in some old files or entries still being there.
Could restoring an old copy of HIERARCH.PM mess up something, or the contents within the files, say main.PMM, FOLDxyz.PMM etc., i.e. message folders? Guess it's quite easy to test, obviously, if I take a backup of all in PMAIL\MAIL as it is before, then restore/copy the old backup of HIERARCH.PM.
edited Jun 7 at 10:23 pm