Mailing List Message #103498
From: Robin Lewis <>
Subject: Re: Email- Mailbox storage Used amount doesnt match file system
Date: Thu, 6 Sep 2012 14:00:22 +0100
To: CommuniGate Pro Discussions <>
X-Mailer: Apple Mail (2.1084)
Thanks Nicolas
I will experiment out of hours with that later.

On 5 Sep 2012, at 19:49, Nicolas Hatier wrote:

If you choose to edit the file, you can do it as follows:
- Delete the #StorageUsed line
- Delete all mailbox lines which don't have a "Class=IPF..." in them. These are special mailboxes (calendar, tasks, notes, etc), and if you delete those lines those mailboxes will lose their status.
- Or, carefully examine, there may be mailbox lines about mailboxes that don't exist anymore, especially if mailboxes have been deleted on the filesystem and not in CGP. These lines may be counted in the account storage and will NOT be removed by an account rescan.

Note that doing so will likely produce a warning log entry each time the user accesses any of his mailbox for the first time.
Also note that is cached by CGP when the account is accessed, you may need to stop CGP before editing the file.

The "easy" way can also be to simply delete to start over. You can use the SetMailboxClass CLI function to reset the class of the special mailboxes, if any. also contains Roster information, Subscription list, Webmail settings, etc., which will be lost if you don't preserve them.

I think two small things should be done in CGP regarding this:
- The Rescan account storage should remove all mailbox lines from that don't match to an existing mailbox anymore
- should be split in two files, one containing persistent data (Roster, account preferences [#Viewer], mailbox classes, mailbox ACL, aliases, subscription), and another containing transient/cached information - counts, sequences, uidnext, etc., values that can be recalculated.


On 2012-09-05 14:30, Jeff Wark wrote:
Maybe that only rescans mail storage and not account storage [which would include file/web storage].

Years ago, I actually used to remove the file from the directory.  It seemed to work fine after that, but you would basically get a new file and you would lose any information that may be in there.  That may be where rules are stored.

On 9/5/2012 1:36 PM, Robin Lewis wrote:
Thanks Jeff
Ive tried that and it made no difference.


Robin Lewis
IT and Communications Manager
0207 400 4500

Primary Talent International
The Primary Building
10-11 Jockey's Fields

Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster