Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Apr 2008
    Posts
    9

    Default Emptying the default mailbox

    Is there a way that I can quickly remove emails in a default mail box? As we have a couple of accounts with about 800mb of spam in them which need clearing out?

    cheers.

  2. #2
    Member
    Join Date
    Jan 2005
    Location
    /dev/null
    Posts
    770

    Default

    from ssh,

    For Unread:
    Code:
    rm -fv /home/USERNAME/mail/new/*
    For Read:
    Code:
    rm -fv /home/USERNAME/mail/cur/*
    Obviously replacing 'USERNAME' with the user in question

  3. #3
    Member
    Join Date
    Apr 2008
    Posts
    9

    Default thank you

    thank you very much!

Similar Threads & Tags
Similar threads

  1. Forwarding to default mailbox
    By Bdzzld in forum cPanel and WHM Discussions
    Replies: 16
    Last Post: 07-20-2008, 12:34 PM
  2. Change Default Mailbox Size
    By HappyPappy in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-21-2007, 04:46 AM
  3. Default Mailbox ? Why ?
    By 4u123 in forum cPanel and WHM Discussions
    Replies: 14
    Last Post: 03-27-2006, 10:02 AM
  4. Changing default mailbox size.
    By SuperBaby in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-02-2004, 03:42 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube