courierldapaliasd supports mail address aliasing, as implemented by makealiases(8)[1] but using an LDAP
directory instead of a GDBM or a DB database. The term "aliasing" refers to substituting one or more
addresses for another address. A one-to-one substitution results in the Courier mail server accepting
mail for one address, and delivering the mail to another address. A one-to-many substitution results in
the Courier mail server accepting mail for one address, and delivering a separate copy of the message to
every address defined by the alias.
makealiases(8)[1] uses a GDBM or a DB database to perform the aliasing function. courierldapaliasd uses
an LDAP directory instead.
"courierldapaliasdstart" runs the courierldapaliasd process in the background, and should be executed at
system startup. "courierldapaliasdstop" stops the background process. "courierldapaliasdrestart"
restarts the process, and rereads the ldapaliasrc configuration file to pick up any changes.
courierldapaliasdrestart must be executed in order for any changes to ldapaliasrc to take place.
courierldapaliasd runs in the background and opens a persistent connection to the LDAP directory, and
checks every recipient address using the persistent connection. courierldapaliasd automatically starts
an adjustable number of multiple processes. With persistent connections being used, this allows alias
checking to be as efficient and quick as possible.
"courierldapaliasdquerysourceaddress" is a diagnostic tool. It requires that courierldapaliasd must
already be running in the background; it sends a query for address to the background process, and prints
the result. Like makealiases(8)[1], it is possible to create aliases that are accessible only to certain
sources of mail, like "esmtp" or "local". The "source" argument specifies the source of the address, such
as "local", "esmtp", or "uucp".