The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    16
    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:
    16
    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:
    6
    did you try
    Code:
    rm -rf /home/*/mail/.INBOX.Trash
    Run for each directory you wish to remove.
     
Loading...

Share This Page