• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Issue mailbox usage shown vs mails in webmail

haaid

New Pleskian
Hi all,

One of my mailboxes is shown to use 616Gb. This is a mailbox that has no limit set and was 308Gb just a bit ago.
I figured something was wrong as I have access to this mailbox and can't see very many mails.
I tried repairing this mailbox with the plesk repair mail command and that doubled the usage size...

if I use the "du" command to find largest directories and files i notice these being the cullprit:

622198544 /var/qmail/mailnames/<domain>/<user>/Maildir/.Trash
332034664 /var/qmail/mailnames/<domain>/<user>/Maildir/.Trash/cur
289570928 /var/qmail/mailnames/<domain>/<user>/Maildir/.Trash/tmp

If I check in webmail, there are hardly any file in the trash.

Can I safely remove or empty the .Trash directory via commandline?

Any suggestions welcome.
 
I would suggest you move the files, check if everything still works and then remove the files. If anything breaks, you can always move the files back.
 
Deleting the files didn't solve the issue that it still showed in the GUI as 616 Gb. As this was (after deletion of the files) a mostly empty mailbox, I just deleted it and remade it, only then I didn't see the gigantic size anymore. I have another mailbox, that is used a lot (so which I can't just delete and make anew) which has the same problem.
 
Back
Top