Qmail-LDAP
[Top] [All Lists]

Re: Integrating qmail-ldap with courier-imap: completly lost

To: qmail-ldap@qmail-ldap.org
Subject: Re: Integrating qmail-ldap with courier-imap: completly lost
From: "sato x" <gladiol4@gmail.com>
Date: Fri, 9 Mar 2007 15:33:33 +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=H/UKqaerMrDsPZMIAsx1c7DmKrBCPUFLp/cD8iIN55YkDhu9MPP0pCQ4r7QJ0o/KsbfIyDPZnKEyeL3FywCkdSNzCYMKEZuMLO/+m6qDOtfwlvgEtAkKhYetiAmjBRLRez8eWWBU98aavlijG+86yvL+QvZtVb3/AKK+j+gcbyk=
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=Zl0Yn4RF6N1fUz22rRa2JZ+hjz3AWE/FzUNShjytQZHHSiMdtkBvV5R0FA/4Mq8+69j9zUnYVhtUmF37gfTaZXSHsN49QSaiyvd0RVk4MG/NoCspNdh4Al2+e8C2D5p1hVh8PCSpTxf+Kg+oZDfiSRC6QaxEHSRLedVCvLDyZmo=
In-reply-to: <87y7mj5v94.fsf@pumba.bayour.com>
Mailing-list: contact qmail-ldap-help@qmail-ldap.org; run by ezmlm
References: <D34740463B10B44F8B42A1D07DB2BA5C68B48A@BLR-CST-MSG.wipro.com> <45DE7474.7070008@dc.uba.ar> <87y7mj5v94.fsf@pumba.bayour.com>
Guys,

I already have qmail running with LDAP and they work just great. I intended to get them working together with webmail (of course with courier-imap either). Now I've just installed courier-authlib-0.59.1 and courier-imap-4.1.2.  Below is the configure option for courier-authlib
  ./configure --prefix=/usr/local --exec-prefix=/usr/local --without-authmysql \
--disable-root-check --with-ssl --without-authvchkpw --without-authpgsql --without-authpwd --without-authshadow --without-authuserdb --without-authparm --with-redhat

And this for courier-imap-4.1.2
 ./configure --prefix=/usr/local --exec-prefix=/usr/local \
--enable-unicode=iso-8859-1,utf-8 --without-authmysql --disable-root-check \
--with-ssl --with-redhat

As the tutorial in http://www.qmail-ldap.org/wiki/Full_Installation_Guide_-_IMAP_Server I make a run script (/usr/lib/courier-imap/runscript/run)

#!/bin/sh

IPADDR="0.0.0.0"
exec_prefix=/usr/local
. /etc/imapd.config

exec tcpserver -c 100 -l 0 -v -R $IPADDR imap \
${exec_prefix}/sbin/imaplogin \
/var/qmail/bin/auth_imap \
${exec_prefix}/bin/imapd Maildir 2>&1


When I telnet localhost by 143 I get this

Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
* BYE imaplogin expected exactly two arguments.
Connection closed by foreign host.

I know it has something to do with Courier-imap-4.1.2 but I don't know how to handle this. Or should I use courier-imap-3.*?  Thank you in advance for your help.

Best regards,

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