On Tue, May 14, 2002 at 01:56:16PM +0200, cboecker wrote:
> I want to set up qmail-cluster with qmail-ldap-control patch.
> everything ist working fine but when I sent a message to local user
> I get "Temporary_error_in_qmail-qmqpc"!!
> 
> on every clustermember ldapcluster is compiled and turned on,
> hostname in MailHost is exactly equal to me,
> every hostname of the cluster and so of MailHost resolves to an IP via
> DNS,
> on every member of the cluster qmail-qmqpd is running and accepting
> mails from every member of the cluster
> 
> I use openldap2 with accesscontrollists, /var/qmail/control/ldaplogin
> and ldappassword is ok, control could be read but if qmail tries to
> deliver local message I got a query in ldap with no BIND-DN!!!!!
> 
> query is as followed:
> 
> May 14 13:51:42 qmail2 slapd[487]: conn=52 op=0 BIND dn="" method=128 !!
> May 14 13:51:42 qmail2 slapd[487]: conn=52 op=0 RESULT tag=97 err=0 text=
> May 14 13:51:42 qmail2 slapd[492]: conn=52 op=1 SRCH 
> base="ou=config,dc=klambt,dc=de" scope=2 
> filter="(&(cn=qmail2.intern.fuf.de)(objectClass=qmailControl))"
> May 14 13:51:42 qmail2 slapd[492]: conn=52 op=1 SEARCH RESULT tag=101 
> err=0 text=
> May 14 13:51:42 qmail2 slapd[489]: conn=52 op=2 SRCH 
> base="cn=default,ou=config,dc=klambt,dc=de" scope=2 
> filter="(&(cn=default)(objectClass=qmailControl))"
> May 14 13:51:42 qmail2 slapd[489]: conn=52 op=2 RESULT tag=101 err=32 text=
> May 14 13:51:42 qmail2 slapd[366]: conn=-1 fd=16 closed
> 
> so I think that qmail-qmqpc ignores ldaplogin????????
> 
Yes qmail-qmqpc ignores ldaplogin, becasue it does not open a ldap
connection. This is done in qmail-lspawn.
Also the error "Temporary_error_in_qmail-qmqpc" is not correct I guess the
full error is:
Temporary error in qmail-qmqpc (as mail forwarder) (LDAP-ERR #239)

With this information my advice:
- Which version of the patch are you using
- Have you enabled DQLDAP_CLUSTER in the Makefile
- done a "make clean && make setup check" or similar
- Create a debug version (option DEBUG) and set loglevel to 8 or more.
- if the error still exists check the logfile for something like:
  Forwarding to bla@bla at host some.host from other@bla failed (soft error XX)
  where XX is the exit code of qmqpc. Now have a look at qmail-qmqpc.c and
  it's exit codes.
- If you still have problems send the info to the list (especially the
  qmail-qmqpc exit code.


-- 
:wq Claudio
  • qmqpc cboecker
    • Claudio Jeker

Reply via email to