NethServer / dev

NethServer issue tracker
https://github.com/NethServer/dev/issues
63 stars 18 forks source link

Mail stack (mail,SOGo, roundcubemail): Migrate a mail stack and change the base DN #7175

Open stephdl opened 3 days ago

stephdl commented 3 days ago

We need to test the migration of an openldap directory.nh to another base DN set by the sysadmin

For this purpose the test the platform we need to install on NS7 and migrate the whole stack to NS8

nethserver-openldap nethserver-mail-server nethserver-roundcubemail nethserver-sogo

stephdl commented 3 days ago

ghcr.io/nethserver/sogo:2.0.4-dev.1 ghcr.io/nethserver/roundcubemail:2.0.5-dev.1 ghcr.io/nethserver/mail:1.4.10-dev.2 testing version of nethserver-ns8-version : http://packages.nethserver.org/nethserver/7.9.2009/testing/x86_64/Packages/nethserver-ns8-migration-1.0.18-1.1.g865021d.ns7.x86_64.rpm

To test the event user-domain-changed and the migration of the base DN to another DN, you have to write to the /usr/share/nethesis/nethserver-ns8-migration/apps/{nethserver-sogo, nethserver-mail, nethserver-roundcubemail}/bind.env the version above and migrate the mail stack to a NS8

case 1

case 2

case3

  1. login to sogo with a user of the LDAP (do not reconfigure something) and send and receive email from sogo to a user of the ldap
  2. use the ldap address book of roundcubemail, send and receive email to a user of the LDAP
  3. the ldap with the new name is well migrated and usable in NS8 (you can use the user-account-manager with admin permission or with simple user)