Qmail-LDAP
[Top] [All Lists]

Re: qmail-ldap installation FAILURE again and again and .....

To: qmail-ldap@qmail-ldap.org
Subject: Re: qmail-ldap installation FAILURE again and again and .....
From: "sato x" <gladiol4@gmail.com>
Date: Thu, 1 Mar 2007 10:04:46 +0700
Delivered-to: sp-com-lists@consult.net
Delivered-to: qmail-ldap-list@securepoint.com
Delivered-to: mailing list qmail-ldap@qmail-ldap.org
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=QkVTKm+ToXymfa9Efrve9LjzJXah7MFuRpEz16MaIrdIKxc9So8Cp+aTW7WjItZ8vElcECHHDPBIA+zGDU4uVW38njry2nx/FMyQibJPxMUr2M7Olqh9GQMOU4gBtxY9SEZ/W/JhoDyXSMqc/6ZQT1sVClU6Z1frXOxWz67Z2SY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=rD0ekWrv9CFRPTbaLHLGUzlAjHklFTlX/0zcwoaJJrX8FiUuApBKfe1ztV8PZG+mm/Bs7yDa0hDygwglOyNs71h0SDC82EbGpxc0Lg4c98qwGTHiZIrzs8STj10830208Qd3Y35QlPEPfykbznhok/iiYL5CU2/spKOZoBRhOy4=
In-reply-to: <20070228122545.GB8752@diehard.n-r-g.com>
Mailing-list: contact qmail-ldap-help@qmail-ldap.org; run by ezmlm
References: <f5ba7b270702271958x60fc5d0u1bf188440188bc3@mail.gmail.com> <45E53A0B.9060305@proscrutiny.com> <f5ba7b270702280327v36767f6ci6063b0287cf8f47e@mail.gmail.com> <f5ba7b270702280334w6373d25bvb4364d409ae6f91f@mail.gmail.com> <f5ba7b270702280348i4b34ac7axffa1793d96e53802@mail.gmail.com> <20070228122545.GB8752@diehard.n-r-g.com>
This is the error that I found in /var/log/qmail/pop3d/current:

@4000000045e54a5228b9e164 /usr/local/bin/tcpserver: error while loading shared libraries: libcrypto.so.4: failed to map segment from shared object: Cannot allocate memory

That was the time when I cannot telnet port 110. Then I try to change the softlimit from 20000000 to 100000000 in /var/qmail/supervise/qmail-pop3d/run. After I'd changed it, I can telnet port 110. The same thing stated in /var/log/qmail/smtpd/current:

@4000000045e549e908aae51c /usr/local/bin/tcpserver: error while loading shared libraries: libcrypto.so.4: failed to map segment from shared object: Cannot allocate memory

I treated them the same way by changing the softlimit in /var/qmail/supervise/qmail-smtpd/run, even though I didn't know the exact reason (just because it worked with pop3d :p and perhaps I'd read it somewhere in the mailing-list but I forgot where).

But the pop3d log didn't stop there. It gave me another information:

[root@mail pop3d]# tail -n10 current
@4000000045e63a3c13266994 tcpserver: pid 5104 from 127.0.0.1
@4000000045e63a3c13267934 tcpserver: ok 5104 0:127.0.0.1:110 :127.0.0.1::32820
@4000000045e63a42345e2a84 /bin/mkdir: cannot create directory `/home/sato': Permission denied
@4000000045e63a42348797fc tcpserver: end 5104 status 256
@4000000045e63a423487ab84 tcpserver: status: 0/100
@4000000045e63a4e3473b624 tcpserver: status: 1/100
@4000000045e63a4e3473cd94 tcpserver: pid 5110 from 127.0.0.1
@4000000045e63a4e3473dd34 tcpserver: ok 5110 0:127.0.0.1:110 :127.0.0.1::32822
@4000000045e63a573aeb32d4 tcpserver: end 5110 status 256
@4000000045e63a573aeb4a44 tcpserver: status: 0/100


I guess it came from the time when I was telneting port 110 and login-ed with the command "user" and "pass". I don't know what's wrong because in my ~/control/defaultdelivery I use ./Maildir/ and in LDAP server I use /var/qmail/maildirs/sato.br for mailMessageStore and sato.br@somedomain.co.id for mail (uid=sato). The ~/maildirs directory owned by user vmail.  Oops, I almost forget, these command were failed:
   su vmail -c /var/qmail/bin/dirmaker /var/qmail/maildirs/sato      # or
   su vmail -c /var/qmail/bin/dirmaker /var/qmail/maildirs/sato.br  # or
   su vmail -c /var/qmail/bin/dirmaker sato                                     # or
   su vmail -c /var/qmail/bin/dirmaker sato.br

And about www.proscrutiny.com, I still cannot access it. Maybe there's something wrong with the information in our ISP's DNS server (because we don't have any local DNS servers). Can someone just give me the right ip address of the above site? My nslookup www.proscrutiny.com still give 64.62.190.191 and point me to conopscentral.com. Thanks for all your support.

Best Regards,

sato


On 2/28/07, Claudio Jeker <jeker@n-r-g.com> wrote:
Have you looked at the log output of your pop3 server?
Have you considered to enable additional debug output by compiling with
-DDEBUG and setting LOGLEVEL to something like 15?
Have you checked that you can execute the dirmaker script on the
comandline "su vmail -c /var/qmail/bin/dirmaker /varqmail/maildirs/foo/"?
Have you rechecked that /var/qmail/control/dirmaker contains the correct
path to your script?
> PS. Which one is true:
>     ~/control/locals.cdb or ~control/locals
>     ~/control/rcpthosts.cdb or ~control/rcpthosts
>
If the cdb file exists it is used instead of the plain file.
There is a Makefile in ~/control to generate the cdb files.
--
:wq Claudio

<Prev in Thread] Current Thread [Next in Thread>