Re: [exim] queue should be FIFO not LIFO

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Dan Jacobson
CC: exim-users
Subject: Re: [exim] queue should be FIFO not LIFO
On Fri, 15 Oct 2004, Dan Jacobson wrote:

> Gentlemen, examining /var/log/exim4/mainlog shows the queue is last in
> first out, at least with my single smarthost. Any simple variable to
> flip to make it first in first out?


If you are talking about a queue run, the order should be random by
default. It is not last in, first out. But you can set
queue_run_in_order if you want. That will give you FIFO.

> Imagine if the postal service was LIFO. Granny's card might never get
> tended to before the close of business today, as it sits on the bottom
> of the pile.


Exim was designed for a world in which the business never closes.
Each queue run scans the entire queue, even when it is operating in
random order. Granny's card is always reached.

If you change the assumptions by closing the business, you must take
steps to make things work the way you want.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book