LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   var/spool/mail is full - how do I clear it? (https://www.linuxquestions.org/questions/linux-newbie-8/var-spool-mail-is-full-how-do-i-clear-it-869480/)

magicman 03-18-2011 03:32 PM

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?

Tinkster 03-18-2011 04:11 PM

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

EDDY1 03-18-2011 04:12 PM

http://www.linuxforums.org/forum/new...pool-mail.html

ButterflyMelissa 03-18-2011 06:41 PM

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

Tinkster 03-19-2011 03:14 PM

Quote:

Originally Posted by linusr@flanders (Post 4295556)
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

ButterflyMelissa 03-19-2011 03:39 PM

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


All times are GMT -5. The time now is 04:13 PM.