Install Packages#


In case you install this Role on a Node which already features the Mesh and Directory Role, make sure you do not install the service-discover-agent package.

# apt install carbonio-mta service-discover-agent
# dnf install carbonio-mta service-discover-agent

Bootstrap Carbonio#


# carbonio-bootstrap

The bootstrap command will execute a number of tasks and will set up the node. At the end, you will be prompted with a menu and, if you already configured all, you only need to click y for confirmation.

On RHEL 9 only, restart the node to ensure that Carbonio service management come under the control of systemd:

# reboot

During the process, you need to provide these values, which you can retrieve from the first Mesh and Directory node.

  • Ldap master host is the FQDN of the first Mesh and Directory node, (example:

  • Ldap Admin password is obtained from the first Mesh and Directory node (ldap-admin-password)

  • Bind password for postfix ldap user and Bind password for amavis ldap user are obtained from the first Mesh and Directory node and unless they have been changed they will match the Ldap Admin password

Join Carbonio Mesh#

Carbonio Mesh will install as an agent, that connects and communicates with the server. The configuration for the agent is created by launching command

# service-discover setup-wizard

This command will:

  • ask for the IP address and netmask of the current Node

  • ask for the Carbonio Mesh secret, which is stored in file /var/lib/service-discover/password on the Directory Leader node.

After the configuration has completed successfully, run the following command, again using the secret.

# pending-setups -a