On Thu, Jul 24, 2003 at 05:08:40PM +0300, Taymour A. El Erian wrote: > Thank you for the reply, but can you have something that is a bit > detailed than that, steps 2 and 3 are not that clear to me > 2) start the temp qmail (now both, little and temp qmail are running (only qmail-start)
This means configure temp qmail by copying /var/qmail/control and rewriting the startup scripts. e.g. the qmailrc script in /var/qmail or what ever method you use. This normaly means to change the path of qmail-start in a shell script. After that you can start qmail (e.g. with svc -u). > >3) switch the smtp from little qmail to the temp qmail (this includes all > >other mail injecting apps (qmqpd, qmtpd and sendmail)) Copy the configuration files and startup script from little qmail to temp, then edit them so that all pathes point to the right files. After that you can start these processes. (sendmail is normaly a link to /var/qmail/bin/sendmail and this needs to point to /var/qmail-tmp/bin/sendmail). Step 2) starts a second instance of qmail on a different queue, so mails in the little qmail queue are still delivered but as after step 3) all new mails go to /var/qmail-tmp (temp qmail queue). So the little qmail queue should drain and if empty it can be removed without a prob (remember to save the conf and startup files). After that you can install the new version and do the same thing with the temp qmail (move all mail injecting processes to the new queue and wait till the temp queue is drained). After that you can stop and remove the temp qmail. -- :wq Claudio
