Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-19-2011, 03:30 AM
Loyal Member
 
Posts: 95
Question Unable to make free space using " zmmailbox -z -m user@domain.com emptyFolder /inbox"

Hi,
My mail server hard disk is full 95%... so i try
su - zimbra
zmmailbox -z -m user1@domain.com emptyFolder /inbox
(user1 is having mails size of at-least 5% of my harddisk)
but even after this command still my system showing same 95% disk is full..
so how can i delete mails from particular users permanently?

Last edited by sadiq007; 01-19-2011 at 03:31 AM.. Reason: spell mistake
Reply With Quote
  #2 (permalink)  
Old 01-19-2011, 03:43 AM
Zimbra Consultant & Moderator
 
Posts: 20,315
Default

Quote:
Originally Posted by sadiq007 View Post
Hi,
My mail server hard disk is full 95%... so i try
su - zimbra
zmmailbox -z -m user1@domain.com emptyFolder /inbox
(user1 is having mails size of at-least 5% of my harddisk)
but even after this command still my system showing same 95% disk is full..
so how can i delete mails from particular users permanently?
The command you've used does completely remove the mail from the user account. What you should do is get the /opt/zimbra directory structure onto a new HD subsystem.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 01-19-2011, 04:08 AM
Loyal Member
 
Posts: 95
Default

then why still my hdd showing 95% full ? as i already delete mails from my user1 which is almost bloking 5-7% of total size of hdd.
Reply With Quote
  #4 (permalink)  
Old 01-19-2011, 04:22 AM
Zimbra Consultant & Moderator
 
Posts: 20,315
Default

Quote:
Originally Posted by sadiq007 View Post
then why still my hdd showing 95% full ? as i already delete mails from my user1 which is almost bloking 5-7% of total size of hdd.
I have no idea how to answer that as I have no access to your server and you've given no details of your configuration nor what's using the space on your HD nor the location of your Zimbra mail store. All I can tell you at this stage is that the email will be gone, perhaps there wasn't much email in the Inbox? You need to check what's causing the problem with your HD space, deleting a users email is not the answer.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 03-11-2011, 10:54 PM
Loyal Member
 
Posts: 95
Default

Hi i just use
zmmailbox -z -m user5@domain.com emptyFolder /inbox
(user5 having 7GB mails in his Inbox) after using this command his inbox showing no mail .... but my disk make another only 1GB free instead of 7 GB...so where the other space gone??

Anyone have idea?
Reply With Quote
  #6 (permalink)  
Old 03-12-2011, 02:39 AM
Zimbra Consultant & Moderator
 
Posts: 20,315
Default

Quote:
Originally Posted by sadiq007 View Post
Hi i just use
zmmailbox -z -m user5@domain.com emptyFolder /inbox
(user5 having 7GB mails in his Inbox) after using this command his inbox showing no mail .... but my disk make another only 1GB free instead of 7 GB...so where the other space gone??

Anyone have idea?
As I mentioned back in January, you're still not giving any information about your HD space usage. Posting the fact you've run that command doesn't actually tell us anything about your problem, you need to provide some evidence that what you're say is actually happening.
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 03-12-2011, 05:25 AM
Loyal Member
 
Posts: 95
Default

Code:
[root@mail ~]# df -H
Filesystem             Size   Used  Avail Use% Mounted on
/dev/sda2              154G   143G   4.1G  97% /
/dev/sda1              104M    11M    88M  11% /boot
tmpfs                  1.1G      0   1.1G   0% /dev/shm
and after zmmailbox -z -m user5@domain.com emptyFolder /inbox
(user5 having 7GB mails in his Inbox) it is

Code:
[root@mail ~]# df -H
Filesystem             Size   Used  Avail Use% Mounted on
/dev/sda2              154G   142G   5.0G  97% /
/dev/sda1              104M    11M    88M  11% /boot
tmpfs                  1.1G      0   1.1G   0% /dev/shm
so where other 6GB free space gone?

Last edited by phoenix; 03-12-2011 at 07:11 AM..
Reply With Quote
  #8 (permalink)  
Old 03-13-2011, 12:09 AM
Zimbra Consultant & Moderator
 
Posts: 20,315
Default

Quote:
Originally Posted by sadiq007 View Post
Code:
[root@mail ~]# df -H
Filesystem             Size   Used  Avail Use% Mounted on
/dev/sda2              154G   143G   4.1G  97% /
/dev/sda1              104M    11M    88M  11% /boot
tmpfs                  1.1G      0   1.1G   0% /dev/shm
and after zmmailbox -z -m user5@domain.com emptyFolder /inbox
(user5 having 7GB mails in his Inbox) it is

Code:
[root@mail ~]# df -H
Filesystem             Size   Used  Avail Use% Mounted on
/dev/sda2              154G   142G   5.0G  97% /
/dev/sda1              104M    11M    88M  11% /boot
tmpfs                  1.1G      0   1.1G   0% /dev/shm
so where other 6GB free space gone?
How about the fact that your 'before' & 'after' available space has gone up by 9GB? As I mentioned earlier, you've also given no information about the size of the Zimbra mail store before and after removing the mail. Don't forget that the mailbox quota isn't just consumed by email, it also consists of files in the briefcase and/or documents.

You're also asking for problems with your current HD setup, if there's any process that fills up the HD you'll have problems with zimbra (and your server) failing. You need to consider moving the /opt/zimbra directory off your boot disk and reconfiguring your partition layout to avoid any future problems.
__________________
Regards


Bill
Reply With Quote
  #9 (permalink)  
Old 04-27-2011, 02:54 AM
Loyal Member
 
Posts: 95
Default

Now this time i am again facing the same problem with another mail server....
this time i had remove mails from webmail manually...
Before deleting mails

Code:
df -H
[root@mail ~]# df -H
Filesystem             Size    Used  Avail     Use% Mounted on
/dev/sda2              174G   156G   18.1G  90%    /
after that i just login into webmail for user1 where it is showing it will using
5 GB of Unlimited
then i completly remove all mails from that users inbox and finally it showing
0 MB of Unlimited
but if i check again df -H then it is showing that only 1.5 GB is free after deleting that inbox mails, so where this other space is gone?

Code:
df -H
[root@mail ~]# df -H ( after deleting 5 GB mails from inbox of user1)
Filesystem             Size    Used      Avail    Use% Mounted on
/dev/sda2              174G   157.5G   16.6G  89%    /
i am strange that no one is facing problem like me....
Any solution there? or is it the standard zimbra's behavior ?
Reply With Quote
  #10 (permalink)  
Old 04-28-2011, 10:45 PM
Active Member
 
Posts: 27
Default

Try backing up the user, move the backup to a safe place, and then delete the whole account and re-create it from scratch.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.