Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Mail Deleting

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

  1. JZM

    JZM Member

    Joined:
    Aug 17, 2007
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    51
    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:
    43,711
    Likes Received:
    1,794
    Trophy Points:
    363
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,609
    Likes Received:
    32
    Trophy Points:
    238
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice