Community Discussions and Support
HEIRARCH.pm Corruption

For folders you can use the mbxmaint or mbxmaint_ui utilities that are included with Mercury to find and fix errors (the first one is a command-line tool, the second one has a normal user interface). For the mailbox structure the best is to have Mercury recreate it (if not multi-layered). If just renaming the HIERARCH.PM file didn't do it, you could try something like this:

- Make sure there are no open connections to the mailbox.

- Rename or move away HIERARCH.PM, STATE.PMJ and IMAPSUB.PM (if it exists).

- Connect to the mailbox with an IMAP client, and check the new HIERARCH.PM file that was created. You could do it with Pegasus first, just to exclude the possibility that Outlook or Thunderbird does something unexpected.

/Rolf 

<p>For folders you can use the mbxmaint or mbxmaint_ui utilities that are included with Mercury to find and fix errors (the first one is a command-line tool, the second one has a normal user interface). For the mailbox structure the best is to have Mercury recreate it (if not multi-layered). If just renaming the HIERARCH.PM file didn't do it, you could try something like this:</p><p>- Make sure there are no open connections to the mailbox.</p><p>- Rename or move away HIERARCH.PM, STATE.PMJ and IMAPSUB.PM (if it exists).</p><p>- Connect to the mailbox with an IMAP client, and check the new HIERARCH.PM file that was created. You could do it with Pegasus first, just to exclude the possibility that Outlook or Thunderbird does something unexpected.</p><p>/Rolf </p>

I have a couple of users using IMAP - one with Outlook 2007 as a client and one with Thunderbird, whose HEIRARCH.pm file keeps corrupting.  I'm always able to fix it via a combination of mounting the users' mail stores in PMail and manually editing the HEIRARCH.pm file, but I can't understand why this is happening.  The users don't even have very many messages stored.  This is what it looks like:

 2,1,"73F54991:My Mailbox","","My Mailbox"
0,0,"393F51FC:73F5:FOL026E1","73F54991:My Mailbox","Junk E-mail"
0,0,"21F7B058:300F:FOL05A1F","73F54991:My Mailbox","SENT"
0,0,"32C5B032:6F18:FOL06161","73F54991:My Mailbox","CALENDAR REQUESTS"
0,0,"69E0E987:6A18:FOL06743","73F54991:My Mailbox",Name_Unavailable
0,0,"73D3AC76:62CB:FOL060BC","73F54991:My Mailbox","ARCHIVE2012"
0,0,"","73F54991:My Mailbox",Name_Unavailable
0,0,"U 3925 YEZ4ADVA.CNM U 3926 3I0NUG73F54991:My Mailbox","73F54991:My Mailbox","8Ud¨ eÌÖˆøc¨ el×óc"
0,0,"U 3925 YEZ4ADVA.CNM U 3926 3I0NUG73F54991:My Mailbox","73F54991:My Mailbox","8Ud¨ eÌÖˆøc¨ el×óc"

The last 2 lines are really confusing to me.  Any ideas?

<p>I have a couple of users using IMAP - one with Outlook 2007 as a client and one with Thunderbird, whose HEIRARCH.pm file keeps corrupting.  I'm always able to fix it via a combination of mounting the users' mail stores in PMail and manually editing the HEIRARCH.pm file, but I can't understand why this is happening.  The users don't even have very many messages stored.  This is what it looks like:</p><p> 2,1,"73F54991:My Mailbox","","My Mailbox" 0,0,"393F51FC:73F5:FOL026E1","73F54991:My Mailbox","Junk E-mail" 0,0,"21F7B058:300F:FOL05A1F","73F54991:My Mailbox","SENT" 0,0,"32C5B032:6F18:FOL06161","73F54991:My Mailbox","CALENDAR REQUESTS" 0,0,"69E0E987:6A18:FOL06743","73F54991:My Mailbox",Name_Unavailable 0,0,"73D3AC76:62CB:FOL060BC","73F54991:My Mailbox","ARCHIVE2012" 0,0,"","73F54991:My Mailbox",Name_Unavailable 0,0,"U 3925 YEZ4ADVA.CNM U 3926 3I0NUG73F54991:My Mailbox","73F54991:My Mailbox","8Ud¨ eÌÖˆøc¨ el×óc" 0,0,"U 3925 YEZ4ADVA.CNM U 3926 3I0NUG73F54991:My Mailbox","73F54991:My Mailbox","8Ud¨ eÌÖˆøc¨ el×óc" </p><p>The last 2 lines are really confusing to me.  Any ideas?</p>

Unless it's a complicated folder structure with multiple layers it's probably best to rename the corrupted HIERARCH.PM file to force Mercury to automatically create a new one on the next login.

/Rolf 

<p>Unless it's a complicated folder structure with multiple layers it's probably best to rename the corrupted HIERARCH.PM file to force Mercury to automatically create a new one on the next login.</p><p>/Rolf </p>

Thanks for the suggestion, but I tried that and the file looked the same after it was recreated.  Is the folder itself becoming corrupted?  The fix has always involved using PMail to make a new folder and move everything from the old (maybe corrupt) folder into that new folder.

Thanks for the suggestion, but I tried that and the file looked the same after it was recreated.  Is the folder itself becoming corrupted?  The fix has always involved using PMail to make a new folder and move everything from the old (maybe corrupt) folder into that new folder.
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft