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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

HELP Please Issue with a Cur/New Folder 68Gbs within those folders

Discussion in 'E-mail Discussions' started by swifttraxxz, Jan 16, 2014.

  1. swifttraxxz

    swifttraxxz Registered

    Jan 16, 2014
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Website Owner
    Someone please help me

    Situation: I send newsletters out and its not working at all, before is was staggering, but now, nothing is being sent.
    I repaired the exim (used: exim -bp | grep \< | awk '{print $3}' | xargs exim -Mrm ) to clear the emails
    Normally this helps and takes out all the clutter.

    So i had softlayer look into it and we both can see that between the New & Cur folders there is 68gbs stored.
    Softlayer will not remove the files and gave me a few scripts.

    (cd /home/hiphop/mail/new && rm -rf * AND cd /home/hiphop/mail/cur && rm -rf *)
    These didnt work at all, the time out and say -bash: /bin/rm: Argument list too long

    I think this its because of the SIZE of the folders. I tried to go in with Transmit, then Fugu, Nothing.
    Softlayer is refusing to help with removal, last coding they sent doesn't work either.
    (find /home/hiphop/mail/new/ -type f -exec rm -rfv {} \; AND find /home/hiphop/mail/cur/ -type f -exec rm -rfv {} \;)

    Please can someone help me figure this out. I really need to get my newsletter up and running again.
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    I'm not sure that the size of the email directories would prevent new emails from sending out. Have you reviewed /var/log/exim_mainlog to determine the specific failure reason for messages sent out with your newsletter?

    Thank you.
  3. ThinIce

    ThinIce Well-Known Member

    Apr 27, 2006
    Likes Received:
    Trophy Points:
    Disillusioned in England
    cPanel Access Level:
    Root Administrator
    Taking the large mail folder problem: One way of dealing with the large folders if you want to remove ALL the mail they contain if to rm -rf the folder itself (cur new). Take note of the ownership and permission on the folder first. You should then recreate it, set the ownership and permissions correctly.

    Alternatively, give ConfigServer Mail Manage a try, this will allow you to clear the mailbox from whm, it may take a while to run but I've not actually seen it fail (although I've never removed 70G of mail with it ;) )

Share This Page