sendmail queue

sendmail queue

Post by Gunter Si » Wed, 19 Sep 2001 18:09:00



I have sometimes many mails in my sendmail queue:

Quote:> sendmail -bp

Two questions:
1) How can I suppress this behaviour ?
2) Is there a command to give a push, to empty the queue ?

More info:
I use AIX 4.3.3, sendmail version 8 and start the sendmail demon with:

Quote:> startsrc -s sendmail -a "-bd -q30m"

Regards Gunter
 
 
 

sendmail queue

Post by sp2 admi » Wed, 19 Sep 2001 21:25:13


sendmail -qv (v for verbose if you want to see it)


Quote:> I have sometimes many mails in my sendmail queue:
>> sendmail -bp
> Two questions:
> 1) How can I suppress this behaviour ?
> 2) Is there a command to give a push, to empty the queue ?
> More info:
> I use AIX 4.3.3, sendmail version 8 and start the sendmail demon with:
>> startsrc -s sendmail -a "-bd -q30m"
> Regards Gunter


 
 
 

sendmail queue

Post by bill hunte » Thu, 20 Sep 2001 00:51:31



Quote:> I have sometimes many mails in my sendmail queue:
> > sendmail -bp

> Two questions:
> 1) How can I suppress this behaviour ?
> 2) Is there a command to give a push, to empty the queue ?

> More info:
> I use AIX 4.3.3, sendmail version 8 and start the sendmail demon with:
> > startsrc -s sendmail -a "-bd -q30m"

> Regards Gunter

gunter,

a likely cause is system load.  by default, the system feels that mail
delivery is a low priority, and if the system load is high, it will defer
(queue) sending mail until the system is less busy.  this should be a
variable that can be tuned (sendmail.cf).

from the sendmail man page: (may be different on your system, but i would
expect something similar)

     QueueFactor (qfactor)
               Use factor  as the multiplier in the map  function
               to  decide  when to just queue up jobs rather than
               run them. This value is divided by the  difference
               between  the  current  load  average  and the load
               average limit (xflag)  to  determine  the  maximum
               message  priority  that  will be sent. Defaults to
               600000.

     QueueLA (xLA)
               When the system  load  average  exceeds  LA,  just
               queue messages (that is, do not try to send them).
               Defaults to 8.

as root, you can usually run sendmail -q to force running the jobs in the
queue, but again, it will be subject to the value set for qfactor (system
load). if too high, it will not send.  i do not know how to force or
override this on AIX.

good luck,

bill

--
Bill Hunter                               Sun Microsystems, Inc.
Education Consulting Services             500 Eldorado Blvd, BRM05-206

<URL:http://suned.sun.com/HQ/consulting/> Phone: x79275, 303-272-9275

 
 
 

sendmail queue

Post by J Geor » Fri, 21 Sep 2001 06:09:18


Hi,

You could try:
sendmail -v -q0
This will try to flush the queue, but again no guarantees as it
depends on the system load as well as "reachable sites"

For starting up you might try to reduce the interval to say  15
minutes...
startsrc -s sendmail -a "-bd -q15m"

Also you can specify the number of sendmail processes that can run in
the sendmail.cf file.

Jayaraj



> > I have sometimes many mails in my sendmail queue:
> > > sendmail -bp

> > Two questions:
> > 1) How can I suppress this behaviour ?
> > 2) Is there a command to give a push, to empty the queue ?

> > More info:
> > I use AIX 4.3.3, sendmail version 8 and start the sendmail demon with:
> > > startsrc -s sendmail -a "-bd -q30m"

> > Regards Gunter

 
 
 

1. sendmail queue delays (Sun sendmail, Solaris2.3, SS10)

Since upgrading one of our email servers to Solaris2.3, we've seen
messages lingering in the queue for relatively long times.  With
"/usr/lib/sendmail -bd -q20m" we're seeing delays of four hours or more
for some messages.

Earlier versions of Solaris2 seemed to have similar problems where
queue runs would skip every other message.  Even-numbered messages
could be out of luck for a long time...  Fixed with various
sendmail patches.  But is the problem revisiting us again in
Solaris2.3??

Anyone else seen this problem (or something like it)?

We'll probably finesse it by installing sendmail 8.6.4, but I sure wish
Solaris sendmails would work reliably and robustly "out of the box"!
--
Bob Cunningham

School of Ocean & Earth Science & Technology, University of Hawaii

2. Shutdown Account

3. purge sendmail queue?

4. make bzImage errs at pcbios.c

5. sendmail queuing not delivering

6. removing virtual IPs in solaris 10

7. Sendmail, Queuing & ppp connection to net

8. Here is a slip/ppp script for use with DIP....

9. HELP: sendmail queue is growing endlessly what to do?

10. Flushing Sendmail Queue

11. sendmail: queue some, send some.... how?

12. How to Change Sendmail Queue Options

13. sendmail queue