LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-18-2011, 03:32 PM   #1
magicman
LQ Newbie
 
Registered: Mar 2011
Posts: 6

Rep: Reputation: 0
var/spool/mail is full - how do I clear it?


My /var/spool/mail file is overloading my var partition. My mqueue and clientmqueue files are manageable but how do I clear the mail file?
 
Old 03-18-2011, 04:11 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
use mail/mutt/pine/... to read and/or delete the mails ... or just
kill the file if you're not interested in its content. Though
I'd go and check the content to see how/why it's filling up.



Cheers,
Tink
 
Old 03-18-2011, 04:12 PM   #3
EDDY1
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,085

Rep: Reputation: 448Reputation: 448Reputation: 448Reputation: 448Reputation: 448
http://www.linuxforums.org/forum/new...pool-mail.html
 
Old 03-18-2011, 06:41 PM   #4
Thor_2.0
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,190
Blog Entries: 23

Rep: Reputation: 278Reputation: 278Reputation: 278
Just out of the "stuff that kills cats" - but, how did ya find that out, that the /var/spool/mail is ... full?
Just wanna learn something here, so...

Tnx!

Thor
 
Old 03-19-2011, 03:14 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
Quote:
Originally Posted by linusr@flanders View Post
Just out of the "stuff that kills cats" - but, how did ya find that out, that the /var/spool/mail is ... full?
Just wanna learn something here, so...

Tnx!

Thor

Depending on your partitioning scheme, but something like
this
du -sm /*|sort -n
cd into dir at bottom
repeat
 
1 members found this post helpful.
Old 03-19-2011, 03:39 PM   #6
Thor_2.0
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,190
Blog Entries: 23

Rep: Reputation: 278Reputation: 278Reputation: 278
Thanks Tinkster! Gives me a more complete image of my disk, sure beats the "estimate" of the file browser.
This one's for the cork wall (ya know, that board you pin things on to) to be used regularly!

Tnx!

Thor
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to clear out /var/spool/clientmqueue jerlinuxdude Linux - Software 4 03-29-2012 02:02 AM
Unable to open mail spool file /var/mail/root cccc Debian 4 09-14-2006 01:31 PM
spam_buttons move from /var/spool/mail/user to $HOME/mail/Junk paul_mat Linux - Software 0 05-25-2006 02:07 AM
Import Mail from /var/spool/mail (sendmail) to a MailDir Format in Postfix shawnbishop Linux - Software 0 04-06-2006 10:44 AM
sendmail error Fetching mail could not lock /var/spool/mail/username sukhdev50 Linux - Networking 0 05-04-2005 03:41 AM


All times are GMT -5. The time now is 10:58 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration