On Tue, Jul 12, 2005 at 12:22:32PM +0530, Sameer N Ingole wrote:
> Sameer N Ingole wrote:
> 
> >Hi,
> >
> >I was trying to run qmail-ldap. Following are the steps I performed.
> 
> Correction there,
> I was trying to run *qmail-imapd*. Following are the steps I performed.
> 

Uhm. There is no such thing as qmail-imapd. It is also not possible to run
auth_imap as first tool -- it needs some sort of imaplogin process.

Currently most people run courier-imap 3.x (not the 4.x version) and the
run script is for this setup.


> >
> >1. Edited qmail-imapd/run script to use auth_imap
> >--< edited exec statement >---
> >exec \
> >       tcpserver -v -HRl $ME -x$QMAIL/control/qmail-imapd.cdb \
> >           ${CONCURRENCY:+"-c$CONCURRENCY"} ${BACKLOG:+"-b$BACKLOG"} 0 
> >imap \
> >       $QMAIL/bin/auth_imap ${PBSTOOL:+"-d$PBSTOOL"} \
> >       $QMAIL/bin/qmail-imapd "$ALIASEMPTY"
> >
> >--< original exec statement >---
> >#exec \
> >#        tcpserver -v -HRl $ME -x$QMAIL/control/qmail-imapd.cdb \
> >#            ${CONCURRENCY:+"-c$CONCURRENCY"} ${BACKLOG:+"-b$BACKLOG"} 
> >0 imap \
> >#        $COURIER/sbin/imaplogin \
> >#        $QMAIL/bin/auth_imap ${PBSTOOL:+"-d$PBSTOOL"} \
> >#        $COURIER/bin/imapd "$ALIASEMPTY"
> >
> >2. Created qmail-imapd.cdb in controls
> >
> >3. ran qmail-smtpd with LOGLEVEL=255
> >
> >Here I got this error
> >--< error >--
> >init: control/dirmaker: /var/qmail/bin/dirmaker
> >warning: auth_error: authorization failed (file descriptor not open)
> >tcpserver: end 15536 status 28416
> >--< /error >--
> >
> >I am already running pop3 and pop3 ssl. Which means
> >there is no prob with ldap-bind. What does the warning
> >"auth_error: authorization failed (file descriptor not open)" indicate?
> 
> Correction.
> What does the *error* indicate?
> POP3 can authorize with same information.
> 

auth_imap reads like auth_pop the authorization info from fd 3 and this
one is not open because you start auth_imap directly from tcpserver.

-- 
:wq Claudio

Reply via email to