The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Can I delete the file var/spool/mail/news? dennisheazle UNIX for Dummies Questions & Answers 3 04-08-2008 11:12 PM
How safe is it to remove files(/var/spool/mail)? larcom61 UNIX for Dummies Questions & Answers 2 12-02-2005 01:48 AM
in var/spool/mail, same entry with different users.... yls177 UNIX for Dummies Questions & Answers 2 11-08-2002 10:18 AM
NOQUEUE: low on space ( have 0, SMTP-DAEMON needs 101 in /var/spool/mqueue) Dolly UNIX for Dummies Questions & Answers 10 06-13-2002 10:33 AM
/var/spool/mqueue !!! Wingman21 UNIX for Dummies Questions & Answers 3 06-11-2002 09:47 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-19-2005
xadamz23 xadamz23 is offline
Registered User
  
 

Join Date: Aug 2003
Posts: 31
Mail going to /var/spool/mqueue instead of being sent

Hello,

I have a bunch of cron jobs in the crontab. For some reason mail from the cron jobs started going to /var/spool/mqueue instead of being sent.

Does anyone know why mail from cron jobs would go to the queue instead of being sent?
  #2 (permalink)  
Old 10-19-2005
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
Suppose the remote system was down. What else could your system do?
  #3 (permalink)  
Old 10-19-2005
xadamz23 xadamz23 is offline
Registered User
  
 

Join Date: Aug 2003
Posts: 31
Quote:
Originally Posted by Perderabo
Suppose the remote system was down. What else could your system do?

It's not being mailed to a remote system. It is being mailed to the "root" account on the local system.
  #4 (permalink)  
Old 10-19-2005
xadamz23 xadamz23 is offline
Registered User
  
 

Join Date: Aug 2003
Posts: 31
I believe I have figured out the problem. I found the following in the Sendmail man page:

# Queue-Only Load Average (option QueueLA): #
# #
# In order to limit load on a very busy system, sendmail can be #
# configured to queue up low priority messages rather than attempt #
# delivery immediately if the five-minute load average is greater #
# than some integer value, by default 8. This value is defined on #
# the line beginning O QueueLA=. #
# #
# Refuse-Connections Load Average (option RefuseLA): #
# #
# In order to limit load on a very busy system, the sendmail daemon #
# can be configured not to accept SMTP connections if the five- #
# minute load average is greater than some integer value, by #
# default 12. This value is defined on the line beginning #
# O RefuseLA=


The load average on my server is at about 22 so mail is being queued instead of sent. I'll have to set the RefuseLA and QueueLA values higher in the Sendmail config file.
  #5 (permalink)  
Old 10-21-2005
mschwage mschwage is offline
Registered User
  
 

Join Date: Jul 2005
Location: Oak Park, IL
Posts: 102
22! Sounds like you need a bigger server!
  #6 (permalink)  
Old 05-08-2009
ktanya ktanya is offline
Registered User
  
 

Join Date: May 2009
Posts: 7
Hi,
I have the same problem. Do I need to change sendmail.cf
Should I uncomment the line for the O RefuseLA=
and RefuseLA.
thank you
tanya
  #7 (permalink)  
Old 05-08-2009
methyl methyl is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 1,163
The "mailq" command should tell you why the items are queued.
Obviously check free disc space.
The "sendmail -q" command might wake it up if mail is "deferred".
Reply

Bookmarks

Tags
load average, performance

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:11 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0