qmail is an Email server designed by Dan Bernstein. We base our mail services on the last available version of Andre Oppermans qmail-ldap, release 31, 20120221. qmail-ldap allows qmail to get account information from an LDAP directory.

Prerequisites

# Install compile dependences apt-get install nettle-dev libldap2-dev libsasl2-dev libgnutls28-dev libssl-dev

# Set up required users and groups apt install qmail-uids-gids

# Create Debian compatibility link: ln -nfs /var/qmail /var/lib/qmail

# Add the administrator to the qmail group adduser $USER qmail

exit

# Log out and in again to get access to the qmail group.