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.

Mail Deleting

Discussion in 'E-mail Discussions' started by JZM, Mar 27, 2012.

  1. JZM

    JZM Member

    Joined:
    Aug 17, 2007
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Hey,

    How could I delete all of the emails that are taking up diskspace and sitting in the accountusername@domain account?

    Jess
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    The mail for the inbox of the default user is stored within the following directory:

    Code:
    # /home/username/mail/cur
    You can remove this mail via SSH, FTP, or File Manager. Also, it's a good idea to set the default address to:

    "Discard with error to sender (at SMTP time)"

    This will ensure future mail sent to email addresses that do not exist is discarded.

    Thank you.
     
  3. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    If you have root access in WHM, it would be a good idea to set to "Fail" in WHM > Tweak Settings area:

    The default is the system account, but changing this to fail will considerably cut down on these accounts filling up.
     
Loading...

Share This Page