Szerző: John W Baxter Dátum: Címzett: Exim Users Tárgy: Re: [Exim] [soleil] Running 2 instances of Exim on the same box
At 10:23 +0200 7/20/2001, Sheldon Hearn wrote: >On Thu, 19 Jul 2001 18:35:08 +0300, Odhiambo Washington wrote:
>
>> Is there a HOWTO/FAQ for running 2 instances of Exim on the same box
>> listening on different ports? And possibly not sharing the same spooling
>> directory?
>
>There's the Exim specification. You're looking for the -C command-line
>option, and possibly -oX as well.
>
>Ciao,
>Sheldon.
>
We had enough trouble with using -C for a permanent second Exim instance
that we have switched to building multiple Exim binaries, each with the
proper configuration file baked in. (We switch Local/Makefile
appropriately before building.)
The deciding event was on a machine devoted partly to mailing lists...the
mailing list instance of Exim was the one which needed the -C. It turned
out that the other instance got involved in delivering the list if the
first queue run didn't finish in time. But that meant that the record
keeping for the deliveries got messed up (we got the thing under control,
but only after some list subscribers got 5 copies).
A minor advantage of the multiple copies is that the utilities get built
with the right values baked in and work properly for their instance.
We now restrict -C to such uses as testing a new configuration file.