|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Vince Sabio (vince
vjs.org)
Date: Fri Aug 15 2008 - 19:20:37 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
** At 16:40 +0000 on 08/14/2008, Duane Hill wrote:
>On Thu, 14 Aug 2008, Vince Sabio wrote:
>
>>when I try to install from /usr/ports/mail/postfix, I get:
>>
>>===> Installing for postfix-2.5.1_2,1
>>
>>===> postfix-2.5.1_2,1 conflicts with installed package(s):
>> postfix-2.4.7,1
>>
>> They install files into the same place.
>> Please remove them first with pkg_delete(1).
>>
>>That's the thing that's concerning me ... should I pkg_delete
>>2.4.7? Or is this not the right way to upgrade an existing
>>installation?
>>
>>I appreciate the assistance with this. Postfix is the single most
>>important piece of software on that server, and I'd rather not b0rk
>>it.... :-)
>
>This is getting off-topic. You need to use some kind of package
>manager. I use portupgrade (/usr/ports/ports-mgmt/portupgrade).
>
>However, you need to get /usr/ports/mail/postfix installed for
>future updating to work properly. Our servers here strictly do
>filtering and nothing else (pretty basic). Therefore, if I were in
>your shoes with OUR SETUP, I would just backup everything in
>/usr/local/etc/postfix, do a pkg_delete and install the correct
>port. Once done, doing a 'postfix upgrade-configuration' will update
>the configuration files if there are any parameters that have
>changed.
Thanks, Duane. For anyone else who is in the same situation with
Postfix on FreeBSD, Duane's suggestion worked very well -- I made
copies of the key files, did a pkg_delete on the old version,
make-install-clean on the new one, and did a 'postfix
upgrade-configuration'. I also did a /usr/bin/newaliases to be safe
(but was probably unnecessary). Then 'postfix start', and things are
humming along nicely.
__________________________________________________________________________
Vince Sabio vince
vjs.org
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]