Re: [EXIM] periodic queue runs

Top Page
Delete this message
Reply to this message
Author: Piete Brooks
Date:  
To: Alexander Koch
CC: exim-users
Subject: Re: [EXIM] periodic queue runs
>> Will I break something seriously if I have two exim daemons on the
>> same machine? One (exim -bd) would run continuously and another (exim
>> -q2m) would only run while the dial-up connection is up.
> Two daemons?


Sounds like it to me ...

> A "daemon" (in opposite to a "queue runner") tries to bind itself to port 25.


I do not believe that to be the normal interpretation -- a daemon is a long
running process which does work as it is available.

A queue runner with a specified time is a daemon:

-q <time>
       This version of the -q option (which again can be run only by an
       admin user) causes Exim to run as a daemon, starting a queue-running
       process at intervals specified by the given time value (whose format
       is described in section 7.6).


> So you do not want to run two daemons.


That is not as I understand it.

>> I understand that in most situations exim runs as a combined daemon
>> (exim -bd -q2m) - but will it run as two separate daemons as well?
> I am afraid we have a slight misunderstanding here...


Yup -- sounds to me to be on your part ...

> A daemon takes mail on port 25.


"A daemon CAN take mail on port 25"

> A daemon also runs the queue periodically.


"A daemon CAN also run the queue periodically."

> Another Exim may of course be started to run the queue,


That is what he is suggesting ...

> but you can *not* run the second one with -bd


Indeed -- if the first is bound to port 25

> or -q2m


That is not my understanding. Whence do you get that idea ?

       ... If a daemon is run with only
       one of -bd and -q<time>, then that option is added on to the end of
       the file name, allowing sites that run two separate daemons to
       distinguish them.


--
*** Exim information can be found at http://www.exim.org/ ***