migrating 2.1 to 3.x ?

I currently have Postfix 2.11 /MySQL on Centos 6, looking at migrating to
current Postfix.

current server:
CentOS release 6.x
mail_version = 2.11.0

new server:
CentOS 7.3
mail_version = 2.10.1

reading some of the ML posts: is ghettoforge the way to do it ?
<a href="" title=""></a>

what can or should I do with current ?

the idea is to set new server with Postfix 3, have both running till all done

thanks for all the pointers and help

postconf -m



Re: migrating 2.1 to 3.x ?

By Peter at 08/10/2017 - 04:33

On 10/08/17 16:51, Voytek wrote:
This is not the stock postfix for CentOS 6, so if you want to upgrade it
on the same server you might want to check where the current postfix
came from. How it got there has to do with what you need to do to
remove it.

Do note that GhettoForge does supply the latest postfix packages for
both CentOS 6 and 7, so if you want to just upgrade postfix on the
current server that is an option.

That is my recommendation. I build the GhettoForge packages myself so I
can vouch for them.

You can keep them. postfix 2.11.0 config will actually work with
postfix 3.2.2 without any changes if you want. The only thing you will
notice are compatibility_level warnings in the log. To get rid of those
warnings you can follow the instructions in the COMPATIBILITY_README, or
the simplified instructions on the GhettoForge wiki page you linked to

It looks like you have a postfix built with most or all of the table
types compiled in. Postfix 2.11 did not have dynamic map support so it
had to be compiled from the start with the table types that you wanted
supported. Starting with postfix 3.0 packagers are able to separate out
many of the map types into separate packages and that is what
GhettoForge has done, so you have packages such as postfix3-mysql,
postfix3-pgsql, etc, and you just install the packages for the map types
you want in addition to the postfix-3 package.

I would encourage you to look through your and files
(or the output of postconf -nf and postconf -Mf) and come up with a list
of map types you actually use, then install those map types along with
the postfix3 package from GhettoForge. The advantage of not installing
other map types is you don't have to install packages for the supporting
libraries of map types you don't use, for example if you install
postfix3-pgsql then you end up having to install postgresql-libs as well
as a dependency, but this is not necessary if you don't need postgresql

If you need any additional help I am happy to answer questions on this
list, or you can reach me at the #postfix or #ghettoforge Freenode IRC


Re: migrating 2.1 to 3.x ?

By Voytek Eymont at 08/10/2017 - 20:24

On Thu, August 10, 2017 6:33 pm, Peter wrote:

Peter, thanks

I think... I've used Simon J Mudd's pages to compile, well, copy'n'paste
from his website relevant lines.

but, all in all, I think a new 'C7' server etc is a better way forward

thanks, I'll undoubtedly be asking more questions.