Hi,

I'm having a strange problem:
installed qmail + ldap patch (20010301). It works just fine !!
patched it with the controls patch (20010410) and...
after having transferred all the control files in the ldap database, the
config reported by qmail-showctl is exactly the same !! (apart from the
LDAP Control DN line..)
but, when launching qmail, (it does several lookups on the ldap server)
and prints :

==> /var/log/qmail/current <==
@400000003b1ce361200987cc alert: cannot start qmail-lspawn or it had an
error! Check if ~control/ldapserver exists.

in the logfile. (w/ debuglevel set to 511 !! without the control patch,
i get a very verbose log. with the control patch, just a line...)
Also, when trying qmail-ldaplookup, i get a core dump!

As far as i understand, qmail gets something from the ldap server, but i
must have something misconfigured ??
btw: for local reasons, i had to install qmail under /home/qmail instead
of /var/qmail... does this have something related to my problem ??

thanks,
fabrice

here is the ldap control entry:
mx2:~# ldapsearch -b "OU=SERVERS,DC=1EEUROPE,DC=COM"
'(&(cn=MX2.CIE.FR)(objectclass=QMAILCONTROL))'
cn=mx2.cie.fr, ou=Servers, dc=1eEurope, dc=com
cn=mx2.cie.fr
objectclass=top
objectclass=qmailControl
defaultdomain=1eEurope-France.com
dirmaker=/home/qmail/bin/dirmaker.script
ldapcluster=1
ldapdefaultdotmode=ldaponly
ldapdefaultquota=10000000S,100C
ldapgid=210
ldaplocaldelivery=0
ldaplogin=ou=Servers, dc=1eEurope, dc=com
ldapobjectclass=qmailuser
ldappassword=c2l4n345
ldaprebind=1
ldapuid=210
locals=localhost
locals=1eEurope-France.com
locals=buflon.com
locals=badaboumproductions.com
locals=cie.net
plusdomain=cie.fr
plusdomain=1eEurope-France.com
rbllist=blackholes.mail-abuse.org
rbllist=dialups.mail-abuse.org
rbllist=relays.mail-abuse.org
rbllist=outputs.orbs.org
rbllist=rbl.maps.vix.com
rbllist=dul.maps.vix.com
rbllist=rss.maps.vix.com
rcpthosts=mx2.cie.fr
rcpthosts=localhost
rcpthosts=cie.net
rcpthosts=1eEurope-France.com
rcpthosts=buflon.com
rcpthosts=microentreprise.net
rcpthosts=badaboumproductions.com
rcpthosts=barki.com
smtproutes=microentreprise.net:smtp0.webmails.com
smtproutes=:mx1.cie.fr
tarpitcount=5
tarpitdelay=10
creatorsname=cn=Manager, dc=1eEurope, dc=com
createtimestamp=20010605144643Z
ldapbasedn=ou=People, o=1eEurope France, c=fr, dc=1eEurope, dc=com
modifytimestamp=20010605162441Z
modifiersname=cn=Manager,dc=1eEurope,dc=com
ldapserver=194.51.32.58

and the output of qmail-showctl:

mx2:/home/qmail/control# /home/qmail/bin/qmail-showctl
qmail home directory: /home/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 500.
subdirectory split: 23.
user ids: 200, 201, 202, 0, 203, 204, 205, 206.
group ids: 200, 201.

badmailfrom:

bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.

bouncehost: (Default.) Bounce host name is mx2.cie.fr.

concurrencylocal: (Default.) Local concurrency is 10.

concurrencyremote: (Default.) Remote concurrency is 20.

databytes: (Default.) SMTP DATA limit is 0 bytes.

defaultdomain: Default domain name is 1eEurope-France.com?.

defaulthost: (Default.) Default host name is mx2.cie.fr.

doublebouncehost: (Default.) 2B recipient host: mx2.cie.fr.

doublebounceto: (Default.) 2B recipient user: postmaster.

envnoathost: (Default.) Presumed domain name is mx2.cie.fr.

helohost: (Default.) SMTP client HELO host name is mx2.cie.fr.

