LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 05-23-2002, 03:06 AM   #1
J_Szucs
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, 08:20 AM   #2
killjoy
Member
 
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, 09:25 AM   #3
Rashkae
Member
 
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)
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration