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 delete thousands of deault emails?

Discussion in 'E-mail Discussions' started by DWHS.net, Oct 8, 2005.

  1. DWHS.net

    DWHS.net Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,569
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    The default email of an account has over 10k emails and needs to be cleaned out.

    Anyone know of a easy way to do this?

    Thanks,
     
  2. WilliamE

    WilliamE Well-Known Member

    Joined:
    May 14, 2004
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    Are they in the queue or have they already been delivered? If they're already delivered you can just delete their mailbox file.
     
  3. DWHS.net

    DWHS.net Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,569
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    They are delived to the mail box allready, where is the default mail file for a domain?

    Thanks,
     
  4. G-WebHosting

    G-WebHosting Member

    Joined:
    May 28, 2005
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Bristol, UK
    Log in to WHM, go to the Server Contacts subtab, then go on Change System Mail Preferences, (you need to have root access), and you can enter :blackhole: so you don't receive unwanted emails, or do what i do, make the emails go to a special email address just for the emails, its handy because it doesn't annoy you and are handy for reference in some cases.
     
  5. Murtaza_t

    Murtaza_t Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    476
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Earth
    cPanel Access Level:
    Website Owner
    Give this command to clean the inbox of default email address :

    Code:
    ]# cd /home/user_name/mail/
    
    ]# echo > inbox
     
Loading...

Share This Page