postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: Upgrade 2.5.4

Re: Upgrade 2.5.4

From: <fakessh_at_nospam>
Date: Tue Oct 19 2010 - 19:37:28 GMT
To: postfix-users@postfix.org

-----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 mouss must also appreciate
being a face to similar problem
and clear this particular response

<anonymous>

- --
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x092164A7
gpg --keyserver pgp.mit.edu --recv-key 092164A7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iD8DBQFMvfN4tXI/OwkhZKcRAuvVAJsGl2vJzkSBQqvkt6XwTPUnisByDACfR+wg
eob4NzUYEPLV3Qhadkv7cMk=
=CbXp
-----END PGP SIGNATURE-----