Centralize LDAP database between SMTP Artica servers

In multiple servers mode you can centralize members/organizations between several Artica servers.
This to create a real messaging structure.

Architecture example:

On our example, we use several SMTP servers on multiple MX with a load balancer in order to accept messages.
Each SMTP service require authentication for all members who want to send email trough Internet using the SMTP architecture.
The central LDAP database is a Zarafa server that stores mailboxes, domains and members.
SMTP relay servers are in charge to perfom anti-spam/antivirus tasks.


A) Force the LDAP service to bind a real IP address on the central server.

By default, when installing Artica, the LDAP database listen only the loopback interface.
In order to allow SMTP servers to query the LDAP database on the central cerver, you need to force the LDAP service to bin a real IP address.

  • On the system informations menu, click on General settings tab.
  • Click on LDAP Database parameters icon.


  • Select your IP address on the listen Address drop-down field and click on Add button.


B) Retreive main LDAP credentials on the central server.

  • Click on Account icon on the left side.


  • Memorize the user name, password and suffix of the central server.


C) Connect SMTP servers to the central LDAP database

  • On the SMTP servers, click on System information.
  • Click on Account icon.


  • Add the Central LDAP server credentials, inluding the right suffix and the correct IP address of the Central LDAP server


  •  On the SMTP server verify in organizations section that you see organizations created on the LDAP central database server.


D) Force SMTP servers to understand that local domains stored on LDAP server must be forwarded to a remote server.

usually when SMTP servers queries the remote LDAP database, they will understand that messages for local domains must be saved locally.
In our configuration, this is not the case, in fact, SMTP servers must understand that all local domains must be forwarded to the central LDAP database server.
The central LDAP server act as mail server that store all mailboxes.


On the SMTP routing table, under organizations tab, click on Parameters icon.


  • Enable the checkbox "Local domains to remote server"
  • Define the remote server address eg or if you you need to specify the remote port.


Then all local domains will be forced to forward messages to the central LDAP server.


In this mode, you need to schedule a Postfix compilation parameters in order to refresh changes on the SMTP server.