On Tue, Oct 19, 2010 at 3:37 PM, fake...@fakessh.eu <fake...@fakessh.eu>wrote:
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Le 19.10.2010 19:42, Victor Duchovni a écrit : > > On Tue, Oct 19, 2010 at 12:17:23PM -0400, Linux Addict wrote: > > > >> Hello, I am running postfix 2.5.4 and would like to upgrade it to latest > >> stable 2.7.0. What is the best way upgrade? Do a clean install and port > the > >> settings to newer version? Any help is appreciated. > > > > No. Do an upgrade. If installing from source: > > > > Read the RELEASE_NOTES file for 2.6 and 2.7, then: > > > > % make > > % su root > > # postfix stop > > # make upgrade > > # postfix start > > > > If installing from a well constructed package: > > > > Read the RELEASE_NOTES file for 2.6 and 2.7, then: > > > > # postfix stop > > # some-command-to-install-updated-package > > # postfix start > > > > In either case, save the updated main.cf and master.cf files that > > are automatically upgraded as part of the install process. > > > > If the package is not well constructed: > > > > Read the RELEASE_NOTES file for 2.6 and 2.7, then: > > > > # postfix stop > > > > # mkdir -p /etc/postfix/cfsavedir > > # cp /etc/postfix/main.cf /etc/postfix/master.cf \ > > /etc/postfix/cfsavedir/ > > > > # some-command-to-install-updated-poorly-constructed-package > > > > # cp /etc/postfix/cfsavedir/main.cf /etc/postfix/cfsavedir/ > master.cf \ > > /etc/postfix/ > > # postfix set-permissions upgrade-configuration > > > > # postfix start > > > > A package is not well contstructed if it fails to preserve and upgrade > > your existing main.cf and master.cf files. > > > > Thanks Victor. Reading from 2.6 releasing notes, it looks like postfix changed how multiple instances are handled. I am going to test on sandbox.