Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

how to remove all ./INBOX_ files in one way??

Discussion in 'General Discussion' started by bsasninja, Aug 6, 2007.

  1. bsasninja

    bsasninja Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    528
    Likes Received:
    0
    Trophy Points:
    166
    When you convert to maildir, there are a lot of folders inside each user like

    /.INBOX_Trash
    /.INBOX_SENT
    /.INBOX_New

    this are related of mbox format, cause maildir uses

    cur
    new
    tmp

    Is there a way to remove all of them from all home directories?

    Thanks
     
  2. Bruce

    Bruce Well-Known Member

    Joined:
    Oct 4, 2001
    Messages:
    147
    Likes Received:
    0
    Trophy Points:
    316
    What a great question.
    I would like to know, as well !
     
  3. mtech-hosting

    mtech-hosting Well-Known Member

    Joined:
    Apr 30, 2006
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    156
    did you try
    Code:
    rm -rf /home/*/mail/.INBOX.Trash
    Run for each directory you wish to remove.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice