Aiko Barz wrote:
On Wed, Jul 06, 2005 at 01:54:40PM +0200, Torbjörn Gripp wrote:
Hello List,
after reading all the entries about auth_imap, I'm more confused then before... My qmail-ldap installation works fine. I can send mail, write mail and also smtp_auth is working very well.
But if i try to authenticate myself at the imap-server it fails.
The same user is working with auth_smtp.
I compiled courier-imap 3.0.8 installed it under /usr/local and use the script in ../qmail/boot

courier has a new authentication API. It's not possible to call an
external program like auth_imap anymore.

There are many informations in the archive about that subject. I use
the authdaemond right now. There is some cluster(Proxy) support which
uses the same attributes like qmail-ldap(mailHost).

Bye,
    Aiko


------------------------------------------------------------------------

#!/bin/sh

QMAIL="/var/qmail"
INSTDIR="/opt"
SOFTLIMIT_OPTS="-m 134217728"
TCPSERVER_OPTS="-v -R -H -P -d -s"
TCPSERVER_RULESCDB="$QMAIL/control/qmail-imapd.cdb"
TCPSERVER_CONCURRENCY=250
TCPSERVER_LOCALHOST=$(head -n 1 $QMAIL/control/me)
TCPSERVER_HOST=$($INSTDIR/bin/dnsip $TCPSERVER_LOCALHOST)
TCPSERVER_PORT=993
TCPSERVER_TIMEOUT=3600
TLSCERT="$QMAIL/control/cert.pem"
IMAP="$INSTDIR"
IMAPD_CONF="$IMAP/etc/courier-imap/imapd"
ALIASEMPTY=".maildir"

. $IMAPD_CONF
exec /command/softlimit $SOFTLIMIT_OPTS \
        $INSTDIR/bin/tcpserver \
        $TCPSERVER_OPTS -x$TCPSERVER_RULESCDB \
            -c$TCPSERVER_CONCURRENCY -t$TCPSERVER_TIMEOUT\
            -n$TLSCERT -l$TCPSERVER_LOCALHOST \
        $TCPSERVER_HOST $TCPSERVER_PORT \
        $IMAP/sbin/imaplogin \
        $IMAP/bin/imapd $ALIASEMPTY 2>&1


------------------------------------------------------------------------

#!/bin/sh

INSTDIR="/opt/libexec/courier-authlib"
SOFTLIMIT_OPTS="-m 16421772"

exec /command/softlimit $SOFTLIMIT_OPTS \
    $INSTDIR/authdaemond 2>&1
Hi,
thanks for the reply.
But I think, that this is for courier in version 4 and not for 3.0.8?

greetings torbjoern

--
[ t o r b j o e r n   g r i p p ]
        
        mailto:[EMAIL PROTECTED]

Reply via email to