idhost: (Default.) Message-ID host name is mx2.cie.fr.

localiphost: (Default.) Local IP address becomes mx2.cie.fr.

locals:
Messages for localhost are delivered locally.
Messages for 1eEurope-France.com are delivered locally.
Messages for buflon.com are delivered locally.
Messages for badaboumproductions.com are delivered locally.
Messages for cie.net are delivered locally.

me: My name is mx2.cie.fr.

percenthack:

plusdomain: Plus domain name is cie.fr?1eEurope-France.com?.

qmqpservers:

queuelifetime: (Default.) Message lifetime in the queue is 604800
seconds.

rcpthosts:
SMTP clients may send messages to recipients at mx2.cie.fr.
SMTP clients may send messages to recipients at localhost.
SMTP clients may send messages to recipients at cie.net.
SMTP clients may send messages to recipients at 1eEurope-France.com.
SMTP clients may send messages to recipients at buflon.com.
SMTP clients may send messages to recipients at microentreprise.net.
SMTP clients may send messages to recipients at badaboumproductions.com.

SMTP clients may send messages to recipients at barki.com.

morercpthosts:

morercpthosts.cdb: (Default.) No effect.

smtpgreeting: (Default.) SMTP greeting: 220 mx2.cie.fr.

smtproutes:
SMTP route: microentreprise.net:smtp0.webmails.com
SMTP route: :mx1.cie.fr

timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.

timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.

timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.

virtualdomains:

now the qmail-ldap specific files

ldapserver: My LDAP Server is 194.51.32.58?

ldapcontroldn: LDAP controldn: ou=Servers, dc=1eEurope, dc=com?

ldapport: LDAP port: 389?

ldaplogin: LDAP login name: ?

ldappassword: LDAP login password: ?

ldapbasedn: LDAP basedn: ou=People, o=1eEurope France, c=fr,
dc=1eEurope, dc=com?.

ldapuid: Default UID is: 210?.

ldapgid: Default GID is: 210?.

ldapmessagestore: (Default.) Prefix for non absolute paths: not defined.

ldapdefaultdotmode: Default dot mode for ldap users: ldaponly?.

ldapdefaultquota: Default quota for ldap users: 10000000S,100C?.

dirmaker: Location of program to create homedirs:
/home/qmail/bin/dirmaker.script?.

ldaplocaldelivery: local passwd lookup is 0 (1 = on, 0 = off).

ldaprebind: ldap rebinding is 1 (1 = on, 0 = off).

ldapcluster: clustering is 1 (1 = on, 0 = off).

quotawarning:

custombouncetext:

maxrcptcount: (Default.) 0 RCPT TOs are accepted before sending 553 (0 =
off).

tarpitcount: 5 RCPT TOs are accepted before tarpitting (0 = off).

tarpitdelay: 10 seconds of delay to introduce after each subsequent RCPT
TO.

badrcptto:

relaymailfrom:

rbllist:
RBL to check: blackholes.mail-abuse.org.
RBL to check: dialups.mail-abuse.org.
RBL to check: relays.mail-abuse.org.
RBL to check: outputs.orbs.org.
RBL to check: rbl.maps.vix.com.
RBL to check: dul.maps.vix.com.
RBL to check: rss.maps.vix.com.


--
-=O=--=o=--=O=--=o=--=O=--=o=--=O=--=o=--=O=--=o=--=O=--=o=--=O=--=o=--=O=--=o=-
Fabrice Cahen                                             T�l: +33 1 46 21 86 43
Administrateur Syst�me                                    Fax: +33 1 46 21 55 35
    1eEurope France  -  738, Rue Yves Kermen  -  92100 Boulogne Billancourt
                           Une soci�t� du Groupe 1eEurope
                                       -=o=-
 Il est �vident, � toute personne de bien, que Dieu a cr�� l'homme pour que les
               chats puissent �tre caress�s entre les oreilles.
    Jaloux, l'homme a cr�� l'ordinateur, avec le piteux r�sultat qu'on sait.
                                                                         Anonyme



Reply via email to