Dear Sato,
Sameer N Ingole wrote:
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
Here you continue with authentication etc.
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 ====
--
Best Regards,
Sameer N. Ingole
http://weblogic.noroot.org/gallery2/
--
Better to light one candle than to curse the darkness.