Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-23-2002, 04:06 AM   #1
Senior Member
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Rep: Reputation: 58
Overfilled message queue. I need very ugent help!

Our intranet server using sendmail stopped delivering messages.
I found that the /var partition is filled up to 107%, possibly due to the extremely large /var/spool directory.
Please help me how to empty the message queue of sendmail so that it can be fit again, and the messages in the queue presently be preserved for future processing? (I.e. no mails should be lost).
Please be specific as I am a green newbie to sendmail, I do not even know how to start and stop it.
Old 05-23-2002, 09:20 AM   #2
Registered: Mar 2001
Location: Atlanta,GA
Distribution: Red Hat, Mandrake
Posts: 66

Rep: Reputation: 15
Usually this happens when people (users) leave a copy of their messages on the server. We used to have this problem all the time.
Another cause is the /var/log/ directory. If you check here you will find log files such as "messages.<number>" or "secure.<number>". These will be the older log files and can be deleted with no worries. If you do not delete them they will fill up your /var partition and stop services that depend on them.

DO NOT delete logs not followed by ".<number>"! You will need this info at some point!

to restart any service, use "/etc/init.d/<servicename> restart"
to stop, it's "/etc/init.d/<servicename> stop"
etc, etc....
Old 05-23-2002, 10:25 AM   #3
Registered: May 2002
Distribution: Slackware
Posts: 125

Rep: Reputation: 15
cd /var/spool/mail
type ls -l and look for any really large files, these will be users not taking their mail off the server. Just copy the files somewhere else for later processing to clear up the space. (The file will be in MBOX format, and can at any time be renamed to a new user for processing, or opened with Pine or Mutt or many other Linux Mail Agents)


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
does rh9.0 support POSIX message queue? simon_qwl Programming 1 07-22-2005 06:25 PM
Big Problem with overfilled directory davesbedroom Linux - Software 11 01-19-2005 04:38 PM
multithreaded server using single message queue ekern Programming 0 11-19-2004 02:30 AM
programming for message queue and such ... feetyouwell Programming 0 10-18-2004 05:54 PM
Qmail Message Queue dadepfan Linux - Software 0 07-22-2004 04:54 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:02 PM.

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