On Fri, Apr 19, 2002 at 03:20:15PM -0700, Patrick Beart wrote:

>       The current OS is running Courier, and I'd like to keep the 
> full Courier suite with the new OS version. I need to ask what files 
> I can migrate (copy), or which files, if any, would need to be 
> re-created?
> 
>       ... Upgrading from Courier 0.28-3   -->  Courier 0.37.3.20020317

Kick everyone off the system, stop incoming mail delivery.  If you have
something undeliverable in the mail queue, flush it to a backup mail relay
using esmtproutes.  You now have an empty system.

Make a backup copy of the courier/etc directory.  If you're using SSL make
sure you've also saved a copy of your SSL certificates.

rm -rf the entire courier tree, then do a make install and make
install-configure.

Now go through your backup etc directory from the old version, one file
at a time.  Open each file, then open the same file in the new installation,
side by side, and manually merge your old custom configuration settings
from the old configuration file to the new configuration file.  You cannot
simply restore your old configuration file because many things have changed
and there are many new configuration settings.  They can be left at their
default settings, most of the time, but they must be present so you cannot
simply restore your old configuration files which will leave them unconfigured.

This is going to be a one time deal.  Starting with 0.32 the make
install-configure script will automatically merge configuration settings
properly, on each upgrade cycle, but you'll have to take a one-time hit
to make sure that the configuration files are initialized with the proper
formatting codes that make automatic upgrades possible.  You'll find more
information in the INSTALL file, regarding upgrades from pre-0.32 installs.

Another possibility is to use --prefix to install the new version into
a completely different installation directory, and have both the old and
the new versions of courier running side by side, and cut over a little bit
at a time.  You can run multiple versions at the same time, except that only
one set of IMAP, and POP3 daemons can be running at a time, and multiple
webmail scripts can be installed, under different names.  Also your
/usr/sbin/sendmail soft link can obviously point only to one of the
Courier installations.  After switching over completely to the new version
you can leave the old version running as long as it's necessary to flush out
whatever's left in its queue.

-- 
Sam

_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to