hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Software and Control Panels : Cleaning out email boxes on a VPS with cPanel/WHM
Reply

Hosting Software and Control Panels Software used in the web hosting industry. Topics include control panels, add-on software, setup scripts, etc.
Forum Jump

Cleaning out email boxes on a VPS with cPanel/WHM

Reply Post New Thread In Hosting Software and Control Panels Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 02-26-2006, 01:09 AM
SiliconWolf SiliconWolf is offline
Junior Guru Wannabe
 
Join Date: Jun 2005
Posts: 44

Cleaning out email boxes on a VPS with cPanel/WHM


I have a VPS with about 20 sites on it. I haven't been paying too much attention to the email system to this point, but then I started having lots of trouble with the webmail (takes literally minutes to load each page), so I thought I would check things out.

A few of the busier sites on the server had catch-all addresses set up to put all unrouted mail in the default mailbox, which no one was using (a mistake in retrospect). A few other people have apparently not checked their email in months. In both cases, the mailboxes are full of thousands (sometimes tens of thousands) of messages, 99% of it spam, and the other 1% I don't care about.

Is there any simple way to empty out those mailboxes without having to download all the messages? Most of the mailboxes are the ones that come with each account in cPanel, so I can't just delete the boxes themselves. I've got cPanel/WHM on the server, and shell access if I need it. I'm fairly new to this (never paid much attention to this stuff before) and I have no idea what tools are out there that might be able to help me out.

Anyone have any advice?

Reply With Quote


Sponsored Links
  #2  
Old 02-26-2006, 01:13 AM
scooterh scooterh is offline
Web Hosting Evangelist
 
Join Date: Jun 2003
Location: Texas
Posts: 453
Well a little faster way, you could

cd /home/username/mail/domain/username then just >inbox

or if its using the cpanel username as the catch all just /home/username/mail >inbox

Should work just fine for you.

__________________
................

Reply With Quote
  #3  
Old 02-26-2006, 05:13 AM
SiliconWolf SiliconWolf is offline
Junior Guru Wannabe
 
Join Date: Jun 2005
Posts: 44
Cool. Thanks.

Any tips for moving lots of messages from one mailbox to another? I know it can be done in Horde, but that's kind of tedious if there's a lot of messages (plus Horde is painfully slow on my server).

Another thing, maybe just a pipe dream: If someone has a mailbox on my server and they decide they want to start having it forward to their gmail or whatever, I set up a forwarder in cpanel. But what if there are a few messages left in their mailbox that they haven't received yet? Any way to push them to the address the mail is being forwarded to?

Reply With Quote
Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
50e60d84-776c-4551-a826-5f1945a79943 Listing 2013-03-05 18:26:17
50e60d36-b7dc-4856-8685-5a6445a79962 Listing 2013-03-05 18:26:16
50e60d01-bb6c-46b2-8328-527f45a79962 Listing 2013-03-05 18:26:15
Email Marketing Tool CakeMail Now Available via cPanel Hosting Platform Web Hosting News 2011-12-01 18:17:25
cPanel to Launch Certification Program at cPanel Conference 2011 Web Hosting News 2011-09-21 18:15:42


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?