>
>> Also, if I try "authtest gary", I get back the following:
>>
>> debian:/etc/courier# authtest gary
>> Authentication succeeded.
>>
>> Authenticated: gary  (uid 11184, gid 2110) Home Directory:
>> /var/qmail/maildirs/partitiondevelopment/gary/
>> Maildir: (none)
>> Quota: (none)
>> Encrypted Password: {SHA}correct_pass
>> Cleartext Password: (none)
>> Options: (none)
>>
>> I see that the Maildir value is empty, and I was thinking that this
>> could potentially be the reason for the immediately closed connection?
>
>This is not a problem, provided that $HOME/Maildir exists, since the
>default maildir location is $HOME/Maildir.

$HOME/Maildir exists so I guess that's one possibility out the window.  Any
thoughts on what it could be, or perhaps even further steps that I could
take to troubleshoot?  By the way, I'm launching courier-imap with a
daemontool run script.  I changed it slightly so that authdaemon would be
used as I think the script was written for an older version of courier-imap
- maybe that's part of my issue?  Script below:

#!/bin/sh
exec 2>&1
#
# IMAP service: this script is for courier-imap
#
QMAIL="/var/qmail"
ME="`head -1 $QMAIL/control/me`"
if [ -e $QMAIL/control/defaultdelivery ]; then
        ALIASEMPTY=`head -1 $QMAIL/control/defaultdelivery 2> /dev/null`
else
        ALIASEMPTY=`head -1 $QMAIL/control/aliasempty 2> /dev/null`
fi
ALIASEMPTY=${ALIASEMPTY:="./Maildir/"}

PATH="$QMAIL/bin:$PATH"

# source the environemt in ./env
eval `env - PATH=$PATH envdir ./env awk '\
        BEGIN { for (i in ENVIRON) \
                if (i != "PATH") { \
                        printf "export %s=\"%s\"\\n", i, ENVIRON[i] \
                } \
        }'`
# enforce some sane defaults
COURIER=${COURIER:="/usr/lib/courier"}


exec \
        tcpserver -v -HRl $ME -x$QMAIL/control/qmail-imapd.cdb \
            ${CONCURRENCY:+"-c$CONCURRENCY"} ${BACKLOG:+"-b$BACKLOG"} 0 imap
\
        $COURIER/courier/imaplogin \
        $COURIER/imapd "$ALIASEMPTY"


Thanks again, for any insight that you may have...



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to