Installation FAQ

From Qmail-LDAP Wiki

Jump to: navigation, search

Contents

On which qmail version should the patch be applied?

The qmail-ldap patch must be applied on the stock qmail-1.03 distribution. It doesnt work with netqmail.

How do I install it?

Makefile

The makefile file defines which features are enabled. Here you define things like TLS, SMTP-AUTH, autocreation of directories, etc. A typical Makefile loooks like this:

LDAPFLAGS=-DQLDAP_CLUSTER -DEXTERNAL_TODO -DDASH_EXT - DDATA_COMPRESS - DQMQP_COMPRESS -DSMTPEXECCHECK -DALTQUEUE

LDAPLIBS=-L/usr/local/lib -lldap -llber
LDAPINCLUDES=-I/usr/local/include
ZLIB=-lz
TLS=-DTLS_REMOTE -DTLS_SMTPD
TLSINCLUDES=-I/usr/local/include
TLSLIBS=-L/usr/local/lib -lssl -lcrypto
OPENSSLBIN=/usr/bin/openssl
MNW=-DMAKE_NETSCAPE_WORK
MDIRMAKE=-DAUTOMAILDIRMAKE
HDIRMAKE=-DAUTOHOMEDIRMAKE
SHADOWLIBS=-lcrypt
DEBUG=-DDEBUG

fixme: explain basic options

Troubleshooting

Personal tools