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 do you empty email accounts full of spam?

Discussion in 'E-mail Discussions' started by lexmark, Jan 15, 2005.

  1. lexmark

    lexmark Well-Known Member

    Joined:
    Sep 10, 2003
    Messages:
    115
    Likes Received:
    0
    Trophy Points:
    16
    When someone receives so much spam that their mailbox gets full, they cannot delete the account or anything so it is up to the admin to empty it. How is this done? Thanks
     
  2. Keegan

    Keegan Well-Known Member

    Joined:
    Oct 22, 2001
    Messages:
    110
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    finding big boxes

    ls -lah /home/*/mail/inbox --sort=size

    to just wipe out file and start new small file keeping permissions

    echo >inbox

    if they want to keep it:

    mv inbox inbox.old
    touch inbox
    chown username.mail inbox
    chmod 660 inbox
     
Loading...

Share This Page