Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Mar 2004
    Posts
    95

    Default weird thing about reading e-mail size.

    du -k /home/domain/mail/domain.com/$user

    i use to use this command to show the size of every e-mail to keep a control.
    because its a webmail system.

    but, after the convertion to maildir it show me like its empty

    what have been change where should i look for the files etc.. ?

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    You have to total up all the files in the subdirectories beneath the one that you used to look in. That is, try:

    du -k --max-depth=1 /home/domain/mail/domain.com/$user
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Member
    Join Date
    Mar 2004
    Posts
    95

    Default

    yes solved great but im wondering it was working fine before only with du -k


    but thx

  4. #4
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    It was working before because prior to the maildir conversion you only had files at that level in the directory tree (e.g. inbox). Now with maildir theirs a new directory hierarchy and the new directive I added counts all the files under that tree.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. WEIRD thing happened when I restarted bind
    By junglecat in forum cPanel and WHM Discussions
    Replies: 13
    Last Post: 04-07-2005, 04:55 AM
  2. DNS Issue Weird thing.. I hope you can help me with this
    By bsasninja in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-03-2005, 11:31 PM
  3. Weird thing happening...
    By v-rod in forum New User Questions
    Replies: 0
    Last Post: 09-01-2004, 09:54 AM
  4. Weird thing appearing on all cPanel pages
    By dxer in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-10-2004, 03:39 PM
  5. Weird WHM thing...
    By nuhost in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-14-2004, 06:18 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube