Re: [Exim] sending messages from queue one-by-one

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Sergey Sysoev
CC: exim-users
Subject: Re: [Exim] sending messages from queue one-by-one
On Sat, 10 Jul 2004, Sergey Sysoev wrote:

> Using exim-4.34 I want to deliver all messages to remote servers one
> by one, just one message simultaneously. For this purpose I use the
> following:
>
> remote_max_parallel = 1
> queue_run_max = 1
> queue_run_in_order = true
>
> It works fine when message goes through immediately from the first
> attempt but sometimes after defer for example and using 'sendmail -qf'
> it seems is does not work correctly and more that one simultaneous
> sessions established
>
> Is this right behavour or I have to add something else to config?


1. You need to add

queue_only = true

to prevent immediate delivery of incoming messages.

2. If you obey "exim -qf" it will start a queue runner, even if there is
one already running. "queue_run_max" applies only to the queue runners
that the daemon starts.

--
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