Kopano Attachment Disk Store has double size then Mailbox
-
Hi @doublex ,
@doublex said in Kopano Attachment Disk Store has double size then Mailbox:
Could anyone explain my whats the difference between Size and Total size.
what you describe is expected and comes from enabling imap on the store. When imap (or pop3) are enabled the server will additionally store the original rfc822 message for performance reasons (so it does not have to be regerated by the server when a client requests it).
This is also the main reason why imap is disabled by default for all user.
-
@Gerald: Thanks. But this is definitly not the Problem. I did this before. I dont have any other users. And i don´t have any deleted Mails.
@fbartels: Thanks. I think that was my Problem. But please can you tell my how to resolve the Problem. I needed the IMAP Feature für Migrating the Mail. It doesnt work with the PST_Migration-Tool.
Now i disabled the Featrue for this user but the size does not Change. -
oops… I will have the same issue as I did use IMAP before I started being able to share public folders and swapped mobile email client and the storage of my inbox will now be massive…
So if there is any way to remove the IMAP data not required anymore I would greatly appreciate it too…
-
ok. i told that it is only one Mailbox. What i do now is:
- Add a new Mailbox without IMAP feature
- Move all Folders and Mail from Mailbox A to Mailbox B
- Remove all Restoreable Items in Mailbox A
The hole process is needed some Hours. I tested it positiv in 1 Folder.
I will post the result after finishing. -
@doublex
How did you do 2.? -
@mcostan
2.1 open Mailbox A (old) via Webapp
2.2 give User auf Mailbox B (new) full Access
2.3 open Mailbox B (new) via Webapp
2.4 open Shared Mails (Mailbox A)
2.5 Move the Folders from Mailbox A to Mailbox B
3. Click Right on EVERY Folder of Mailbox A and open Restore items > Delete all items -
Thanks. That makes sense.
In my case I don’t think that would be viable… Too many folders.
It would be great if there was a script to do this programmatically from the back end, but I am not aware of any.
-
Technically is should be enough to clean the PR_EC_IMAP_* attributes from all messages in the store, but as far as I know no ready to use script exists for this.
Please contact our sales team if you want to sponsor such a script.
-
Thanks @fbartels
I’ll see if I get the chance of going through the database in the spare time and see if I can write something. If so I’ll post it.
-
@mcostan said in Kopano Attachment Disk Store has double size then Mailbox:
going through the database
Just to have it said: deleting or modifying stuff directly in the database is usually a bad idea. You should rather use python-kopano to perform this deletion.
-