On Wed, Jan 24, 2001 at 12:44:16PM +0100, Markus Stumpf wrote:
> What I did once was to compile an identical copy of qmail but with
> another location of the queue directory (however on the same physical
> disk) and install it.
> Compile a copy of qmail with big todo.
> Stop all qmail services (also smtp)
>
> Now, rm -r the queue directory of the identical copy and "mv" the queue
> directory of the original qmail there.
>
> Install qmail with big todo.
>
> start qmail-send for the bigtodo and the copy.
> start smtpd for bigtodo only.
>
> With this procedure you get the queue "out of the way", have a new,
> fresh one that will work (hopefully) fast and the old one will get
> smaller with the time.
Sounds similar to my current plan. What I'm gonna do:
- compile a qmail with suitable conf-split, put it in /var/qmail2.
- run smtpd 'n stuff from qmail2
- let /var/qmail/queue slowly empty (the original qmail-send runs too)
- when /var/qmail/queue is empty, upgrade conf-split on
/var/qmail/queue, switch services over to /var/qmail again
- let /var/qmail2/queue empty
- get rid of /var/qmail2
The main cause for this is that I have a dedicated queue disk so I
can't move the queue around easily. The qmail2 will use a spare 4.5gb
partition on the first disk.
In the meantime a co-worker is building a second box to go alongside
this one, to lighten the load forever (and to not be without if this
one dies).
Greetz, Peter.