Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Unable to make free space using " zmmailbox -z -m user@domain.com emptyFolder /inbox"

  1. #1
    Join Date
    May 2009
    Location
    INDIA
    Posts
    104
    Rep Power
    6

    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 04:31 AM. Reason: spell mistake

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    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


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    May 2009
    Location
    INDIA
    Posts
    104
    Rep Power
    6

    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.

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    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


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Join Date
    May 2009
    Location
    INDIA
    Posts
    104
    Rep Power
    6

    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?

  6. #6
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    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


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    Join Date
    May 2009
    Location
    INDIA
    Posts
    104
    Rep Power
    6

    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 08:11 AM.

  8. #8
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    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


    Acompli: A new adventure for Co-Founder KevinH.

  9. #9
    Join Date
    May 2009
    Location
    INDIA
    Posts
    104
    Rep Power
    6

    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 ?

  10. #10
    Join Date
    Apr 2011
    Posts
    28
    Rep Power
    4

    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.

Similar Threads

  1. Inconsistent Zimbra install behaviour
    By mkolbjor in forum Installation
    Replies: 2
    Last Post: 02-07-2008, 03:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •