[quote user="bfluet"]
Martin,
As caisson stated, the only time you can use the entire contents of a mailbox is when the paths to both the program files and the mailbox directories are identical. There are files other than pmail.ini that contain paths so just correcting it is not enough. There is a white paper that lists the files that are safe to copy from an old mailbox directory to a new one. It was created for exactly your scenario. Find it here:
http://community.pmail.com/files/folders/whitepapers/entry41852.aspx
Note: This white paper was created prior to Pegasus Mail v4.70 which introduced a different dictionary system so be aware that the file USRDICT3.PMD should not be copied. It is USRDICT5.PMD in v4.70.
FYI: The file protection of the \Program Files directory that is built into Win7 is what prevents Pegasus Mail from functioning properly if installed anywhere in a \Program Files directory like we were able to do in OSes up through XP.
My suggestion is to move all files out of the existing mailbox directories then start Pegasus Mail. It will start up needing to be configured. Reconfigure it then move files back in to the mailbox directories as per the above guide. This process is a pain if you have multiple users or a large number of identities but it is the only way to insure that none of the old configuration files affect the new install. The old pmail.ini files can serve as a reference resource during reconfiguration.
[/quote]
Thanks for all the information Brian, and also thanks to Caisson for the earlier suggestions about the migration being the cause of my unreliability problems.
I've had a look at the white paper and I think I'm clear about what to do next; my proposed approach is:
1. Firstly (after shutting down PM!), I'll mirror my entire E: drive, which includes the E:\PMAIL\MAIL folder and hence all the user-specific sub-folders and their contents, onto both of my NAS's so that I've got two fully up-to-date copies of everything relating to PM (apart from the executables etc which are now in C:\PMAIL). The mirroring of the PC's E: drive to the NAS's is part of my daily backup routine anyway, and was how I copied everything from the old WinXP machine's E: drive onto the Win7 machine's E: drive.
2. Once I've copied everything from the E:\PMAIL folder onto the NAS's, I'll delete everything in one of the user folders under E:\PMAIL\MAIL on the Win7 PC, and will then restart PM using that username. As you indicate, I'll have to reconfigure everything for that user but hopefully this shouldn't be too onerous - I use no identities other than the default one so it should just be a case of re-entering the SMTP and POP3 details, Internet and reply-to email addresses, personal name, plus setting any options that I've used (if I can remember them all!).
3. Hopefully once I've done this then that user account should work, although I assume it will be empty - there presumably won't be any folders showing under 'My mailbox' and there won't be anything in the 'New mail folder'.
4. Once the selected user account is working then I'll delete the following files from that user folder under E:\PMAIL\MAIL on the NAS: PMAIL.INI; STATE.PMJ; HIERARCH.PM; FOLSTATE.PM; and *.PND. These are the files identified in the white paper as the ones that shouldn't be over-written in a new PM installation so I don't want these being copied back from the NAS to the PC.
5. Having deleted the above-mentioned files from the selected user folder on the NAS, I'll copy everything else from that user folder on the NAS back into the corresponding user folder under E:\PMAIL\MAIL on the PC. Having done this, all the original folders and their contents will re-appear under 'My mailbox', together with anything that was previously in the 'New mail folder', and everything will work reliably won't it...??!! [:)]
Assuming the above process works successfully and there are no more PM crashes when I use that username, I'll repeat the process for the rest of my usernames - fortunately there's currently only five or six that I use regularly so the process shouldn't take too long.
How does that sound to you? If you think I've missed anything then please let me know! I won't embark on the process until tomorrow (Tuesday) now but in the meantime I'll welcome your comments on the viability and robustness of the proposed process.
Kind regards and thanks again to both for your assistance,
--
Martin
[quote user="bfluet"]<p>Martin,</p><p>As caisson stated, the only time you can use the entire contents of a mailbox is when the paths to both the program files and the mailbox directories are identical.&nbsp; There are files other than pmail.ini that contain paths so just correcting it is not enough.&nbsp; There is a white paper that lists the files that are safe to copy from an old mailbox directory to a new one.&nbsp; It was created for exactly your scenario.&nbsp; Find it here:
</p><p>http://community.pmail.com/files/folders/whitepapers/entry41852.aspx</p><p>Note: This white paper was created prior to Pegasus Mail v4.70 which introduced a different dictionary system so be aware that the file USRDICT3.PMD should not be copied.&nbsp; It is USRDICT5.PMD in v4.70.&nbsp;
</p><p>FYI:&nbsp; The file protection of the \Program Files directory that is built into Win7 is what prevents Pegasus Mail from functioning properly if installed anywhere in a \Program Files directory like we were able to do in OSes up through XP.</p><p>My suggestion is to move all files out of the existing mailbox directories then start Pegasus Mail.&nbsp; It will start up needing to be configured.&nbsp; Reconfigure it then move files back in to the mailbox directories as per the above guide.&nbsp; This process is a pain if you have multiple users or a large number of identities but it is the only way to insure that none of the old configuration files affect the new install.&nbsp; The old pmail.ini files can serve as a reference resource during reconfiguration.
</p><p>[/quote]</p><p>Thanks for all the information Brian, and also thanks to Caisson for the earlier suggestions about the migration being the cause of my unreliability problems.</p><p>I've had a look at the white paper and I think I'm clear about what to do next; my proposed approach is:</p><p>1.&nbsp; Firstly (after shutting down PM!), I'll mirror my entire E: drive, which includes the E:\PMAIL\MAIL folder and hence all the user-specific sub-folders and their contents, onto both of my NAS's so that I've got two fully up-to-date copies of everything relating to PM (apart from the executables etc which are now in C:\PMAIL).&nbsp; The mirroring of the PC's E: drive to the NAS's is part of my daily backup routine anyway, and was how I copied everything from the old WinXP machine's E: drive onto the Win7 machine's E: drive.</p><p>2.&nbsp; Once I've copied everything from the E:\PMAIL folder onto the NAS's, I'll delete <u>everything</u> in one of the user folders under E:\PMAIL\MAIL on the Win7 PC, and will then restart PM using that username.&nbsp; As you indicate, I'll have to reconfigure everything for that user but hopefully this shouldn't be too onerous - I use no identities other than the default one so it should just be a case of re-entering the SMTP and POP3 details, Internet and reply-to email addresses, personal name, plus setting any options that I've used (if I can remember them all!).</p><p>3.&nbsp; Hopefully once I've done this then that user account should work, although I assume it will be empty - there presumably won't be any folders showing under 'My mailbox' and there won't be anything in the 'New mail folder'.
</p><p>4.&nbsp; Once the selected user account is working then I'll delete the following files from that user folder under E:\PMAIL\MAIL on the NAS:&nbsp; PMAIL.INI;&nbsp; STATE.PMJ;&nbsp; HIERARCH.PM;&nbsp; FOLSTATE.PM;&nbsp; and *.PND.&nbsp; These are the files identified in the white paper as the ones that shouldn't be over-written in a new PM installation so I don't want these being copied back from the NAS to the PC.
</p><p>5.&nbsp; Having deleted the above-mentioned files from the selected user folder on the NAS, I'll copy everything else from that user folder on the NAS back into the corresponding user folder under E:\PMAIL\MAIL on the PC.&nbsp; Having done this, all the original folders and their contents will re-appear under 'My mailbox', together with anything that was previously in the 'New mail folder', and everything will work reliably won't it...??!!&nbsp; [:)]
</p><p>Assuming the above process works successfully and there are no more PM crashes when I use that username, I'll repeat the process for the rest of my usernames - fortunately there's currently only five or six that I use regularly so the process shouldn't take too long.</p><p>How does that sound to you?&nbsp; If you think I've missed anything then please let me know!&nbsp; I won't embark on the process until tomorrow (Tuesday) now but in the meantime I'll welcome your comments on the viability and robustness of the proposed process.</p><p>Kind regards and thanks again to both for your assistance,</p><p>-- </p><p>Martin
</p>