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

    Joined:
    Jan 16, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    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

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    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

    Joined:
    Apr 27, 2006
    Messages:
    346
    Likes Received:
    7
    Trophy Points:
    18
    Location:
    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 ;) )
     
Loading...

Share This Page