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

swifttraxxz

Registered
Jan 16, 2014
1
0
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
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.
 

ThinIce

Well-Known Member
Apr 27, 2006
352
9
168
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 ;) )