Thanks for the feedback.
Rsyncing the spool sound like the most practical solution if it can be
done that easily.
Both servers are pretty much identical in configuration so there
should be no version differences of any kind (neither exim nor any
libraries).
I guess if this needed to be done more often and without any downtime,
I could imagine idea 2 being used though this won't be necessary for
my case since rsync is much simpler.
Am Do., 12. Juli 2018 um 21:41 Uhr schrieb Chris Siebenmann
<cks@???>:
>
> > I am wondering if there is a good way to move all pending mails from
> > one exim server to another.
> > It is probably not the best idea to move the files from one spool
> > directory to another (idea 1).
>
> For what it's worth, we've historically done exactly this for mail
> server migrations (eg to a host with a newer OS release). We'll shut
> down Exim on both hosts, then move over pretty much the entire mail
> spool. I think the only problems we've sometimes had was needing to
> reset the retry database(s). This does require a downtime on both
> sides, though, and we've always been moving to a destination host where
> the spool was empty (and in fact was disposable).
>
> - cks