Wietse wrote:

> from your answer I understand that it would be
> OK/safe to do this:
>
> 1, copy all the old configuration files into the new server, and just add
> compatibility_level = 0 to main.cf
>
> 2, regenerate all hashes and btree files
>
> 3, start postfix, see which warnings it generates, and then figure out
> if/what exactly I should change in the configuration files
>
> Is this correct, or did I misunderstand your answer?

That is what I suggested (compatibility_level still is zero
by default, but setting it is a good idea in case some
maintainer changes the default).

Many COMPATIBILITY_README warnings will happen while Postfix
receives or delivers email.

MY UPDATE:

I did all of the above, and after a bit of trials and analyses of the log
files:

Dovecot is NOT working yet, see below and TIA if someone can help on that
side too

But it seems that everything about Postfix is working, as I do see that all
the email my users should receive from mailing lists or other
correspondents seems to arrive again in the right mailboxes, and passing
the IP address of the server at https://tools.appriver.com/OpenRelay.aspx
shows no successful relays. For documentation sake, to get there, I had to:

1) change main.cf as follows:

# sdiff -w 200  -s /etc/postfix/main.cf /home/marco/oldserver/etc/postfix/
main.cf
compatibility_level                  = 0   <
#                                check_policy_service unix:postgrey/socket
  |                                check_policy_service unix:postgrey/socket
                                check_policy_service inet:127.0.0.1:10023
<
daemon_directory = /usr/lib/postfix/sbin/

2) rename and move the postgrey whitelists files from /etc/postfix to
/etc/postgrey

3) (of course) also restore the whole /etc/opendkim directory I had on the
old server

Further tips and comments are very appreciated, of course.

Thanks,
Marco

ABOUT DOVECOT NOT WORKING: if you are interested, please check here:

https://dovecot.org/mailman3/hyperkitty/list/dove...@dovecot.org/

the two threads titled:

connection refused, no error anywhere
and

dovecot not listening, but doing passw checks? Was: connection refused, no
error anywhere
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to