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