To make it work, i first checked that qmail-ldap was
correctly installed ( Check POP, SMTP with LDAP). After that i install
courier-imap and only changed
the line  that search the LIBATUHMODULES in imapd.rc of courier
for LIBAUTHMODULES="INSTALLPATH/qmailldap/bin/auth_imap"  
and it worked.
I used the same qmail-ldap version with Courier-IMAP 1.3.8.1 and
LDAP 2.0.11.
I hope this help you.
MM

pop corn wrote:
> 
> I still cannot log into Courier-IMAP 1.3.8.2 using auth_imap from
> qmail-ldap-1.03-20010501 and OpenLDAP 1.2.11, although auth_pop does work.
> 
> I would appreciate it if someone would review my run file for courier-imap.
> FYI, I have included my other run files as well.
> 
> ::::::::::::::
> courier-imap/run
> ::::::::::::::
> #!/bin/sh
> 
> VMAILUID=`/usr/bin/id -u vmail`
> VMAILGID=`/usr/bin/id -g vmail`
> 
> prefix=/usr/lib/courier-imap
> 
> . ${prefix}/etc/imapd
> . ${prefix}/etc/imapd-ssl
> 
> exec /usr/local/bin/softlimit -m 2000000 \
> /usr/local/bin/tcpserver -v -H -P -R -l 0 -u "$VMAILUID" -g "$VMAILGID" \
> -c 100 0 143 \
>   ${prefix}/sbin/imaplogin \
>   ${prefix}/libexec/authlib/auth_imap \
>   ${prefix}/bin/imapd Maildir 2>&1
> 
> ::::::::::::::
> qmail-pop3d/run
> ::::::::::::::
> #!/bin/sh
> exec /usr/local/bin/softlimit -m 2000000 \
> /usr/local/bin/tcpserver -v -H -P -R -l 0 -u0 -g0 0 110 \
> /home/qmail/bin/qmail-popup fqdn \
>   /home/qmail/bin/auth_pop /home/qmail/bin/qmail-pop3d Maildir 2>&1
> 
> ::::::::::::::
> qmail-send/run
> ::::::::::::::
> #!/bin/sh
> # Clean up environment for qmail-local
> # Using qmail-local to deliver user's email to $HOME/Maildir/ by default
> # Using stdout for logging
> exec env - PATH="/home/qmail/bin:$PATH" qmail-start ./Maildir/
> 
> ::::::::::::::
> qmail-smtpd/run
> ::::::::::::::
> #!/bin/sh
> 
> QMAILDUID=`/usr/bin/id -u qmaild`
> NOFILESGID=`/usr/bin/id -g qmaild`
> MAXSMTPD=`cat /home/qmail/control/concurrencyincoming`
> exec /usr/local/bin/softlimit -m 2000000 \
> /usr/local/bin/tcpserver -v -H -P -R -l 0 -u "$QMAILDUID" -g "$NOFILESGID" \
> -x/etc/tcp.smtp.cdb -c "$MAXSMTPD" 0 smtp \
>    /usr/local/bin/fixcrio /home/qmail/bin/qmail-smtpd 2>&1
> 
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com

Reply via email to