On Sat, 6 Nov 2004, Aiko Barz wrote:
> On Tue, Nov 02, 2004 at 10:15:27AM -0800, Andreas Stollar wrote:
> > On topic though, I replaced the entire Courier-imap authentication part
> > with the auth_imap binary that comes with qmail-ldap. Using this, I have
> > no problems with Courier-3.X.
>
> I tried to get courier-imap-3.0.8.20041103 working within qmail, but I
> failed. That's what I discovered:
>
> - You need courier-authlib to compile courier-imap
> - imaplogin takes exactly 2 arguments or _fails_.
>
> -> "imaplogin auth_imap imapd Maildir" has 3 arguments.
> -> imapd.rc/imapd-ssl.rc look like this:
> "/xyz/imaplogin /xyz/imapd ${MAILDIRPATH}"
>
> Seems like there is no space for auth_ldap anymore...
>
Please don't suggest that, I still use it, and it works great. I was never
able to get the courier-authdaemon stuff working, so I use auth_ldap. I
need auth_ldap, please don't make it go away:
[EMAIL PROTECTED]:~$ telnet mail 143
Trying 216.254.0.193...
Connected to mail.speakeasy.net.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION]
Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc. See
COPYING for distribution information.
a001 login jarboy XXXXXX
a001 OK LOGIN Ok.
a001 logout
* BYE Courier-IMAP server shutting down
a001 OK LOGOUT completed
Connection closed by foreign host.
I don't know about the number of arguments, but this is how an IMAP
session works, and it does work for me, for about 4 million auths a day.
Andreas