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: Sameer N Ingole <strike@proscrutiny.com>
Date: Thu, 01 Mar 2007 16:13:39 +0530
Delivered-to: sp-com-lists@consult.net
Delivered-to: qmail-ldap-list@securepoint.com
Delivered-to: mailing list qmail-ldap@qmail-ldap.org
In-reply-to: <f5ba7b270703010209o746b9727gfa37664d3a2ba171@mail.gmail.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> <f5ba7b270702281904k3adca764u766d815fde19c850@mail.gmail.com> <45E664E6.9050408@proscrutiny.com> <f5ba7b270702282301o6f275bb5rcc45c125519557c9@mail.gmail.com> <45E68539.8060903@proscrutiny.com> <f5ba7b270703010209o746b9727gfa37664d3a2ba171@mail.gmail.com>
User-agent: Thunderbird 1.5.0.5 (X11/20060719)
sato x wrote:
Hi Sameer. Thank you for your reply. Latest information, I've just reinstalled qmail-ldap according to the tutorial from http://www.qmail-ldap.org/wiki/Full_Installation_Guide_-_Basic_Qmail_Installation, yet I didn't include HDIRMAKE=-DAUTOHOMEDIRMAKE. Because you said that I will need it, then I stoped qmail, commented HDIRMAKE out

No. You should not comment HDIRMAKE=-DAUTOHOMEDIRMAKE because you need it.
Please re read what I said. You need to uncomment it an recompile after stopping all qmail-ldap daemons.
After recompile, start all qmail-ldap daemons except qmail-smtpd.

Then follow this

quoting from this location http://www.proscrutiny.com/howtos/errata-qmail-ldap.html#004

==== start quote ====

Something is wrong with qmail-smtpd. Cannot receive/send mail.

If for some reason you cannot get any mail through, you need to first zero in on the problem that is prohibiting you from sending/receiving mail. For this it is you would first look at the logs of qmail-smtpd which normally are on location /var/qmail/log/qmail-smtpd/current. If you find that the information in logs is not enough to debug the problem you would want to run qmail-smtpd with increased loglevel to have more verbose messages in logs. For this you will have to increase the LOGLEVEL which can be set in environment (tcpserver?) for qmail-smtpd. To do this in terminal you will have to stop qmail-smtpd. If you are running it using svc, you would issue following command.

# svc -d /service/qmail-smtpd

Above we assume that you have /var/qmail/boot/qmail-smtpd/run symlinked in /service with name qmail-smtpd and that it was started

Then you would start qmail-smtpd with increased LOGLEVEL in a terminal (in screen maybe). You can do it as follows.

# cd /var/qmail/boot/qmail-smtpd
# env LOGLEVEL=255 ./run

Then you would try to connect using telnet on port 25 as shown below.

$ telnet yourdomain.tld 25
Trying 10.11.111.22...
Connected to yourdomain.tld (10.11.111.22).
Escape character is '^]'.
220 yourdomain.tld ESMTP
ehlo
250-yourdomain.tld
250-PIPELINING
250-DATAZ
250-STARTTLS
250-AUTH LOGIN PLAIN
250 8BITMIME
quit
221 yorudomain.tld Goodbye.
Connection closed by foreign host.

During this connection you would see all the messages scrolling up in terminal/screen where you runnning qmail-smtpd/run. You can see there what exactly is wrong with your setup.

==== end quote ====

[root@mail bin]# ./qmail-showctl
Looks ok

--
Best Regards,

Sameer N. Ingole
http://weblogic.noroot.org/gallery2/
--
Better to light one candle than to curse the darkness.


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