May be, I've found an error or bug in this realese. Or may be, I've made something wrong.
I've migrated from qmail-ldap 20011001a to qmail-ldap 20020501a on a FreeBSD 4.4-RELEASE.
--------------
# tar -zxpvf qmail-1.03.tar.gz
# cd qmail-1.03/
# zcat qmail-ldap-1.03-20020501a.patch.gz | patch -p1
# vi Makefile
-----------
LDAPLIBS=-L/usr/local/openldap/lib -lldap -llber -R/usr/local/openldap/lib
LDAPINCLUDES=-I/usr/local/openldap/include
HDIRMAKE=-DAUTOHOMEDIRMAKE (uncomment)
-----------
# make
# make setup check
When I receive a mail from any host, my qmail-send's log from remote machine say:
--------------------------
delivery 32: deferral: _Connected_to_172.16.4.111_but_greeting_failed./Remote_host_said:_421_unable_to_read_controls_(#4.3.0)/ msg: 112830
--------------------------
My qmail-showctl output:
--------------------------
qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 500.
subdirectory split: 23.
user ids: 1002, 1003, 1004, 0, 1005, 1006, 1007, 1008.
group ids: 1001, 1002.
me: My name is mtades.domain.com
ldapserver: My ldap server is 1.2.3.4:389
badmailfrom: (Default.) Any MAIL FROM is allowed.
bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.
bouncehost: (Default.) Bounce host name is mtades.domain.com.
concurrencylocal: Local concurrency is 120.
concurrencyremote: Remote concurrency is 20.
databytes: (Default.) SMTP DATA limit is 0 bytes.
defaultdomain: (Default.) Default domain name is mtades.domain.com.
defaulthost: (Default.) Default host name is mtades.domain.com.
doublebouncehost: 2B recipient host: mtades.domain.com.
doublebounceto: 2B recipient user: bouncer.
envnoathost: (Default.) Presumed domain name is mtades.domain.com.
helohost: (Default.) SMTP client HELO host name is mtades.domain.com.
idhost: (Default.) Message-ID host name is mtades.domain.com.
localiphost: (Default.) Local IP address becomes mtades.domain.com.
locals:
Messages for localhost are delivered locally.
Messages for localhost.localdomain are delivered locally.
Messages for mtades.domain.com are delivered locally.
Messages for mtades.domain2.com are delivered locally.
me: My name is mtades.domain.com.
percenthack: (Default.) The percent hack is not allowed.
plusdomain: (Default.) Plus domain name is mtades.domain.com.
qmqpservers: (Default.) No QMQP servers.
queuelifetime: Message lifetime in the queue is 604800 seconds.
rcpthosts:
SMTP clients may send messages to recipients at mtades.domain.com.
SMTP clients may send messages to recipients at mtades.domain2.com.
morercpthosts: (Default.) No effect.
morercpthosts.cdb: (Default.) No effect.
smtpgreeting: SMTP greeting: 220 Welcome To MTA Des.
smtproutes: (Default.) No artificial SMTP routes.
timeoutconnect: SMTP client connection timeout is 120 seconds.
timeoutremote: SMTP client data timeout is 12000 seconds.
timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.
virtualdomains:
Virtual domain: mtades.domain.com:mtades.domain.com
Virtual domain: mtades.domain2.com:mtades.domain2.com
now the qmail-ldap specific files
ldapserver: My LDAP Server is 1.2.3.4:389.
ldapbasedn: LDAP basedn: dc=ldapwebmail,dc=com.
ldaplogin: LDAP login: cn=Manager,dc=ldapwebmail,dc=com.
ldappassword: LDAP password: secret.
ldapuid: Default UID is: 111.
ldapgid: Default GID is: 104.
ldapmessagestore: Prefix for non absolute paths: /var/qmail/maildirs.
ldapdefaultdotmode: (Default.) Default dot mode for ldap users: not defined.
ldapdefaultquota: Default quota for ldap users: 5000000S,1000C.
dirmaker: Location of program to create homedirs: /var/qmail/control/custom_user.sh.
ldaplocaldelivery: local passwd lookup is 0 (1 = on, 0 = off).
ldaprebind: (Default.) ldap rebinding is 0 (1 = on, 0 = off).
ldapcluster: (Default.) clustering is 0 (1 = on, 0 = off).
ldapclusterhosts: (Default.) No alternate MailHosts for clustering listed.
quotawarning:
Quota exceeded
custombouncetext:
Bounce msg here
maxrcptcount: (Default.) 0 RCPT TOs are accepted before sending 553 (0 = off).
tarpitcount: (Default.) 0 RCPT TOs are accepted before tarpitting (0 = off).
tarpitdelay: (Default.) 5 seconds of delay to introduce after each subsequent RCPT TO.
badrcptto: (Default.) Any RCPT TO is allowed.
relaymailfrom: (Default.) Relaymailfrom not enabled.
rbllist:
RBL to check: relays.ordb.org.
defaultdelivery: I have no idea what this file does.
ldapobjectclass: I have no idea what this file does.
ldaptimeout: I have no idea what this file does.
custom_user.sh: I have no idea what this file does.
rbllist: I have no idea what this file does.
--------------------------
Any idea?
Thanks,
Federico
