I recently installed qmail on our mail server. The interval of time at
which the queue is processed seems quite long. A local to local
delivery may take 45 minutes. The server is very lightly loaded. There
are no more than 300 mail accounts and the queue typically has less than
150 messages (even with the delay). I searched the list archive for
this problem and found many posts that recommended logging using
something other than syslog, so I took that advice and am using:
supervise /var/lock/svc/qmail \
qmail-start "./Mailbox" | accustamp | \
cyclog -s 1000000 -n 20 /var/log/qmail &
to start qmail. Also I read that I could force the queue to run by
sending a SIGALRM to qmail-send. When I do this the log file shows that
the queue attempts to process messages destined for remote hosts, but it
fails to process messages to be delivered locally. If I send a
SIGALRM to qmail-lspawn all messages are processed. As a temporary fix
I have been sending a SIGALRM to qmail-lspawn to force delivery.
I would like to know what causes the queue to be processed, does it
normally run upon receipt of each new message? Any advice for things to
look for is greatly appreciated.
Thanks,
--
Jon Nalley
Systems Administrator
Gulf Interstate Engineering