[quote user="James Kosalos"]
Tom,
Definately a step forward. Thanks. The Hierarch.pm file was 14kb and now is 5 kb when all of the "name Unavailable" lines are deleted. When pegasus was restarted with the edited hierarch.pm file in place, the majority (but not all) of the "invisible" files/messages reappeared, but they have appeared in "My Mailbox" and not in the reattached mailbox, "2007_Mail_NG," the one with 352M of messages; that mailbox still appears to be empty.
This still might be a hierarch.pm problem but it also may be caused by two identical folders (folders with the same internal ID in the PMM file) Is it possible that some of these might have an identical name? You might want to use this utility on the files in the directory being added to ensure that they all are unique.
PMRestArch - Pegasus Mail Restore Mail Folder Archives:
http://www.lexacorp.com.pg
Usage:
PMRestArch SourceDir DestinationDir
Description:
Pegasus Mail cannot display two mail folders with the same internal ID even if they are in separate mailboxes. Mail folders also have to be Read-Write.
This causes problems when trying to view mail folders which have been archived by copying them to backup media.
This utility:
1. Copies all .PMM and .PMI files in the source directory to
the destination directory and renames them as BAKxxxxx.PMM
and BAKxxxx.PMI.
2. Ensures that the resulting file is Read/Write.
3. Creates a different internal unique ID for each file.
Once you have run this program to restore archived folders to a directory you can attach that directory using the Pegasus Mail 'Add mailbox to list' option and access the archived folders in this new mailbox.
When I search in C:\pmail\mail for *.PMM and *.PMI files I find that the great majority of them are in the C:\pmail\mail\2007_Mail_NG directory that was reattached and not in C:\PMAIL\Mail\ADMIN where I presume they would be located if indeed they were supposed to appear in "My Mailbox".
Not sure what you mean here. Attached mailboxes do not move.
I think that something is still cross threaded as Pegasus is incorrectly identifying the location of the messages. I'm waiting for your observations before I again try detaching and reattaching the 2007_Mail_NG mailbox because this operation appears to be instrumental in the "leakage" of files and directories that Pegasus is able to "see".
You must always use the same string for re-attaching a previously attached mailbox so that the hierarch.pm and folstate.pm do not get corrupted.
I'd like to try to get at the root of the problem before I go through the work of reindexing all my messages. It's best to avoid the problem in the future.
I suspect that you did some moving of folders outside of WinPMail, including copying of folders. Whenever you work outside of the program copying, moving and deleting folders, this sort of thing can happen.
Jim
[/quote]
[quote user="James Kosalos"]<p>Tom,</p>
<p>Definately a step forward.&nbsp; Thanks.&nbsp; The Hierarch.pm file was 14kb and now is 5 kb when&nbsp;all of the "name Unavailable" lines are deleted.&nbsp; When pegasus was restarted with the edited hierarch.pm file in place, the majority (but not all) of the "invisible" files/messages&nbsp;reappeared, but they have appeared in&nbsp;"My Mailbox" and not in the reattached mailbox, "2007_Mail_NG," the one with 352M of messages; that mailbox still appears to be&nbsp;empty.&nbsp;</p><p>&nbsp;</p><p><b>This still might be a hierarch.pm problem but it also may be caused by two identical folders (folders with the same internal ID in the PMM file)&nbsp; Is it possible that some of these might have an identical name?&nbsp; You might want to use this utility on the files in the directory being added to ensure that they all are unique.</b></p><p>&nbsp;</p><p><b>PMRestArch - Pegasus Mail Restore Mail Folder Archives:
http://www.lexacorp.com.pg
Usage:
PMRestArch SourceDir DestinationDir
Description:
Pegasus Mail cannot display two mail folders with the same internal ID even if they are in separate mailboxes. Mail folders also have to be Read-Write.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
This causes problems when trying to view mail folders which have been archived by copying them to backup media.
This utility:
1.&nbsp; Copies all .PMM and .PMI files in the source directory to
&nbsp;&nbsp;&nbsp; the destination directory and renames them as BAKxxxxx.PMM
&nbsp;&nbsp;&nbsp; and BAKxxxx.PMI.
2.&nbsp; Ensures that the resulting file is Read/Write.
3.&nbsp; Creates a different internal unique ID for each file.
Once you have run this program to restore archived folders to a directory you can attach that directory using the Pegasus Mail 'Add mailbox to list' option and access the archived folders in this new mailbox.
</b>
</p><p>When I search in C:\pmail\mail for *.PMM and *.PMI files I find that the great majority of them are in the C:\pmail\mail\2007_Mail_NG directory that was reattached and not in C:\PMAIL\Mail\ADMIN where I presume they would be located if indeed they were supposed to appear in "My Mailbox".</p><p>&nbsp;
<b>Not sure what you mean here.&nbsp; Attached mailboxes do not move.
</b></p><p>&nbsp;</p>
<p>I think that something is still cross threaded as Pegasus is incorrectly identifying the location of the messages.&nbsp; I'm waiting for your observations before I again try detaching and reattaching the 2007_Mail_NG mailbox because this operation appears to be instrumental in the "leakage" of files and directories that Pegasus is able to "see".</p><p>
<b>You must always use the same string for re-attaching a previously attached mailbox so that the hierarch.pm and folstate.pm do not get corrupted.</b>
&nbsp;</p>
<p>I'd like to try to get at the root of the problem before I go through the work of reindexing all my messages.&nbsp; It's best to&nbsp;avoid the problem&nbsp;in the future.</p><p>&nbsp;</p><p><b>I suspect that you did some moving of folders outside of WinPMail, including copying of folders.&nbsp; Whenever you work outside of the program copying, moving and deleting folders,&nbsp; this sort of thing can happen.</b></p><p> &nbsp;</p>
<p>Jim&nbsp;</p>[/quote]