Re: [exim] [NEWBIE] Confused

Página Inicial
Delete this message
Reply to this message
Autor: Tim Jackson
Data:  
Para: exim-users
Assunto: Re: [exim] [NEWBIE] Confused
Hi exim@???, on Thu, 2 Sep 2004 12:43:25 -0500 you wrote:

[ exim in cron ]
> # Run queue every 15 minutes
> 08,23,38,53 *     * * *     mail   if [ -x /usr/sbin/exim -a -f
> /etc/exim/exim.conf ]; then /usr/sbin/exim -q ; fi


> 1. Should there be such an exim CRON entry?


It's not wrong as such, although most people just start the Exim daemon
(if they are running it) with the "-q" option so that the daemon itself
starts queue runners regularly (and honours queue_run_max)

> 2. Are these exim processes supposed to check the queue, and, if so,
> shouldn't they exit, once they've checked the queue and processed any
> existing queue entries?


Yes.

> 3. How do I make sure that I don't get dozens
> and dozens of exim processes taking over the machine?


Don't start the queue runners from cron; start them from the Exim daemon
and set queue_run_max in the Exim config file, which limits the
simultaneous queue runners. If you start them from cron then I guess you
need some script which checks how many are running already...


Tim