Re: [exim] queue merging

Top Page
Delete this message
Reply to this message
Author: Matthew Byng-Maddick
Date:  
To: Magnus Holmgren
CC: exim-users
Subject: Re: [exim] queue merging
On Sat, Jun 16, 2007 at 07:54:21PM +0200, Magnus Holmgren wrote:
> Anthony de Boer wrote:
> > Slightly obscure question, and I don't see an answer in documentation:
> > can queues from two exim instances be merged?
> >
> > [...]
> >
> > Would it be possible to shut down exim, back up the queue (input/* and
> > msglog/*), take it to one of the other servers, and restore it in
> > together with whatever mail is already queued on that box? I can
> > definitely see checking that there aren't any precisely-identical
> > filenames that would get stomped, and probably want to temporarily shut
> > down exim on the target host while doing the restore, but I'm wondering
> > if that exim instance will find the new-to-it mail on startup or if
> > something has to happen in its db/* databases?
>
> Yes. The files in the input/ subdirectory *is* the queue - there is no
> vital information stored elsewhere. Your plan should work fine.


It will be worth restoring it in the same order, that is, writing the non -H
files out first, and then writing the -H files with a non -H name, and then
rename those into place.

This will mean that the right things happen.

Cheers

MBM

-- 
Matthew Byng-Maddick          <mbm@???>           http://colondot.net/
                      (Please use this address to reply)