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

Reply via email to